<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/scripts/package/builddeb, branch v3.4.93</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.4.93</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.4.93'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2014-03-31T04:40:30Z</updated>
<entry>
<title>deb-pkg: Fix cross-building linux-headers package</title>
<updated>2014-03-31T04:40:30Z</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2013-12-05T14:37:35Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=c502e92f7cd92bd80ac0e754842d68fe3c2601f6'/>
<id>urn:sha1:c502e92f7cd92bd80ac0e754842d68fe3c2601f6</id>
<content type='text'>
commit f8ce239dfc7ba9add41d9ecdc5e7810738f839fa upstream.

builddeb generates a control file that says the linux-headers package
can only be built for the build system primary architecture.  This
breaks cross-building configurations.  We should use $debarch for this
instead.

Since $debarch is not yet set when generating the control file, set
Architecture: any and use control file variables to fill in the
description.

Fixes: cd8d60a20a45 ('kbuild: create linux-headers package in deb-pkg')
Reported-and-tested-by: "Niew, Sh." &lt;shniew@gmail.com&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&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.stealer.net/cgit.cgi/user/sven/linux.git/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.stealer.net/cgit.cgi/user/sven/linux.git/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.stealer.net/cgit.cgi/user/sven/linux.git/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>
<entry>
<title>builddeb: Don't create files in /tmp with predictable names</title>
<updated>2012-02-18T21:33:26Z</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2012-02-15T14:17:29Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6c635224602d760c1208ada337562f40d8ae93a5'/>
<id>urn:sha1:6c635224602d760c1208ada337562f40d8ae93a5</id>
<content type='text'>
The current use of /tmp for file lists is insecure.  Put them under
$objtree/debian instead.

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Cc: stable@vger.kernel.org  # 2.6.39+
Acked-by: maximilian attems &lt;max@stro.at&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>deb-pkg: Fix building outside of source tree (O=...).</title>
<updated>2011-02-04T13:53:45Z</updated>
<author>
<name>Nicolas de Pesloüan</name>
<email>nicolas.2p.debian@free.fr</email>
</author>
<published>2011-01-24T13:41:41Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=9b4ce7bce5f30712fd926ab4599a803314a07719'/>
<id>urn:sha1:9b4ce7bce5f30712fd926ab4599a803314a07719</id>
<content type='text'>
When building linux-headers package using deb-pkg, builddeb erroneously assume
current directory is the source tree. This is not true if building in another
directory, using make O=... deb-pkg.

This patch fix this problem.

Signed-off-by: Nicolas de Pesloüan &lt;nicolas.2p.debian@free.fr&gt;
Tested-by: Nikolai Kondrashov &lt;spbnick@gmail.com&gt;
Acked-by: maximilian attems &lt;max@stro.at&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>deb-pkg: Use $SRCARCH for include path</title>
<updated>2011-01-14T23:42:44Z</updated>
<author>
<name>maximilian attems</name>
<email>max@stro.at</email>
</author>
<published>2011-01-13T14:34:20Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=1b9a50d931a04ba007cc1a926fead3ff4b5afa9b'/>
<id>urn:sha1:1b9a50d931a04ba007cc1a926fead3ff4b5afa9b</id>
<content type='text'>
Fix x86 centric path to allow building kernel-header packages for
other architecture.

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: s/hdr/kernel_headers_/ &amp;&amp; s/header/libc_headers_/</title>
<updated>2011-01-07T21:45:25Z</updated>
<author>
<name>maximilian attems</name>
<email>max@stro.at</email>
</author>
<published>2011-01-07T15:13:06Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ee81b786a07f1d6062d6e14b6152f1f6cc4bc63b'/>
<id>urn:sha1:ee81b786a07f1d6062d6e14b6152f1f6cc4bc63b</id>
<content type='text'>
hdrpackage and headerpackage are not intuitive names,
use proposed alternatives by Michel Marek.

While touching them move the mkdir of the kernel_headers dir up
and fix it for paranoid umask.

CC: Theodore Ts'o &lt;tytso@mit.edu&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: Make deb-pkg generate a seperate linux-libc-dev deb</title>
<updated>2011-01-07T15:16:48Z</updated>
<author>
<name>maximilian attems</name>
<email>max@stro.at</email>
</author>
<published>2011-01-01T15:44:13Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e68077856e599cd33d8cd5db15762df60c29d361'/>
<id>urn:sha1:e68077856e599cd33d8cd5db15762df60c29d361</id>
<content type='text'>
userland dev likes latest incarnation of that userland API.
make it easy to also build it on make deb-pkg invocation:

dpkg-deb: building package `linux-libc-dev' in `../linux-libc-dev_2.6.32-rc6-4_amd64.deb'.

Last year patch rebased on top of latest deb-pkg changes.

Signed-off-by: maximilian attems &lt;max@stro.at&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kbuild: create linux-headers package in deb-pkg</title>
<updated>2010-12-29T12:54:49Z</updated>
<author>
<name>Theodore Ts'o</name>
<email>tytso@mit.edu</email>
</author>
<published>2010-12-24T14:42:10Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=cd8d60a20a4516016c117ac0f1ac7b06ff606f7e'/>
<id>urn:sha1:cd8d60a20a4516016c117ac0f1ac7b06ff606f7e</id>
<content type='text'>
Create a linux-headers-$KVER.deb package which can be used to build
external modules without having the source tree around.

Signed-off-by: "Theodore Ts'o" &lt;tytso@mit.edu&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
</feed>
