- 10 6月, 2009 14 次提交
-
-
由 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>
-
由 maximilian attems 提交于
The binary package that make deb-pkg creates is a linux-image. To be fixed may also be the addition of $DEB_ARCH. 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>
-
由 Frans Pop 提交于
The Source: field is defined as the source package in the package archive from which a binary packages are built. As deb-pkg does not generate a source package, we should avoid to use any existing source packages here. Signed-off-by: NFrans Pop <elendil@planet.nl> Acked-by: Nmaximilian attems <max@stro.at> Cc: Andres Salomon <dilinger@debian.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
由 maximilian attems 提交于
Try harder to find email and maintainer name. Debian's own devscripts all use DEBEMAIL or DEBFULLNAME prior to an eventual EMAIL or NAME environment variable. Match their logic. "Anonymous" sounds nicer then "Kernel Compiler" if no name is found. 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>
-
由 Frans Pop 提交于
On Thursday 23 April 2009, Frans Pop wrote: Add a basic debian/copyright to the binary packages. Based on an earlier patch from Maximilian Attems. Signed-off-by: NFrans Pop <elendil@planet.nl> Acked-by: Nmaximilian attems <max@stro.at> Cc: Andres Salomon <dilinger@debian.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
由 Frans Pop 提交于
Signed-off-by: NFrans Pop <elendil@planet.nl> Acked-by: Nmaximilian attems <max@stro.at> Cc: Andres Salomon <dilinger@debian.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
由 Frans Pop 提交于
Hook scripts in the default directory /etc/kernel are also executed by official Debian kernel packages as well as kernel packages created using make-kpkg. Allow to specify an alternative hook scripts directory by exporting the environment variable KDEB_HOOKDIR. Signed-off-by: NFrans Pop <elendil@planet.nl> Acked-by: Nmaximilian attems <max@stro.at> Cc: Andres Salomon <dilinger@debian.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
由 Frans Pop 提交于
Allow to specify a custom revision for the generated .deb by exporting the environment variable KDEB_PKGVERSION. Signed-off-by: NFrans Pop <elendil@planet.nl> Acked-by: Nmaximilian attems <max@stro.at> Cc: Andres Salomon <dilinger@debian.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
由 Frans Pop 提交于
The Debian packaging scripts created by the deb-pkg target do not pass on the standard Debian maintainer script parameters to hook scripts, which means that those scripts cannot tell whether they are being called during e.g. install vs. upgrade, or removal vs. purge of the package. As there are several variantions in how hook scripts are called from kernel packages, we pass the parameters in the environment variable DEB_MAINT_PARAMS rather than as extra arguments. Bump version of builddep script to 1.3. Signed-off-by: NFrans Pop <elendil@planet.nl> Acked-by: Nmaximilian attems <max@stro.at> Cc: Andres Salomon <dilinger@debian.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
由 Frans Pop 提交于
Not all architectures prepend the $(boot) path in $(KBUILD_IMAGE). Allow for that fact in the builddeb script. Example is arm. Signed-off-by: NFrans Pop <elendil@planet.nl> Acked-by: Nmaximilian attems <max@stro.at> Cc: Andres Salomon <dilinger@debian.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
由 Frans Pop 提交于
Factor out code to build package into separate function and only write "source" section for the debian/control file once. Signed-off-by: NFrans Pop <elendil@planet.nl> Acked-by: Nmaximilian attems <max@stro.at> Cc: Andres Salomon <dilinger@debian.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
由 Frans Pop 提交于
Minor coding style improvements and typo fix in leading comment. Signed-off-by: NFrans Pop <elendil@planet.nl> Cc: Andres Salomon <dilinger@debian.org> Acked-by: Nmaximilian attems <max@stro.at> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 02 4月, 2009 1 次提交
-
-
由 Helge Deller 提交于
Signed-off-by: NHelge Deller <deller@gmx.de> Signed-off-by: NKyle McMartin <kyle@mcmartin.ca>
-
- 07 3月, 2009 2 次提交
-
-
由 Josh Hunt 提交于
Running 'make rpm' fails when CONFIG_LOCALVERSION_AUTO=y and using a kernel source tree under SCM. This is due to KERNELRELEASE being different when the initial make is run and when make is run from rpmbuild. mkspec creates kernel.spec using KERNELRELEASE: <mkspec> echo "%files" echo '%defattr (-, root, root)' echo "%dir /lib/modules" echo "/lib/modules/$KERNELRELEASE" echo "/lib/firmware" echo "/boot/*" echo "" </mkspec> When CONFIG_LOCALVERSION_AUTO=y scripts/setlocalversion is called and grabs any additional version info from SCM. Next, the srctree is tarred up and SCM information is excluded. rpmbuild reruns make and in the process generates a new include/config/kernel.release and thus a new KERNELRELEASE. However this time the SCM information is gone so KERNELRELEASE no longer has the additional version information. When "make modules_install" runs, it uses the new KERNELRELEASE value to determine where to install the modules. This conflicts with where the spec file assumes they are going because of the mis-matching KERNELRELEASE versions. <snippet> + INSTALL_MOD_PATH=/var/tmp/kernel-2.6.29rc4tip01479g5d85422-root + make -j16 modules_install INSTALL crypto/aead.ko INSTALL crypto/cbc.ko INSTALL crypto/chainiv.ko INSTALL crypto/crc32c.ko INSTALL crypto/crypto_algapi.ko INSTALL crypto/crypto_blkcipher.ko INSTALL crypto/crypto_hash.ko INSTALL crypto/cryptomgr.ko INSTALL crypto/ecb.ko INSTALL crypto/eseqiv.ko INSTALL crypto/krng.ko INSTALL crypto/md5.ko INSTALL crypto/pcbc.ko INSTALL crypto/rng.ko INSTALL drivers/block/cciss.ko INSTALL drivers/hid/hid-dummy.ko INSTALL drivers/scsi/iscsi_tcp.ko INSTALL drivers/scsi/libiscsi.ko INSTALL drivers/scsi/libiscsi_tcp.ko INSTALL drivers/scsi/scsi_transport_iscsi.ko INSTALL drivers/scsi/scsi_wait_scan.ko INSTALL fs/lockd/lockd.ko INSTALL fs/nfs/nfs.ko INSTALL fs/nfsd/nfsd.ko INSTALL lib/libcrc32c.ko INSTALL net/sunrpc/sunrpc.ko DEPMOD 2.6.29-rc4-tip + cp arch/x86/boot/bzImage /var/tmp/kernel-2.6.29rc4tip01479g5d85422-root/boot/vmlinuz-2.6.29-rc4-tip-01479-g5d85422 + cp System.map /var/tmp/kernel-2.6.29rc4tip01479g5d85422-root/boot/System.map-2.6.29-rc4-tip-01479-g5d85422 + cp .config /var/tmp/kernel-2.6.29rc4tip01479g5d85422-root/boot/config-2.6.29-rc4-tip-01479-g5d85422 + cp vmlinux vmlinux.orig + bzip2 -9 vmlinux + mv vmlinux.bz2 /var/tmp/kernel-2.6.29rc4tip01479g5d85422-root/boot/vmlinux-2.6.29-rc4-tip-01479-g5d85422.bz2 + mv vmlinux.orig vmlinux + /usr/lib/rpm/brp-compress Processing files: kernel-2.6.29rc4tip01479g5d85422-2 error: File not found: /var/tmp/kernel-2.6.29rc4tip01479g5d85422-root/lib/modules/2.6.29-rc4-tip-01479-g5d85422 RPM build errors: File not found: /var/tmp/kernel-2.6.29rc4tip01479g5d85422-root/lib/modules/2.6.29-rc4-tip-01479-g5d85422 make[1]: *** [rpm] Error 1 make: *** [rpm] Error 2 </snippet> I have tested this patch on git -tip, Linus' git tree, and the kernel.org tar files, both with and without CONFIG_LOCALVERSION_AUTO=y. Signed-off-by: NJosh Hunt <josh@scalex86.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org> ----
-
由 Josh Hunt 提交于
The contents of the %clean section in mkspec is currently commented out leaving RPM_BUILD_ROOT and its contents on the build machine. This patch removes it once the rpm build process is complete. Signed-off-by: NJosh Hunt <josh@scalex86.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 15 2月, 2009 1 次提交
-
-
由 Josh Hunt 提交于
We are building an automated system to test kernels weekly and need to provide an rpm to our QA dept. We would like to use the ability to create kernel rpms already in the kernel's Makefile, but need the vmlinux file included in the rpm for later debugging. This patch adds a compressed vmlinux to the kernel rpm when doing a make rpm-pkg or binrpm-pkg and upon install places the vmlinux file in /boot. Signed-off-by: NJosh Hunt <josh@scalex86.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 06 12月, 2008 1 次提交
-
-
由 Robert P. J. Day 提交于
Given that there is no usage of a TAR_IGNORE variable remove it Signed-off-by: NRobert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 04 12月, 2008 1 次提交
-
-
由 Jeremy Kerr 提交于
Add a RPMOPTS make variable to allow arbitrary options to be passed to rpm during 'make rpm-pkg'. For example: make RPMOPTS="--define '_topdir /home/jk/rpm'" rpm-pkg Signed-off-by: NJeremy Kerr <jk@ozlabs.org> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 10 11月, 2008 1 次提交
-
-
由 Jonathan McDowell 提交于
The below is a simplistic fix for "make deb-pkg"; it splits the firmware out to a linux-firmware-image package and adds an (unversioned) Suggests to the linux package for this firmware. Signed-Off-By: NJonathan McDowell <noodles@earth.li> Acked-by: NFrans Pop <elendil@planet.nl> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 30 10月, 2008 2 次提交
-
-
由 Jeremy Kerr 提交于
Currently, if we do a 'make rpm-pkg' without the _smp_mflags rpm macro defined, the build fails with: [snip] Executing(%build): /bin/bash -e /var/tmp/rpm-tmp.67959 + umask 022 + cd /home/jk/devel/kernel-snapshot/rpm/BUILD + cd kernel-2.6.26 + make clean + make '%{_smp_mflags}' make[3]: *** No rule to make target `%{_smp_mflags}'. Stop. error: Bad exit status from /var/tmp/rpm-tmp.67959 (%build) This change uses the 'null if not set' reference to the _smp_mflags macro instead. Signed-off-by: NJeremy Kerr <jk@ozlabs.org> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
由 Evgeniy Manachkin 提交于
This is patch to fix incorrect mkspec script to make rpm correctly at 2.6.27 vanilla kernel. This is regression in 2.6.27. 2.6.26 make rpm work good. In 2.6.27 'make rpm' say error from rpmbuild "Many unpacked files (*.fw)." Signed-off-by: NEvgeniy Manachkin <sfstudio@mail.ru> Acked-by: NAlan Cox <alan@redhat.com> Signed-off-by: NSam Ravnborg <sam@ravnborg.org> Cc: Stable <stable@kernel.org>
-
- 09 2月, 2008 1 次提交
-
-
由 Michal Sojka 提交于
If CONIFIG_LOCALVERSION is set for example to -loop, the following error message was generated. dpkg-deb - error: Debian revision (`loop') doesn't contain any digits dpkg-deb: 1 errors in control file The patch solves this by adding a numeric revision to package version. Signed-off-by: NMichal Sojka <sojkam1@fel.cvut.cz> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 29 1月, 2008 2 次提交
-
-
由 Daniel De Graaf 提交于
Signed-off-by: NDaniel De Graaf <danieldegraaf@gmail.com> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
由 Robert P. J. Day 提交于
Signed-off-by: NRobert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 18 10月, 2007 1 次提交
-
-
http://bugzilla.kernel.org/show_bug.cgi?id=8941 Current Debian's kernel-modules depend on matching linux-image-$version, though Linux's make deb-pkg build a .deb that 'Provides: kernel-image-$version' only. The following patch adds the Debian-compliant 'Provides', leaving the default one; hopely this will make way all happy. Signed-off-by: Npaolo <oopla@users.sf.net> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 22 5月, 2007 1 次提交
-
-
由 Andi Kleen 提交于
Signed-off-by: NAndi Kleen <ak@suse.de> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
- 25 9月, 2006 1 次提交
-
-
由 Rolf Eike Beer 提交于
"mkdir -p" does not only mean not to complain if the directory already exists, but also to create the parent directories if needed. This patch removes "lib" from the list of directories to create as we will also create "lib/modules". Signed-off-by: NRolf Eike Beer <eike-kernel@sf-tec.de> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 09 6月, 2006 1 次提交
-
-
由 Mike Wolf 提交于
The default target for most powerpc platforms is zImage. The zImage however is in arch/powerpc/boot and the mkspec script was set up to get the kernel from the top level of the kernel tree. This patch copies vmlinux to arch/powerpc/boot and then copies the kernel to the tmp directory so the rpm can be made. Signed-off-by: NMike Wolf <mjw@us.ibm.com> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 09 3月, 2006 1 次提交
-
-
由 Sam Ravnborg 提交于
.PHONY: does not take patterns so use FORCE to achive same effect. Thanks to "Paul D. Smith" <psmith@gnu.org> for noticing this. Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 06 3月, 2006 1 次提交
-
-
由 Paul Smith 提交于
The kbuild system takes advantage of an incorrect behavior in GNU make. Once this behavior is fixed, all files in the kernel rebuild every time, even if nothing has changed. This patch ensures kbuild works with both the incorrect and correct behaviors of GNU make. For more details on the incorrect behavior, see: http://lists.gnu.org/archive/html/bug-make/2006-03/msg00003.html Changes in this patch: - Keep all targets that are to be marked .PHONY in a variable, PHONY. - Add .PHONY: $(PHONY) to mark them properly. - Remove any $(PHONY) files from the $? list when determining whether targets are up-to-date or not. Signed-off-by: NPaul Smith <psmith@gnu.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 02 1月, 2006 1 次提交
-
-
由 Jan-Benedict Glaw 提交于
Fix out-of-tree builds for the tar-pkg targets When I wrote the buildtar script, I didn't even think about out-of-tree builds because I didn't use these back then. This patch throughoutly uses ${objtree} instead of `pwd`. Also, the kernel version is no longer manually built. Instead, it will properly use $KERNELRELEASE . Installing modules is only done if CONFIG_MODULES is set. Signed-off-by: NJan-Benedict Glaw <jbglaw@lug-owl.de> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 22 7月, 2005 1 次提交
-
-
由 Coywolf Qi Hunt 提交于
This fixes kbuild make help binrpm-pkg missing `''. Signed-off-by: NCoywolf Qi Hunt <coywolf@lovecn.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 15 7月, 2005 3 次提交
-
-
由 Sam Ravnborg 提交于
From: Ryan Anderson <ryan@michonline.com> When running "make O=something deb-pkg", I get a failure that claims I haven't configured my kernel (I have). Running it a second time tells me to run "make mrproper" (include/linux/version.h got built on the first run) Original patch from: From: Ajay Patel <patela@gmail.com> With modifications from: Signed-off-By: NRyan Anderson <ryan@michonline.com> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
由 Sam Ravnborg 提交于
From: Ryan Anderson <ryan@michonline.com> This pulls the description from the Debian user-mode-linux package, and puts $version back in the appropriate places for both descriptions. Signed-off-by: NRyan Anderson <ryan@michonline.com> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
由 Sam Ravnborg 提交于
From: Ryan Anderson <ryan@michonline.com> Make the deb-pkg build target understand the "um" arch and set up the package and directory structure to match a mainline-Debian style user-mode-linux package. This is primarily so that it stops matching, exactly, the naming convention used by normal, non-UML kernels generated by this command. Installing "linux-2.6.11" and "linux-2.6.11", where one is a UML kernel doesn't do the right thing. This fixes that. Signed-off-by: NRyan Anderson <ryan@michonline.com> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 14 7月, 2005 2 次提交
-
-
由 Yum Rayan 提交于
This patch fixes the output of "make help" to fit in a 80 column screen. Please push upstream as part of your other patches. Signed-off-by: NYum Rayan <yum.rayan@gmail.com> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
由 Greg Edwards 提交于
On ia64, only the EFI (fat) partition is available to boot from. The rpm needs to install the kernel under /boot/efi to be useable on ia64. Signed-off-by: NGreg Edwards <edwardsg@sgi.com> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 13 7月, 2005 1 次提交
-
-
由 Jan-Benedict Glaw 提交于
It adds tarball packaging, which I prefer for distribution. Also one of the two blanks after @echo is removed. One seems to be enough :) Signed-off-by: NJan-Benedict Glaw <jbglaw@lug-owl.de> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-