- May 03, 2014
-
-
Manoj Srivastava authored
This might not build kernel packages as well as it did 4 years ago, but it is better than what we have now. * Move way from git modules to a flatter structure, to better use standard git build frameworks. (Closes: #690002). * Updated the dependency to from module-init-tools -> kmod, since the module-init-tools is an obsolete transitional package. (Closes: #733701, #663358, ) * As of 3.8-rc2, kernel building requires bc(1. Added bc as a dependency for kernel-package, so that building a kernel will work again (Closes: #705587, #702600, #742674). * There are new configuration options called CONFIG_MODULE_*, which confuse the regular expression trying to detect whether modules are configured or not. Modified the regular expression to detect whether modules are configured as suggested by Stefan Gehn. (Closes: #696537). * make-kpkg failed to cross build armhf kernels. The supplied patch by Karsten Merker adds a few missing definitions which are only used in the case of cross-building (Closes: #728014). * The UTS_RELEASE definition was moved from $(KERN_ROOT)/include/linux/utsrelease.h to $(KERN_ROOT)/include/generated/utsrelease.h. The current version looks in both places. Fix sggested by mahashakti89, (Closes: #591793). * find -perm syntax changed from -perl +XXX to -prem /xxx. Fixed the use of find -perm in the one location I found it in (Closes: #724775). * Added a dependency on initramfs-tools into the generated linux-image packages, (Closes: #652637). * kernel package was not building a vmlinuz image for mipsel loongson cpu. Applied the patch from liushiwei to allow make-kpkg build vmlinuz on mipsel loongson cpu machines (Closes: #593857). * if the file include/generated/uapi/linux/version.h exists then include/linux/version.h must not be added to linux-headers-... package. The former should not exist, and if it does it is a mistake. (Closes: #734310). * dpkg: warning: obsolete option '--print-installation-architecture', use '--print-architecture' instead. Replaced all instances of dpkg --print-installation-architecture in the package. (Closes: #597637). * The following bugs were fixed in this release: * Bug fix #733701: "please do not depend on module-init-tools", thanks to md@Linux.IT (Marco d'Itri) . * Bug fix #663358: "module-init-tools is now a transitional dummy package for kmod.Please add the correct depend", thanks to Domenico Pasella. * Bug fix #705587,: "As of 3.8-rc2, kernel building requires bc(1)", thanks to sacrificial-spam-address@horizon.com. * Bug fix #702600: "1: bc: not found", thanks to Andrei Paulau * Bug fix #742674: "bc should be added to the dependencies", thanks to Erik Braun * Bug fix #690002: "Git package repository contains empty directory `debian/`", thanks to Paul Menzel. The problem is not that the git repository had an empty debian directory, the issue was that kernel-package uses git modules. One has to (recursively) expand the modules. However, whith this commit, we move away from git modules to a flat structure. * Bug fix #696537: "Fails to build linux-3.7.1 with module-support disabled", thanks to Stefan Gehn. Used the suggested new regular expression. * Bug fix #728014: "[PATCH] Fix cross-building armhf kernel packages", thanks to Karsten Merker. * Bug fix #591793: "Building 2.6.35 kernel fails with kernel-package 12.036", thanks to mahashakti89, * Bug fix #724775: "kernel-package uses deprecated find -perm +xxx syntax, please switch to find -perm /+++", thanks to Andreas Metzler. * Bug fix #652637: "Generated linux-image package should depend on initramfs-tools", thanks to Matthijs Kooijman. Added the suggested dependency * Bug fix #593857: "enable gzip for mipsel loongson cpu", thanks to liushiwei. Applied the suggested patch * Bug fix #734310: "exclude include/linux/version.h", thanks to Eduard Bloch * Bug fix #597637: "dpkg using obsolete option", thanks to Brian Minton Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
-
Manoj Srivastava authored
* Move to a new build system based on dh. This is just for kernel-package, no changes have yet been made to the generated package build system. * Bug fix: "please do not depend on module-init-tools", thanks to md@Linux.IT (Marco d'Itri), Updated the dependency to kmod, since the module-init-tools is an obsolete transitional package (Closes: #733701). * Bug fix: "Fails to build linux-3.7.1 with module-support disabled", thanks to Stefan Gehn. Modified the regular expression to detect whether modules are configured as suggested by Stefan. (Closes: #696537). This version might not be functional yet, but there should be no regressions Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
-
Manoj Srivastava authored
Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
-
- May 02, 2014
-
-
Manoj Srivastava authored
somewhere between linux 3.4 and 3.7 new config defines got added, namely CONFIG_MODULES_USE_ELF_REL and CONFIG_MODULES_USE_ELF_RELA which are set even if CONFIG_MODULES is unset. The above regexp obviously also matches these new defines which makes make-kpkg think hat it's building a kernel package including loadable module support. The result of this is a call to "make modules" which aborts Thanks to Stefan Gehn <stefan+debian@srcbox.net> for the patch. Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
-
Manoj Srivastava authored
Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
-
- Jul 21, 2010
-
-
Manoj Srivastava authored
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
Manoj Srivastava authored
Closes: Bug#589704 Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
Manoj Srivastava authored
Closes: Bug#589700 Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
- Jul 19, 2010
-
-
Manoj Srivastava authored
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
Signed-off-by: Anisse Astier <anisse@astier.eu>
-
Signed-off-by: Anisse Astier <anisse@astier.eu>
-
Manoj Srivastava authored
Passing -nc made dpkg-buildpackage default to not building source, and that caused the buildpackage to fail (arguably, this is a bug in dpkg). Closes: Bug#581182 Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
- Jul 18, 2010
-
-
Manoj Srivastava authored
Closes: Bug#576926 Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
Manoj Srivastava authored
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
Manoj Srivastava authored
Thanks to Elliott Mitchell <ehem@m5p.com> Closes: Bug#572398 Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
Manoj Srivastava authored
The generated debian/control file uses version rather than KERNELRELEASE varible which means that extra/local verion doesn't get into the file and the package build fails. This patch converts the remaining places that do not use KERNELRELEASE. Thanks to Michal Hocko <mstsxfx@gmail.com> Closes: Bug#588126 Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
Manoj Srivastava authored
kernel-package fails to build a kernel package on hppa when the target kernel is 64-bit. It fails because kernel-package uses hardcoded "objcopy" to build /usr/lib/debug debuginfo files for kernel modules but 64-bit kernel needs crosscompile prefix on parisc and normal objcopy does not understand the 64-bit module format. This change uses the same mechanism as the kernel Makefiles to allow arch specific Makefiles to specify what to use as objcopy. Thanks to Meelis Roos <mroos@linux.ee> Closes: Bug#576725 Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
- Jul 17, 2010
-
-
Manoj Srivastava authored
Thanks to crazyorcmeister@gmail.com Closes: Bug#561287 Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
- Feb 16, 2010
-
-
Manoj Srivastava authored
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
Manoj Srivastava authored
Closes: Bug#564452 Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
- Feb 15, 2010
-
-
Manoj Srivastava authored
Dont just test $version, but make sure that it is defined and non-empty, and thus permit a 0 revision. Closes: Bug#566510 Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
Manoj Srivastava authored
This allows the user to build a kernel image package in parrallel, by using the internal CONCURRENCY_LEVEL variable. Idea and code from owen.riddy@gmail.com. Closes: Bug#569760 Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
- Feb 14, 2010
-
-
Manoj Srivastava authored
Also, anchor matches to the beginning of line. Closes: Bug#568823 Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
- Jan 04, 2010
-
-
Manoj Srivastava authored
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
Manoj Srivastava authored
Patch contributed by Jean-Luc Coulon and Matt Krai. Closes: #561569 Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
- Nov 22, 2009
-
-
Manoj Srivastava authored
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
Manoj Srivastava authored
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
- Nov 20, 2009
-
-
Manoj Srivastava authored
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
Manoj Srivastava authored
If people want it, it can be set in the config file. Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
- Nov 19, 2009
-
-
Manoj Srivastava authored
In a number of cases the target we invoke and the image file produced have different names. kernel-package has historically coupled them, and taken corrective action in postinst, this commit, along with the previous oe, moves us to a cleaner state. Closes: #557102 Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
Manoj Srivastava authored
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
Manoj Srivastava authored
So far, kernel-package would pay special attention to the configuration files that enabled XEN hypervisor/guest images, mangling the package name, and changing the file paths where the images were dumped. This caused no end of confusion to third party tools, and also surprised people when packages with different names had unexpected file conflicts. With dpkg defaulting to --force-overwrite that could be catastrophic. This is because a normal kernel image, a XenU or a Xen0 image, all looked for modules in /lib/modules/$version, and would conflict. With this commit, kernel-package stops paying attention to the XEN configuration hints in the config, producing a normal kernel image. If users want to have a DomU or a Dom0 image from the same kernel version, they will have to do what people wanting to run kernels witht he same version with differing configurations have always had to do: use --append-to-version to make the kernel images packages not conflict. Closes: #556929 Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
- Nov 18, 2009
-
-
Manoj Srivastava authored
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
Manoj Srivastava authored
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
Manoj Srivastava authored
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
- Nov 17, 2009
-
-
Manoj Srivastava authored
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
Manoj Srivastava authored
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
Manoj Srivastava authored
make-kpkg produces split debuginfo for modules and does not add .gnu_debuglink section. This causes problems with tools that expect debuginfo files with extension .debug (like libwd1, used by systemtap). Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
Manoj Srivastava authored
Closes: #556043 Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-
- Nov 12, 2009
-
-
Manoj Srivastava authored
Based on a bug report by Arthur Marsh Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-