<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/package, branch v3.9</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/scripts/package?h=v3.9</id>
<link rel='self' href='https://git.amat.us/linux/atom/scripts/package?h=v3.9'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-02-22T09:57:32Z</updated>
<entry>
<title>kbuild: clear KBUILD_SRC when calling 'make' in RPM spec</title>
<updated>2013-02-22T09:57:32Z</updated>
<author>
<name>David R. Bild</name>
<email>drbild@umich.edu</email>
</author>
<published>2013-01-12T15:19:19Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e0367a61567de103b1946bf87115e15253194195'/>
<id>urn:sha1:e0367a61567de103b1946bf87115e15253194195</id>
<content type='text'>
'make rpm-pkg' and 'make binrpm-pkg' fail when the kernel source is
read-only.  Specifically, when the RPM spec generated by
scripts/package/mkspec is run, KBUILD_SRC happens to be set to the
source location and thus the invocation of 'make headers_install'
fails when an internal call to 'filechk' tries to write a file into
the source tree.

The fix is to clear KBUILD_SRC for the 'make headers_install'
invocation in the spec file, as is already done for the 'make
modules_install' invocation.

Signed-off-by: David R. Bild &lt;drbild@umich.edu&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild</title>
<updated>2012-10-12T01:27:27Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2012-10-12T01:27:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ae3e4628287de0ab90545c14076657aeee38506b'/>
<id>urn:sha1:ae3e4628287de0ab90545c14076657aeee38506b</id>
<content type='text'>
Pull kbuild changes from Michal Marek:
 "The main part of kbuild for v3.7 contains:
   - Fix for scripts/Makefile.modpost to not choke on a '.ko' substring
     in the build directory path
   - Two warning fixes (modpost and main Makefile)
   - __compiletime_error works also with gcc 4.3
   - make tar{gz,bz2,xz}-pkg uses default compression settings instead
     of saving as many bytes as possible (this should actually be in the
     misc branch, I don't know why I applied it here)."

* 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
  compiler-gcc4.h: correct verion check for __compiletime_error
  modpost: Permit .GCC.command.line sections
  Kbuild: use normal compression settings for tar*-pkg
  scripts/Makefile.modpost: error in finding modules from .mod files.
  kbuild: Remove useless warning while appending KCFLAGS
</content>
</entry>
<entry>
<title>Kbuild: use normal compression settings for tar*-pkg</title>
<updated>2012-09-27T14:56:59Z</updated>
<author>
<name>Andi Kleen</name>
<email>ak@linux.intel.com</email>
</author>
<published>2012-09-08T19:47:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b589c8ae095b3d4f4181a6aefb26df5e762d6499'/>
<id>urn:sha1:b589c8ae095b3d4f4181a6aefb26df5e762d6499</id>
<content type='text'>
For large kernel configurations (like a distribution kernel)
targz-pkg takes a quite long time to just do the compression.
I clocked it at 15+mins for a SUSE kernel like config on a fast
system.  And tarxz and bzip2 are even slower.

The main reason is that the script that is doing the taring sets
the highest compression level (-9).  When I change it to just
use the defaults the gzip time for the same kernel goes down
to ~3 mins. I haven't tested xz and bzip, but I expect those
to be much faster too.

I'm not willing to wait that long for a small compression
gain. So just change the script to use the defaults.

Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Reviewed-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kbuild: Do not package /boot and /lib in make tar-pkg</title>
<updated>2012-09-27T14:26:19Z</updated>
<author>
<name>Michal Marek</name>
<email>mmarek@suse.cz</email>
</author>
<published>2012-09-25T14:03:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fe04ddf7c2910362f3817c8156e41cbd6c0ee35d'/>
<id>urn:sha1:fe04ddf7c2910362f3817c8156e41cbd6c0ee35d</id>
<content type='text'>
There were reports of users destroying their Fedora installs by a kernel
tarball that replaces the /lib -&gt; /usr/lib symlink. Let's remove the
toplevel directories from the tarball to prevent this from happening.

Reported-by: Andi Kleen &lt;andi@firstfloor.org&gt;
Suggested-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Cc: &lt;stable@kernel.org&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>deb-pkg: Add all Makefiles to header package</title>
<updated>2012-06-28T08:48:08Z</updated>
<author>
<name>maximilian attems</name>
<email>max@stro.at</email>
</author>
<published>2012-06-08T09:36:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5f011d715984543f47ca5bf1967857a9f36f7264'/>
<id>urn:sha1:5f011d715984543f47ca5bf1967857a9f36f7264</id>
<content type='text'>
I discovered that make deb-pkg does not add Makefile_32.cpu from
arch/x86 directory when doing i386 kernel build and package build.
Fix it by greedily adding all Makefiles.

Reported-by: Witold Baryluk &lt;baryluk@smp.if.uj.edu.pl&gt;
Signed-off-by: maximilian attems &lt;max@stro.at&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>deb-pkg: Install linux-firmware-image in versioned dir</title>
<updated>2012-06-28T08:46:25Z</updated>
<author>
<name>maximilian attems</name>
<email>max@stro.at</email>
</author>
<published>2012-06-07T22:21:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6607ddadf93d19c7f64139f1475c342152f39fe5'/>
<id>urn:sha1:6607ddadf93d19c7f64139f1475c342152f39fe5</id>
<content type='text'>
That way they don't file conflict with official firmware package:
 trying to overwrite '/lib/firmware/qlogic/1040.bin', which is
               also in package firmware-qlogic 0.35
..

Reported-by: Michael Prokop &lt;mika@debian.org&gt;
Signed-off-by: maximilian attems &lt;max@stro.at&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>builddeb: include autogenerated header files</title>
<updated>2012-05-26T20:54:50Z</updated>
<author>
<name>Lekensteyn</name>
<email>lekensteyn@gmail.com</email>
</author>
<published>2012-05-18T08:22:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=19a4b988955bc1d838a55c89d3d927f3d788a7dd'/>
<id>urn:sha1:19a4b988955bc1d838a55c89d3d927f3d788a7dd</id>
<content type='text'>
After 303395ac3bf3e2cb488435537d416bc840438fcb, some headers are
autogenerated. Include these autogenerated headers (mainly
unistd_32_ia32.h) in out-of-tree builds to allow DKMS modules to be
built succesfully.

Signed-off-by: Peter Lekensteyn &lt;lekensteyn@gmail.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kbuild: Fix out-of-tree build for 'make deb-pkg'</title>
<updated>2012-02-24T23:01:28Z</updated>
<author>
<name>Joerg Roedel</name>
<email>joerg.roedel@amd.com</email>
</author>
<published>2012-02-16T18:56:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=dddcbb7ce3a9947710137d06d0157a2355be93dc'/>
<id>urn:sha1:dddcbb7ce3a9947710137d06d0157a2355be93dc</id>
<content type='text'>
The out-of-tree build is broken in 'make deb-pkg'. The
header checks and the header install works on the source and
not on the object tree.
While fixing this also replace the direct 'make' invocations
with the $MAKE variable to be consistent within the script.

Cc: maximilian attems &lt;max@stro.at&gt;
Cc: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Cc: debian-kernel@lists.debian.org
Cc: linux-kbuild@vger.kernel.org
Signed-off-by: Joerg Roedel &lt;joerg.roedel@amd.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kbuild: Only build linux-image package for UML</title>
<updated>2012-02-24T22:55:23Z</updated>
<author>
<name>Joerg Roedel</name>
<email>joerg.roedel@amd.com</email>
</author>
<published>2012-02-15T16:38:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d7d357bc279453d402e96527bdcc5b40299f1cf0'/>
<id>urn:sha1:d7d357bc279453d402e96527bdcc5b40299f1cf0</id>
<content type='text'>
For user-mode Linux the other packages are not required. So
only build the package with the linux-image in it.

Cc: maximilian attems &lt;max@stro.at&gt;
Cc: debian-kernel@lists.debian.org
Cc: linux-kbuild@vger.kernel.org
Signed-off-by: Joerg Roedel &lt;joerg.roedel@amd.com&gt;
Tested-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kbuild: Fix link to headers in 'make deb-pkg'</title>
<updated>2012-02-24T22:54:29Z</updated>
<author>
<name>Joerg Roedel</name>
<email>joerg.roedel@amd.com</email>
</author>
<published>2012-02-15T16:38:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a47b6c61f58ead0396b837c58a91d0681b775b40'/>
<id>urn:sha1:a47b6c61f58ead0396b837c58a91d0681b775b40</id>
<content type='text'>
The Link to the kernel header files in the debian packages
point to the original build directory. This is a bad choice
if the packages were installed on a different machine. Fix
this in by manually re-creating the link in the builddeb
script.

Cc: maximilian attems &lt;max@stro.at&gt;
Cc: debian-kernel@lists.debian.org
Cc: linux-kbuild@vger.kernel.org
Signed-off-by: Joerg Roedel &lt;joerg.roedel@amd.com&gt;
Reviewed-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
</feed>
