<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/scripts/package/builddeb, branch v3.2.67</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.2.67</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.2.67'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2014-04-09T01:20:45Z</updated>
<entry>
<title>deb-pkg: Fix cross-building linux-headers package</title>
<updated>2014-04-09T01:20:45Z</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=9be2956736261b04b270bcd9746b80c872ef4934'/>
<id>urn:sha1:9be2956736261b04b270bcd9746b80c872ef4934</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;
</content>
</entry>
<entry>
<title>deb-pkg: Fix building for MIPS big-endian or ARM OABI</title>
<updated>2014-04-09T01:20:45Z</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2013-12-05T14:39:11Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=448a779f01583c6fda27d4229641615fdedfb4c5'/>
<id>urn:sha1:448a779f01583c6fda27d4229641615fdedfb4c5</id>
<content type='text'>
commit c5e318f67eebbad491615a752c51dbfde7dc3d78 upstream.

These commands will mysteriously fail:

$ make ARCH=arm versatile_defconfig
[...]
$ make ARCH=arm deb-pkg
[...]
make[1]: *** [deb-pkg] Error 1
make: *** [deb-pkg] Error 2

The Debian architecture selection for these kernel architectures does
'grep FOO=y $KCONFIG_CONFIG &amp;&amp; echo bar', and after 'set -e' this
aborts the script if grep does not find the given config symbol.

Fixes: 10f26fa64200 ('build, deb-pkg: select userland architecture based on UTS_MACHINE')
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>deb-pkg: use KCONFIG_CONFIG instead of .config file directly</title>
<updated>2014-04-09T01:20:45Z</updated>
<author>
<name>Anisse Astier</name>
<email>anisse@astier.eu</email>
</author>
<published>2013-07-03T14:02:03Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=c0319b50b55b63163cc2cf73eb31861ea754c6c3'/>
<id>urn:sha1:c0319b50b55b63163cc2cf73eb31861ea754c6c3</id>
<content type='text'>
commit d20917670ee1fd4b090555e551faea04b014ca97 upstream.

Signed-off-by: Anisse Astier &lt;anisse@astier.eu&gt;
Reviewed-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>builddeb: Don't create files in /tmp with predictable names</title>
<updated>2012-03-01T00:31:20Z</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=c3d65b135f856651b2fa8606a7799a9f33d8f113'/>
<id>urn:sha1:c3d65b135f856651b2fa8606a7799a9f33d8f113</id>
<content type='text'>
commit 6c635224602d760c1208ada337562f40d8ae93a5 upstream.

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;
Acked-by: maximilian attems &lt;max@stro.at&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>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>
<entry>
<title>kbuild, deb-pkg: support overriding userland architecture</title>
<updated>2010-12-20T15:52:31Z</updated>
<author>
<name>Asbjoern Sloth Toennesen</name>
<email>asbjorn@asbjorn.biz</email>
</author>
<published>2010-12-12T17:39:40Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=55f88eccf9c288eed2f93f9ca7d7fe4dd2da762e'/>
<id>urn:sha1:55f88eccf9c288eed2f93f9ca7d7fe4dd2da762e</id>
<content type='text'>
Usefull if building for sparc64 userland, because the
sparc and sparc64 userlands use the same 64-bit kernel,
making it impossible to always select the correct userland
architecture for the resulting debian package.

Might also be usefull, if you want a i386 userland with a amd64 kernel.

Example usage:
	make KBUILD_DEBARCH=i386 deb-pkg

LKML-reference: &lt;alpine.DEB.2.02.1011051437500.13287@aurora.sdinet.de&gt;
Signed-off-by: Asbjoern Sloth Toennesen &lt;asbjorn@asbjorn.biz&gt;
Reviewed-by: WANG Cong &lt;xiyou.wangcong@gmail.com&gt;
Acked-by: maximilian attems &lt;max@stro.at&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
</feed>
