- 27 5月, 2012 1 次提交
-
-
由 Lekensteyn 提交于
After 303395ac, 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: NPeter Lekensteyn <lekensteyn@gmail.com> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 25 2月, 2012 3 次提交
-
-
由 Joerg Roedel 提交于
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 <max@stro.at> Cc: Ben Hutchings <ben@decadent.org.uk> Cc: debian-kernel@lists.debian.org Cc: linux-kbuild@vger.kernel.org Signed-off-by: NJoerg Roedel <joerg.roedel@amd.com> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
由 Joerg Roedel 提交于
For user-mode Linux the other packages are not required. So only build the package with the linux-image in it. Cc: maximilian attems <max@stro.at> Cc: debian-kernel@lists.debian.org Cc: linux-kbuild@vger.kernel.org Signed-off-by: NJoerg Roedel <joerg.roedel@amd.com> Tested-by: NBen Hutchings <ben@decadent.org.uk> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
由 Joerg Roedel 提交于
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 <max@stro.at> Cc: debian-kernel@lists.debian.org Cc: linux-kbuild@vger.kernel.org Signed-off-by: NJoerg Roedel <joerg.roedel@amd.com> Reviewed-by: NBen Hutchings <ben@decadent.org.uk> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 19 2月, 2012 1 次提交
-
-
由 Ben Hutchings 提交于
The current use of /tmp for file lists is insecure. Put them under $objtree/debian instead. Signed-off-by: NBen Hutchings <ben@decadent.org.uk> Cc: stable@vger.kernel.org # 2.6.39+ Acked-by: Nmaximilian attems <max@stro.at> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 30 10月, 2011 1 次提交
-
-
由 Paul Menzel 提交于
Signed-off-by: NPaul Menzel <paulepanter@users.sourceforge.net> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 24 6月, 2011 1 次提交
-
-
由 matt mooney 提交于
Specify --git-dir when building perf targets to allow out-of-tree builds using O=<build-dir>. The shell command in `git archive' had to be modified to allow proper file name expansion of the files listed in MANIFEST. Signed-off-by: Nmatt mooney <mfm@muteddisk.com> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 25 5月, 2011 1 次提交
-
-
由 Arun Sharma 提交于
To compile binaries which depend on new kernel interfaces, we need a kernel-headers RPM Signed-off-by: NArun Sharma <asharma@fb.com> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 24 5月, 2011 1 次提交
-
-
由 Michal Marek 提交于
The better fix would be to stop using the parent directory (principle of least surprise), but as long as we use it, use it consistently. Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 05 5月, 2011 1 次提交
-
-
由 Arun Sharma 提交于
Removing the '-' results in hard to read filenames such as: kernel-2.6.35.2000042g76e4caf-28.x86_64.rpm kernel-2.6.35.2_000042_g76e4caf-28.x86_64.rpm is easier to read. Signed-off-by: NArun Sharma <asharma@fb.com> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 31 3月, 2011 1 次提交
-
-
由 Lucas De Marchi 提交于
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: NLucas De Marchi <lucas.demarchi@profusion.mobi>
-
- 09 3月, 2011 1 次提交
-
-
由 Zdenek Kaspar 提交于
Signed-off-by: NZdenek Kaspar <zkaspar82@gmail.com> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 04 2月, 2011 1 次提交
-
-
由 Nicolas de Pesloüan 提交于
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: NNicolas de Pesloüan <nicolas.2p.debian@free.fr> Tested-by: NNikolai Kondrashov <spbnick@gmail.com> Acked-by: Nmaximilian attems <max@stro.at> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 15 1月, 2011 1 次提交
-
-
由 maximilian attems 提交于
Fix x86 centric path to allow building kernel-header packages for other architecture. Signed-off-by: Nmaximilian attems <max@stro.at> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 08 1月, 2011 1 次提交
-
-
由 maximilian attems 提交于
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 <tytso@mit.edu> Signed-off-by: Nmaximilian attems <max@stro.at> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 07 1月, 2011 1 次提交
-
-
由 maximilian attems 提交于
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: Nmaximilian attems <max@stro.at> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 29 12月, 2010 1 次提交
-
-
由 Theodore Ts'o 提交于
Create a linux-headers-$KVER.deb package which can be used to build external modules without having the source tree around. Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 20 12月, 2010 1 次提交
-
-
由 Asbjoern Sloth Toennesen 提交于
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: <alpine.DEB.2.02.1011051437500.13287@aurora.sdinet.de> Signed-off-by: NAsbjoern Sloth Toennesen <asbjorn@asbjorn.biz> Reviewed-by: NWANG Cong <xiyou.wangcong@gmail.com> Acked-by: Nmaximilian attems <max@stro.at> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 25 11月, 2010 1 次提交
-
-
由 Asbjoern Sloth Toennesen 提交于
Instead of creating the debian package for the compiling userland, create it for a userland matching the kernel thats being compiled. This patch supports all Lenny release architectures, and Linux-based architecture candidates for Squeeze. If it can't find a proper Debian userspace it displays a warning, and fallback to let deb-gencontrol use the host's userspace arch. Eg. with this patch the following make command: make ARCH=i386 deb-pkg will output an i386 Debian package instead of an amd64 one, when run on an amd64 machine. Signed-off-by: NAsbjoern Sloth Toennesen <asbjorn@asbjorn.biz> Acked-by: Nmaximilian attems <max@stro.at> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 11 11月, 2010 1 次提交
-
-
由 maximilian attems 提交于
umask 077 make deb-pkg <snipp ..> dpkg-deb: building package `linux-image-2.6.36+' in `../linux-image-2.6.36+_2.6.36+-4_amd64.deb'. dpkg-deb: control directory has bad permissions 700 (must be >=0755 and <=0775) make[1]: *** [deb-pkg] Error 2 Reported-by: NBastian Blank <waldi@debian.org> Signed-off-by: Nmaximilian attems <max@stro.at> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 14 10月, 2010 1 次提交
-
-
由 Nishanth Aravamudan 提交于
Same fix as in 13797b77 is needed for the "new" line invoking _smp_mflags for modules_install. Without the fix, `make binrpm-pkg` fails with: + make '%{_smp_mflags}' KBUILD_SRC= modules_install make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. make[2]: *** No rule to make target `%{_smp_mflags}'. Stop. error: Bad exit status from /var/tmp/rpm-tmp.8S9B9e (%install) Signed-off-by: NNishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 06 9月, 2010 1 次提交
-
-
由 Guillem Jover 提交于
Avoid an error when doing cp over the image when it does not contain the full path to the file. Signed-off-by: NGuillem Jover <guillem@hadrons.org> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 21 7月, 2010 1 次提交
-
-
由 Michal Marek 提交于
make rpm was broken by commit 09155120: make clean set -e; cd ..; ln -sf /usr/src/iwlwifi-2.6 kernel-2.6.35rc4wl /bin/sh /usr/src/iwlwifi-2.6/scripts/setlocalversion --scm-only > /usr/src/iwlwifi-2.6/.scmversion cat: .scmversion: input file is output file make[1]: *** [rpm] Error 1 Reported-and-tested-by: N"Zheng, Jiajia" <jiajia.zheng@intel.com> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 18 6月, 2010 1 次提交
-
-
由 Michal Marek 提交于
Now that we run scripts/setlocalversion during every build, it makes sense to move all the localversion logic there. This cleans up the toplevel Makefile and also makes sure that the script is called only once in 'make prepare' (previously, it would be called every time due to a variable expansion in an ifneq statement). No user-visible change is intended, unless one runs the setlocalversion script directly. Reported-by: NDmitry Torokhov <dmitry.torokhov@gmail.com> Cc: David Rientjes <rientjes@google.com> Cc: Greg Thelen <gthelen@google.com> Cc: Nico Schottelius <nico-linuxsetlocalversion@schottelius.org> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 05 6月, 2010 1 次提交
-
-
由 Arnaldo Carvalho de Melo 提交于
Useful for when people want to try some version of the perf tools and don't wants to download the kernel tarball. Here is a session using this new target: [root@emilia linux-2.6-tip]# make help | grep -i perf perf-tar-src-pkg - Build perf-2.6.35-rc1.tar source tarball perf-targz-src-pkg - Build perf-2.6.35-rc1.tar.gz source tarball perf-tarbz2-src-pkg - Build perf-2.6.35-rc1.tar.bz2 source tarball [root@emilia linux-2.6-tip]# make perf-tarbz2-src-pkg TAR [root@emilia linux-2.6-tip]# ls -la perf-2.6.35-rc1.tar.bz2 -rw-r--r-- 1 root root 295731 May 31 11:18 perf-2.6.35-rc1.tar.bz2 [root@emilia linux-2.6-tip]# tar xf perf-2.6.35-rc1.tar.bz2 [root@emilia linux-2.6-tip]# cd perf-2.6.35-rc1 [root@emilia perf-2.6.35-rc1]# ls arch HEAD include lib tools [root@emilia perf-2.6.35-rc1]# cd tools/perf [root@emilia perf]# make -j9 2>&1 | tail CC arch/x86/util/dwarf-regs.o CC util/probe-finder.o CC util/newt.o CC util/scripting-engines/trace-event-perl.o CC scripts/perl/Perf-Trace-Util/Context.o CC perf.o CC builtin-help.o AR libperf.a LINK perf rm .perf.dev.null [root@emilia perf]# ./perf record -a sleep 1 [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.262 MB perf.data (~11457 samples) ] [root@emilia perf]# ./perf report | head -12 # Events: 6K cycles # # Overhead Command Shared Object Symbol # ........ ............... .................. ...... # 4.73% perf [kernel.kallsyms] [k] format_decode 4.49% perf libc-2.12.so [.] _IO_file_underflow_internal 4.38% init [kernel.kallsyms] [k] mwait_idle 3.29% perf [kernel.kallsyms] [k] vsnprintf 2.38% init [kernel.kallsyms] [k] sched_clock_local 2.35% init [kernel.kallsyms] [k] apic_timer_interrupt 1.86% sirq-timer/5 [kernel.kallsyms] [k] find_busiest_group [root@emilia perf]# Acked-by: NMichal Marek <mmarek@suse.cz> Acked-by: NSam Ravnborg <sam@ravnborg.org> Cc: David S. Miller <davem@davemloft.net> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Michal Marek <mmarek@suse.cz> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Stephane Eranian <eranian@google.com> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <20100528185357.GA28009@ghostprotocols.net> Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
-
- 03 6月, 2010 3 次提交
-
-
由 Rogério Brito 提交于
To follow the way that Official Debian kernel packages are made, put the generated packages in the right section, the kernel section. This also avoids polluting the admin section. Signed-off-by: NRogério Brito <rbrito@ime.usp.br> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
由 Rogério Brito 提交于
The packages generated by the builddeb script conform to the Debian Policy version 3.8.4. Make this explicit in the generated packages. Signed-off-by: NRogério Brito <rbrito@ime.usp.br> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
由 Rogério Brito 提交于
This helps when the user sees information of the packages on package managers like aptitude. Signed-off-by: NRogério Brito <rbrito@ime.usp.br> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 29 3月, 2010 1 次提交
-
-
由 Gilles Espinasse 提交于
Signed-off-by: NGilles Espinasse <g.esp@free.fr> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 07 3月, 2010 1 次提交
-
-
由 FEJES Jozsef 提交于
This patch creates the standard md5sums file for 'make deb-pkg' just like the dh_md5sums debhelper script. Signed-off-by: NJozsef Fejes <fejes@joco.name> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 02 2月, 2010 1 次提交
-
-
由 John Saalwaechter 提交于
The mkspec script hardcodes "/var/tmp" into the generated rpm spec file's BuildRoot. The user, however, may have a custom setting for %_tmppath, which should be used in BuildRoot. This patch changes mkspec's BuildRoot output to appropriately use %_tmppath. Signed-off-by: NJohn Saalwaechter <saalwaechter@gmail.com> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 12 12月, 2009 3 次提交
-
-
由 Jonathan Nieder 提交于
Running "make deb-pkg" requires setting KBUILD_PKG_ROOTCMD or becoming root oneself or it errors out. Unless already running as root or KBUILD_PKG_ROOTCMD is already set, use fakeroot as a good default. With this patch applied, you can run "make oldconfig deb-pkg" as an ordinary user to build a binary package for an updated kernel tree and it should just work. fakeroot is too zealous by default in treating files as owned by root. Its wrapped stat() sets st_uid and st_gid to 0 for all files, which causes Git to go on a wild goose chase if CONFIG_LOCALVERSION_AUTO is set, checking if any file's content has changed along with its stat information. Avoid this by telling fakeroot to use the actual owner and group for preexisting files, by passing it the -u option. Signed-off-by: NJonathan Nieder <jrnieder@gmail.com> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
由 Jonathan Nieder 提交于
Let the deb-pkg target acquire (fake) root privileges before running commands that need them. Without such privileges, deb-pkg errors out because chown fails. The new KBUILD_PKG_ROOTCMD variable, if defined, is used as a command to run other commands with possibly fake elevated privileges. Since this is not needed for the tar-pkg and rpm-pkg targets, it is only used by deb-pkg. If it is not defined, the behavior is as before, and the user will have to rerun make as root. In other words, as a shortcut, instead of running 'make oldconfig && make && fakeroot -u make deb-pkg', one can use the single command 'make oldconfig deb-pkg KBUILD_PKG_ROOTCMD="fakeroot -u"'. Suggested-by: NRyan Anderson <ryan@michonline.com> Signed-off-by: NJonathan Nieder <jrnieder@gmail.com> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
由 Michal Marek 提交于
Use the --owner= and --group= options to make sure the entries in the built tar file are owned by root. Without this change, a careless sysadmin using the tar-pkg target can easily end up installing a kernel that is writable by the unprivileged user account used to build the kernel. Test that these options are understood before using them so that non-GNU versions of tar can still be used if the operator is appropriately cautious. Signed-off-by: NJonathan Nieder <jrnieder@gmail.com> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 12 10月, 2009 1 次提交
-
-
由 Frans Pop 提交于
The binrpm-pkg target (binary RPM only) fails when called with KBUILD_OUTPUT set. This patch makes it work. For the rpm-pkg target (source + binary RPM), building with KBUILD_OUTPUT set is not possible and also not needed as the actual build is done in a temporary directory anyway, so check that KBUILD_OUTPUT is not set in that case to avoid later errors. Signed-off-by: NFrans Pop <elendil@planet.nl> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 18 7月, 2009 1 次提交
-
-
由 maximilian attems 提交于
bash versus dash and posh disagree on expanding $@ within double quotes: export x="$@" see http://bugs.debian.org/381091 for details just use the arglist with $*. dpkg: error processing linux-image-2.6.31-rc1_2.6.31-rc1-18_i386.deb (--install): subprocess pre-installation script returned error exit status 2 export: 6: 2.6.31-rc1-18: bad variable name fixes http://bugzilla.kernel.org/show_bug.cgi?id=13567 seen on Ubuntu as there dash is the default sh, versus bash on Debian. Reported-by: NPauli <suokkos@gmail.com> Cc: Frans Pop <elendil@planet.nl> Signed-off-by: Nmaximilian attems <max@stro.at> Acked-By: NAndres Salomon <dilinger@collabora.co.uk>
-
- 27 6月, 2009 1 次提交
-
-
由 maximilian attems 提交于
In the series for 2.6.31 it was noticed to ship the copyright, but the generated changelog got lost somehow. As bonus the generated linux-image deb packages are Lenny lintian clean. Cc: Frans Pop <elendil@planet.nl> Cc: Andres Salomon <dilinger@debian.org> Signed-off-by: Nmaximilian attems <max@stro.at> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 10 6月, 2009 3 次提交
-
-
由 maximilian attems 提交于
Latest Debian policy is 3.8.1. Even if we are not yet compliant to it strive for the latest. Signed-off-by: Nmaximilian attems <max@stro.at> Signed-off-by: NFrans Pop <elendil@planet.nl> Acked-by: NAndres Salomon <dilinger@debian.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
由 maximilian attems 提交于
Section "base" has been removed, the base is defined by Priority field. For Squeeze the section should be "kernel", but as that's not yet supported for Sarge and Etch we stay with admin for now. Signed-off-by: Nmaximilian attems <max@stro.at> Signed-off-by: NFrans Pop <elendil@planet.nl> Cc: Andres Salomon <dilinger@debian.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
由 maximilian attems 提交于
kernel-image naming has been dropped for the Lenny release and was only transitional for Etch. As it builds modules it provides linux-modules-$version. Signed-off-by: Nmaximilian attems <max@stro.at> Signed-off-by: NFrans Pop <elendil@planet.nl> Cc: Andres Salomon <dilinger@debian.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-