kernel-package (10.065ubuntu5) feisty; urgency=low * Touch '/var/run/do-not-hibernate' instead of '/var/run/do-not-suspend' to indicate to the power-management layer that the kernel that is likely to be used following a hibernate/resume-from-hibernate cycle has changed. Re-closes: (Launchpad: #14908) -- Paul Sladen Tue, 06 Mar 2007 14:12:24 +0000 kernel-package (10.065ubuntu4) feisty; urgency=low * Disable CRASH_DUMP kernel, now that we support relocatable ones. -- Ben Collins Fri, 2 Mar 2007 14:12:57 -0500 kernel-package (10.065ubuntu3) feisty; urgency=low * Fix shell-in-perl-script stupido. -- Ben Collins Thu, 4 Jan 2007 17:00:38 -0500 kernel-package (10.065ubuntu2) feisty; urgency=low * Touch file to show that kernel was upgraded, so suspend/resume scripts can recognize to not allow this: /var/run/do-not-suspend -- Ben Collins Tue, 2 Jan 2007 23:00:11 -0500 kernel-package (10.065ubuntu1) feisty; urgency=low * Merge from debian unstable. * Patches remaining: - kdump kernel type addition. This will probably get backed out once we can move to using stock kernel for kdump, with relocation. - update-initramfs usage - update-notifier usage - Disable some debconf stuff. -- Ben Collins Mon, 06 Nov 2006 04:15:16 +0000 kernel-package (10.065) unstable; urgency=low * Bug fix: "kernel-package: dependency on newer coreutils missing", thanks to Norbert Tretkowski. Added. As far as I can tell, readlink -m was present in coreutils 5.2.1, uploaded on 14 July 2004, over two years ago. However, updated the control file for kernel images. (Closes: #396077). * Bug fix: "kernel-package: fails when a kernel-patch adds a config var without a default value". Well. It is partially due to kbuild helpfully reconfiguring the kernel whenever it thinks it is needed. thanks to Yann Dirson (Closes: #396122). -- Manoj Srivastava Sat, 4 Nov 2006 22:47:21 -0600 kernel-package (10.064) unstable; urgency=low * Also remove initrd .bak backups * Bug fix: "leaves .bak files around after kernel purge, and chokes on them", thanks to martin f krafft. Well, k-p never generated these files, and does not actually choke on them. But I suppose we can clean up after update-mkinitramfs or whatever :)(Closes: #395323). * Take another crack at handling the ever friendly Kbuild now asking to update the .config on STDOUT, not STDERR, and bailing when it discovers output is redirected. -- Manoj Srivastava Fri, 27 Oct 2006 17:18:39 -0500 kernel-package (10.063) unstable; urgency=low * Bug fix: "kernel-package: Generated postinst fails: Missing Required paramater 'Old'", thanks to Daniel Jacobowitz. I cleaned up the postinst as while I was at it, going with readlink -q -m instead of the built in version. (Closes: #391643). * Bug fix: "[powerpc] initramfs creation fails with 2.6.18 during install", thanks to Meelis Roos. This was fixed by the changes above. (Closes: #394679). * Bug fix: "kernel-package: No need for any mentioning of bin86", thanks to Adrian Bunk (Closes: #391677). * Bug fix: "postinst_hook runs after bootloader", thanks to Martin Buck (Closes: #391436). * Bug fix: "kernel-package: A Debian revision is mandatory, but none was provided", thanks to Marc Haber. Hmm. We were not passing DEBIAN_REVISION for the clean target, and not doing any sanity checks. We still don't do sanity checks on clean, but we do pass along the provided debian revision, so warning is no longer triggered. (Closes: #391433). -- Manoj Srivastava Mon, 23 Oct 2006 13:33:28 -0500 kernel-package (10.062) unstable; urgency=low * Forgot to document KPKG_DEBUG introduced in the last upload. -- Manoj Srivastava Sun, 1 Oct 2006 15:14:56 -0500 kernel-package (10.061) unstable; urgency=medium * Bug fix: "kernel-package: kernel package doesn't find $(ARCH) running make-kpkg debian", thanks to Elimar Riesebieter. Fix it for real this time. Fixes a grave bug. (Closes: #390487). * Bug fix: "Easing debugging by outputting commands as these are run", thanks to Loïc Minier. (Closes: #390222). -- Manoj Srivastava Sun, 1 Oct 2006 14:59:26 -0500 kernel-package (10.060) unstable; urgency=low * Only pass ARCH if KERNEL_ARCH is not empty. -- Manoj Srivastava Sat, 30 Sep 2006 09:42:14 -0500 kernel-package (10.059) unstable; urgency=low * Bug fix: "kernel-package: Custom .config ignored, m-k clean generates errors on 2.6.18", thanks to Anthony L. Awtrey. Add an dummy call to make, if there are problems in the .config, kbuild rewrites .config, and the informational message messes up the VERSION variable. If the variable TEST did get a mesage about .config being written, pass it on. The problem is that any call to make seems to make Kbuild fix issues in .config -- nothing we can do there. (Closes: #390012). * Bug fix: "Misleading information in postinst", thanks to Julien Danjou (Closes: #389697). * Bug fix: "kernel-package: link_in_boot produces symlinks that are insufficiently relative", thanks to Ross Boylan. Fix a typo in determining the relative path for images. Also, in several places, handle a special case when the source and destination directories are identical, and use a relative link there. This might help the folks using a separate /boot and link_in_boot options. (Closes: #389678). * Bug fix: "Should always pass ARCH= to upstream Makefile", thanks to Loïc Minier (Closes: #390182). -- Manoj Srivastava Fri, 29 Sep 2006 12:24:01 -0500 kernel-package (10.058) unstable; urgency=medium * Bug fix: "kernel-package: Fails to show warning when upgrading running kernel", thanks to Frans Pop (Closes: #389230). * Bug fix: "depmod: command not found; tar: -: file name read contains nul character", thanks to shaulka@012.net.il (Closes: #385583). -- Manoj Srivastava Sun, 24 Sep 2006 14:11:18 -0500 kernel-package (10.057) unstable; urgency=low * * Bug fix: "kernel-package: make-kpkg clean takes forever on a git repo", thanks to Will Dyson (Closes: #356765). * Bug fix: "Patch to add --verbose => make V=1", thanks to Philippe Teuwen (Closes: #387346). -- Manoj Srivastava Fri, 15 Sep 2006 14:18:40 -0500 kernel-package (10.056) unstable; urgency=low * Bug fix: "postrm_hook is not run", thanks to Michael Biebl. Gak. A thinko made the postrm still test to see if the script was executable before looking for it in the path. (Closes: #387286). -- Manoj Srivastava Wed, 13 Sep 2006 11:31:35 -0500 kernel-package (10.055) unstable; urgency=low * Bug fix: "kernel-package: failure with 2.6.18-rc4 (wireless-dev tree)", thanks to Marcus Better. Starting with 2.6.18, you can't run make at the top level like we do to determine the version number without having a .config file. But it should still be possible to run clean -- and fail for other initial operations, since we do not want to create ./debian if we can't detect the version number accurately. (Closes: #385329). * Bug fix: "kernel-package: please build md5sums for kernel-packages", thanks to Mario 'BitKoenig' Holbe. Thanks to Roland Stigge for all the heavy lifting. I moved the macro definition to a file a location consistent with my other packages, and allowed for the caller to add locations that should be excluded from the MD5sums listing. (Closes: #261019). * Add a variable called warn_reboot for kernel-img.conf; if set to no, it shall suppress warning about needing to reboot if installing a kernel image of the same versions as the kernel which is running. Some users want enough rope ... * Create md5sums for this package as well. -- Manoj Srivastava Wed, 6 Sep 2006 15:53:08 -0500 kernel-package (10.054) unstable; urgency=low * Bug fix: "Please allow ~ in sanity check", thanks to Norbert Tretkowski. Second cut. (Closes: #383751). -- Manoj Srivastava Sun, 20 Aug 2006 20:30:04 -0500 kernel-package (10.053) unstable; urgency=low * Bug fix: "Please allow ~ in sanity check", thanks to Norbert Tretkowski (Closes: #383751). * Bug fix: "initramfs generator reversed order dep", thanks to maximilian attems (Closes: #383605). * Make the question about whether or not to run the default bootloader a shared question. At this point, we still ask the question every time, though I am open to using the stored value -- but that would mean that if the admin has changed their mind since the question whether to run lilo or grub was asked, we would do the wrong thing, perhaps making the machine unbootable -- which is why the default is still to ask the human. * Bug fix: "Package changelog for generated kernel packages uses kernel-package changelog", thanks to Andrew Meaden. Truncated, and repaced with a stub. (Closes: #382743). * Bug fix: "kernel-package - please remove config target check from make-kpkg", thanks to Bastian Blank. The check has been disabled for official kernel images, but not for the general upstream sources. (Closes: #381828). -- Manoj Srivastava Sun, 20 Aug 2006 12:13:36 -0500 kernel-package (10.052) unstable; urgency=low * Bug fix: "kernel-package: syntax error in pkg/image/postinst", thanks to Kiko Piris (Closes: #381827). -- Manoj Srivastava Mon, 7 Aug 2006 09:09:53 -0500 kernel-package (10.051) unstable; urgency=low * Bug fix: "kernel-package: When overwriting modules, bad suggestion on moving modules dir", thanks to Dylan Thurston (Closes: #379434). * With this release of kernel package, changes have been made to the specification and behaviour of hook scripts for the kernel image, source, and header packages. Now relative paths can be used to specify the names of scripts, as long as these scripts live in a "safe" path, namely, /bin, /sbin, /usr/bin, /usr/sbin. Also, the sanity checking has gotten more rigorous, failure to find a hook script or failure for the script to execute correctly is now a fatal error. * Bug fix: "forces absolute paths in /etc/kernel-img.conf *_hook variables", thanks to Robert Millan. I elected not to use the patch provided, since I did not want to blindly trust the PATH variable, and wanted also to change the ignoring of the return value of the scripts. (Closes: #380338). * Bug fix: "linux-image-2.6.16-2-k7-smp: upgrade re-ran lilo", thanks to Ross BoylanThe default behaviour of the postinst script has been to run the built in default bootloader (typically lilo) -- set at compile time, based on the arch. The installed default for Debian, however, has since moved on to be grub. However, users who are transitioning to grub may not have set the configuration variable in /etc/kernel-img.conf --and may still have lilo installed. The trick is to figure out whether they really want to run lilo. So, if there is no /etc/lilo.conf, we run nothing. If the user has explicitly asked to run lilo, we rin lilo. Or if there is no grub, or if there is no postinst hook script, we run lilo. Or else, we ask the user. (Closes: #380292). -- Manoj Srivastava Sat, 5 Aug 2006 20:52:37 -0500 kernel-package (10.050) unstable; urgency=low * Bug fix: "kernel-package: make-kpkg "dirties" git kernel", thanks to Rob Sims. Make sure that make-kpkg clean undoes the changes made in ./scripts. Also, added to the PROBLEMS file the following issue: When run in a git sourced tree, scripts/setlocalversion checks to see if the tree is the trunk, if not, it adds version information to the kernel version. It also checks to see if there are uncommited changes, if so, it adds the string "-dirty" to the version. Since we change a couple of files in ./scripts/, this falls afoul of the make-kpkg checks, since the version number is now different from what make-kpkg knows it to be. The workaround is to modify the setlocalversion script. (Closes: #375559). * Bug fix: "kernel-package: Phony UTS_VERSION string mismatch", thanks to Daniel Werner. Actually, the version number contained a +, which is also a regexp meta-character, so the regexp match was getting confused. (Closes: #378257). * Bug fix: "clone targets to support newer default linux prefix", thanks to maximilian attems (Closes: #374707). * Bug fix: "yaboot: Incomplete message when removing kernel-package", thanks to Helge Kreutzmann (Closes: #364336). * Bug fix: "debian.README.gz: wrong (old) address for Linus", thanks to Lars Wirzenius (Closes: #376466). * Bug fix: "kernel-package: strange behavior of bash_completion", thanks to Matthias Heinz Thanks to Rob Sims for the fix. (Closes: #323668). * Bug fix: "kernel-package: kernel_image target fails with kernel 2.6.18-rc1", thanks to Kevin Baradon. The fix thanks to Harald Dunkel (Closes: #377267). -- Manoj Srivastava Wed, 19 Jul 2006 14:50:30 -0500 kernel-package (10.049) unstable; urgency=low * Bug fix: "kernel-package: localversion* files not supported?", thanks to Mattia Dongili. It is not that localversion files are not supported, it is that patches that try to change the version numbering are not, You see, patches are applied _after_ there is a ./debian directory, and that means ./debian/changelog is already in place. Re doing this would require a drastic change in make-kpkg, so now we document that patches that change package names are not supported. (Closes: #368539). * Bug fix: "linux-image-2.6.16-2-amd64-k8: initrd symlink management sucks", thanks to Eduard Bloch. Well, the bug topic sucks too. And, looking at the logs posted, it did seem to work in the test (the link was indeed created). I did spot a typo in the postinst, so I think this corner case should not arise again. (Closes: #372783). * Bug fix: "no longer supports images with the same name on 2 arches", thanks to Martin Michlmayr. Well, no longer is a misnomer, we never did support multiple architectures for images in the control file. This should now be fixed; we accept a space separated list of architectures now. (Closes: #373774). * kernel-package: arch/powerpc/include/asm symlink is not included in the *-headers package, thanks to Eddy Petrisor. now we ship all of arch/$KERNEL_ARCH/include. (Closes: #372233). * Added documentation to the man page that just adding --cross-compile does not in any way set the compiler used by the build system. That still has to be done explicitly. -- Manoj Srivastava Fri, 16 Jun 2006 15:51:53 -0500 kernel-package (10.048) unstable; urgency=low * Bug fix: "kernel-package: Please install linux-uml modules in /usr/lib/uml/modules/$UML_VER/", thanks to Mattia Dongili. The new rootstrap can automatically install UML modules at build time, as long as the installation directory is compatible. This makes it so. (Closes: #369155). * Bug fix: "kernel-package: Please don't conflict with user-mode-linux packages", thanks to Mattia Dongili (Closes: #369918). * Bug fix: "kernel-package: Do not flattern the linux-uml modules directory structure", thanks to Mattia Dongili (Closes: #369154). * make-kpkg fails on amd64 for xenalso consider CONFIG_X86_64_XEN (any more architectures that Xen would support, this method is gonna get untenable). This'll fix Xen building on AMD64. Please note that cross compiling may not work yet -- but that is a kernel build system issue. (Closes: #365092). * Bug fix: "kernel-package: [powerpc, prep] Please apply patch to allow to build 2.6.16 -prep kernels.", thanks to Sven Luther (Closes: #369017). -- Manoj Srivastava Mon, 5 Jun 2006 17:30:33 -0500 kernel-package (10.047) unstable; urgency=low * Please remove ARCH_IN_NAME kludge on sparc, thanks to Jurij Smakov. Actually, I don't hink that sparc was the only contituency for ARCH_IN_NAME, so the it is not obsolete. I only applied portions of the patch as they apply to sparc.mk. (closes: Bug#365751) -- Manoj Srivastava Tue, 2 May 2006 16:56:54 -0500 kernel-package (10.046) unstable; urgency=low * Bug fix: "make-kpkg fails on amd64 for xen", thanks to Goswin Brederlow (Closes: #365092). * Provide additional information to the inage post processing script for powerpc -- Manoj Srivastava Sun, 30 Apr 2006 14:53:17 -0500 kernel-package (10.045) unstable; urgency=low * Bug fix: "kernel-package: linux-image*.postrm uses debconf", thanks to Sven Joachim. Well. The postinst did not actually use debconf, just make it available for hook scripts. Now it just conditionally loads debconf, and it is up to the hook scripts to take care of prompting when debconf is missing. (Closes: #363645). * Bug fix: "kernel-package: amd64 arch also needs xen support", thanks to Nate Carlson (Closes: #362628). -- Manoj Srivastava Thu, 20 Apr 2006 10:30:34 -0500 kernel-package (10.044) unstable; urgency=low * Fix typo in powerpc specific rules. -- Manoj Srivastava Fri, 14 Apr 2006 10:24:14 -0500 kernel-package (10.043) unstable; urgency=low * Update mkvmlinuz support handling -- Manoj Srivastava Thu, 13 Apr 2006 10:52:12 -0500 kernel-package (10.042) unstable; urgency=low * Arrgh. Typo fix in domU package name, inux -> linux -- Manoj Srivastava Wed, 12 Apr 2006 15:21:44 -0500 kernel-package (10.041) unstable; urgency=low * Bug fix: "Support for Xen as a subarch", thanks to Tore Anderson. No special handling need be required -- with a properly created .config file, make-kpkg should automatically detect Xen 3.0.1 or 3.0.2, and appropriately set the arch and subarch variable. (Closes: #346387). * kernel/pkg/image/postinst (fix_source_link): Clarify that it is the link target that we cannot see the contents of. * kernel/ruleset/arches/i386.mk: Add in separate stanzas for a subarch Xen, versus the normal i386 build. We change boot loader definitions, dependencies, targets, and image destinations. * kernel/ruleset/architecture.mk: No longer assume that the presence of CONFIG_XEN implies the ARCH is also xen; since now the ARCH is i386, but the subarch is xen. * kernel/ruleset/common/archvars.mk: Now we include .config earlier, to allow us to detect xen and uml, and automatically set the arch and subarch variables based on the configuration file. This help people like me who routinely forget to give --arch um to make-kpkg, and wonder why my uml virtual machine fails. * kernel/ruleset/kernel_version.mk (debian_LOCALVERSION): Late evaluation to allow all components to settle. * kernel/ruleset/misc/pkg_names.mk (i_package): Modify the names of the Xen image packages based on type of xen image being built. * kernel/ruleset/targets/image.mk (install/$(i_package)): Make sure that the System.map and config files installed in /boot for Xen images have a string in the name ti disambiguate them from "normal" image packages files. -- Manoj Srivastava Wed, 12 Apr 2006 13:58:11 -0500 kernel-package (10.040) unstable; urgency=low * Document the version of kernel-package used liberally in build logs now. This should mitigate any future doubts about which version of kernel-package is in use. * Bug fix: "kernel-package missing .kernelrelease for 2.6.16 headers", thanks to Paul (Closes: #359818). * Bug fix: "kernel-package: Doesn't handle CONFIG_LOCALVERSION", thanks to David Liontooth. Thanks to Jan Niehusmann, who noticed my blind spot about how dot-config was set to 0 (Closes: #359187, #335541). -- Manoj Srivastava Wed, 29 Mar 2006 10:10:48 -0600 kernel-package (10.039) unstable; urgency=high * In 2.6.16, the top level Makefile added a unified local version variable called localver-full -- which is what we need to pay attention to, not $(LOCALVERSION). This caused a slew of build failures, wihch have been variously reported -- for example, "kernel-package: Doesn't handle CONFIG_LOCALVERSION", thanks to David Liontooth (Closes: #359187). * The same changes also allow for us to support _all_ local version variations, including: "Support for LOCALVERSION_AUTO possible?", thanks to Jan Niehusmann (Closes: #335541). * Goswin von Brederlow added support for building other archs of a multiarch set like i386/amd64. Usage is with --arch --cross-compile -. + ruleset/misc/defaults.mk: Set CROSS_COMPILE="" if it is '-'. + ruleset/common/archvars.mk: Don't override DEB_HOST_* if CROSS_COMPILE='-'. (Closes: #359019). * Urgency high since this is required to correcltly build 2.6.16 kernels with any local version settings. -- Manoj Srivastava Mon, 27 Mar 2006 12:03:22 -0600 kernel-package (10.038) unstable; urgency=medium * The debconf templates broke. -- Manoj Srivastava Thu, 23 Mar 2006 23:09:44 -0600 kernel-package (10.037) unstable; urgency=medium * Bug fix: "kernel-package: modules_image target broken", thanks to Henrique de Moraes Holschuh. Patch thanks to Kevin Locke. The same problem potentially existed elsewhere, so I applied the same solution all over. (Closes: #355147). * Bug fix: "kernel-package: Please document --rootcmd sudo failure with env_reset", thanks to Kevin Locke. Done. (Closes: #357499). * Bug fix: "linux-image: error message missing words/variables/parameters", thanks to Justin Pryzby (Closes: #344374). * Bug fix: "kernel-package: Please allow for translatable debconf templates in created packages", thanks to Christian Perrier (Closes: #355994). * Vy popular demand, we toned down the checks for overwriting previously installed kernels. Instead of checking for /lib/modules/$version, we only check is /lib/modules/$version/kernel exists. This means that third party modules shall not trigger any interactions with the user; it is up to the users to handle incompatibilites between previously installed third party modules and the new kernel. No check on official kernel images -- any incompatibilities should result in an ABI number change. -- Manoj Srivastava Wed, 22 Mar 2006 14:24:16 -0600 kernel-package (10.036) unstable; urgency=low * Apparently we were not copying over the rules file into the kernel-headers package. fixed that. * Bug fix: "kernel-package: config placed in /usr/bin when building UML kernels", thanks to Paul Dwerryhouse (Closes: #353490). * Bug fix: "Please put localversion file into kernel-headers", thanks to Nikita V. Youshchenko (Closes: #354452). * Tightened the version check when building modules. * Bug fix: "cp: cannot stat `/etc/scsi_id.config'", thanks to dann frazier. Initramfs-tools now have a wrapper. (Closes: #352705). * Bug fix: "Incorrect Destination, Unchangable Destination", thanks to Elliott Mitchell.Fixed destination to use DEB_DEST. (Closes: #353817). -- Manoj Srivastava Mon, 27 Feb 2006 13:18:56 -0600 kernel-package (10.035) unstable; urgency=low * Bug fix: "k-p fails to build documentation packages", thanks to Kapil Hari Paranjape. Well, kernel-manual is not supposed to be an independent target, it is supposed to depend on and simultaneously build the kernel-doc package as well. Indeed, if the kernel-doc package is not also built, we will have a broken manual package. So, change the prereqs. (I had only tested make-kpkg buildpackage, so the doc package was always available). (Closes: #352169). * Bug fix: "kernel-package: latest unstable version breaks 2.4.27 image builds", thanks to Horms. Reversed the order of the version test. The old way was buggy. (Closes: #352152). -- Manoj Srivastava Sun, 12 Feb 2006 14:06:21 -0600 kernel-package (10.034) unstable; urgency=low * Bug fix: "kernel-package: check for -j in MAKEFLAGS is not quite correct", thanks to Nathaniel Smith. Added mush more prominent warnings in the documentation. The check itself is merely a convenience, we should warn users about the pitfalls of setting -j in MAKEFLAGS directly. (Closes: #350665). * Fixed a problem build hppa kernel images. -- Manoj Srivastava Tue, 7 Feb 2006 09:48:52 -0600 kernel-package (10.033) unstable; urgency=low * Bug fix: "upstream treats mipsel and mips as one arch", thanks to Martin Michlmayr (Closes: #349527). * Bug fix: "kernel-package: Typo in the Spanish make-kpkg man page", thanks to Nicolas François (Closes: #349750). * Bug fix: "Please add support for armeb", thanks to Martin Michlmayr (Closes: #350332). -- Manoj Srivastava Sat, 28 Jan 2006 22:38:15 -0600 kernel-package (10.032) unstable; urgency=low * Bug fix: "linux-source-2.6.15: build fails: make-kpkg error on install -p -m 644 debian/buildinfo ...", thanks to darren. Hmm. Apparently, the streamlining done in the last version was a bit too stream lined. Added a dependency t the image target so we do build buildinfo. (Closes: #347487). -- Manoj Srivastava Thu, 12 Jan 2006 09:21:20 -0600 kernel-package (10.031) unstable; urgency=low * Optimize building kernel headers on recent kernels. * kernel/ruleset/local.mk (kernel-headers kernel_headers) Make kernel-headers depend on debian/stamp-prepare, instead of stamp-build-arch, since this means for 2.6.X kernels the full build may not be needed, with the advent of the prepare target. * kernel/ruleset/targets/target.mk (debian/stamp-prepare): Added this target: on new kernels, it merely calls prepare. I wish I could come up with a non-kludgey way of testing for the presence; I guess calling make -np |grep would work, but it is simple enough to just test the version numbers. When it breaks, we'll see. On older kernels it still calls the stamp-build-arch target. * Unfortunately, this still does not fix #345939, since we have $(patsubst %,BUILD/%,$(DEB_ARCH_PACKAGES)) :: BUILD/% : testdir BUILD-arch Which means that we build the kernels for all arch related packages -- it is hard to follow all the dictums of policy and cherry pick some of arch related packages _without_ doing the build. * Now, we moved building the kernel out of the build-arch target, and into the kernel image target instead. Does not help a lot overall, but may prevent duplicate invocations of build. * All in all, made a bunch of changes to optimize for speedier rebuilds. * Add a - in the check target when checking config as well. * Bug fix: "kernel-package: FTBFS: Missing Build-Depends on 'debconf'", thanks to Andreas Jochens (Closes: #347345). -- Manoj Srivastava Tue, 10 Jan 2006 13:10:41 -0600 kernel-package (10.030) unstable; urgency=low * Make the kernel image psotinst more resilient towards errors in initramfs generators. The old behavior was that the postinst took the list of generators (either determined based on the kernel version being installed, or the user's preferences), asked each one of the listof candidate generators wehther they supported the running and to be installed versions of the kernel, and then tried the first of the list of those that answered yes. The new behaviour is not to just stop at th first viable candidate, but to continue down the list until we get a generator that succeeds. * reverse the order of mkinitramfs and mkinitrd.yaird in the dependency list of the kernel image packages, since then initramfs-tools shall come earlier in the dependency listing, and apparently initramfs-tools currently has fewer problems upgrading from older kernel versions that do not support /sys (like, say, Sarge kernels). The users can still provide their preferences in kernel-pkg.conf while building, or kernel-img.conf while installing; all we are doing is changing the default order of dependencies. * Bug fix: "kernel-package: make-kpkg ignores the --revision argument", thanks to Greg NorrisRemoved the calculation of$(debian) from version_vars.mk, since this is included before the config file is included, so the latter always over rides the setting of the debian revision on the command line. Instead, add it to config.mk, since it is included _after_ the config file is. Also, make-kpkg was not really passing --revision down to minimal.mk -- oops. (Closes: #345799). -- Manoj Srivastava Tue, 3 Jan 2006 19:41:34 -0600 kernel-package (10.029) unstable; urgency=low * Change INSTALL_MKVMLINUZ_PATH specification to be relative to the top of the iamge package -- Manoj Srivastava Sat, 31 Dec 2005 11:32:02 -0600 kernel-package (10.028) unstable; urgency=low * Bug fix: "kernel-package GUESS_SUBARCH should be dependent on kernel version too.", thanks to Sven Luther. tweakewd the supplied powerpc.mk to accept all 4 variants of the arch name. (Closes: #345198). -- Manoj Srivastava Thu, 29 Dec 2005 15:00:56 -0600 kernel-package (10.027) unstable; urgency=low * Bug fix: "kernel-package: Typo in make-kpkg: s/maybe/may be/", thanks to Karsten M. Self (Closes: #344956). * Bug fix: "kernel-package: More typos", thanks to Frans Pop. I usually don't go back and change old changelogs, seems too close to rewriting history. But, I suppose typo fixes are OK (Closes: #344828). * Bug fix: "kernel-package: Hangs on purge of new Sparc 2.4 kernels", thanks to Frans Pop. Well. It does not hang on i386, and I think the change made to the postrm will fix it even for sparc, so here's keeping ones fingers crossed (Closes: #344918). * Bug fix: "kernel-package: [powerpc] k-p does funny things with dpkg-architecture, breaks kernel builds", thanks to Sven Luther (Closes: #344833). -- Manoj Srivastava Wed, 28 Dec 2005 13:05:40 -0600 kernel-package (10.026) unstable; urgency=low * Bug fix: "kernel-package: Typos in NEWS.Debian", thanks to Frans Pop (Closes: #344556). * Bug fix: "ARCH=powerpc instead of ARCH=ppc on powerpc kernels << 2.6.15", thanks to Don Armstrong. Fix from Sven Luther. (Closes: #342767). * Bug fix: "kernel-package: [powerpc] powerpc is switching from ARCH=ppc/ppc64 to ARCH=powerpc ...", thanks to Sven Luther (Closes: #340629). -- Manoj Srivastava Sun, 25 Dec 2005 12:19:53 -0600 kernel-package (10.025) unstable; urgency=low * Bug fix: "kernel-package: latest unstable version breaks linux-2.6 build on amd64", thanks to Frederik Schueler. Now we let the architecture still be whatever DEB_HOST_ARCH_CPU says it should be. Just set KERNEL_ARCH correctly on amd64/x86_64 machines early, so that make-kpkg clean does not flake out when there is no ./debian dir. Accept either x86_64 or amd64 as the architecture, just in case, when selecting the correct Makefile snippet. So it is perfectly fine to still say --arch=amd64, like linux-2.6 does (Closes: #344740). * Bug fix: "[powerpc] k-p 10.00x breaks debconf based /etc/kernel/*.d scripts like mkvmlinuz", thanks to Sven Luther. Well. In the recent 10.X series, kernel package has started producing image packages whose maintainer scripts use debconf for user interaction. Unfortunately, this meant that any hook scripts called in the maintainer scripts for the image package (update-grub comes to mind), if they wrote anything at all to the STDOUT, would cause debconf to throw hissy fits, since it was expecting commands on STDOUT, not random chatter from the hook scripts. One solution was to call db_stop before calling the hook scripts, and redirecting stdout to stderr in hte invocation of the scripts. Unfortunately, this made any scripts that used debconf impossible. So, either we ban scripts that are interactive, or scripts that scribble on stdout. Since the former makes some functionality impossible (some scripts can deliver added functionality and flexibility if they can interact with users), and the latter just needs a code change, I would prefer to ask packages that provide scripts to be used in kernel image postinst/postrm to use debconf for user interaction, and to send diagnostics to STDERR. (Closes: #344413). -- Manoj Srivastava Sun, 25 Dec 2005 10:14:33 -0600 kernel-package (10.024) unstable; urgency=low * Bug fix: "kernel-package: fails to build for KPKG_ARCH=uml", thanks to Libor Klepac (Closes: #344427). -- Manoj Srivastava Thu, 22 Dec 2005 20:47:53 -0600 kernel-package (10.023) unstable; urgency=low * Do not append 1>&2 to the invocation of hook scripts. This means that the hook scripts should not write to stdout, since despite db_stop debconf does not restore stdout. The reason because we no longer redirect is that some scripts may need to use debconf themselves, so this change helps them (at the expense of other scripts that wrote to stdout). (Closes: #344413). -- Manoj Srivastava Thu, 22 Dec 2005 10:07:49 -0600 kernel-package (10.022) unstable; urgency=low * Bug fix: "bug in initrd.mk prevents make-kpkg from creating dependency on initrd-tools", thanks to Nikita V. Youshchenko (Closes: #344393). -- Manoj Srivastava Thu, 22 Dec 2005 07:56:23 -0600 kernel-package (10.021) unstable; urgency=low * Bug fix: "make-kpkg clean does not work on x86_64", thanks to Junichi Uekawa. Well, we set architecture now to default to what the kernel calls the arch. (Closes: #344335). * Bug fix: "/lib/modules/$kver/modules.ofmap should be removed in postrm", thanks to Theodore Y. Ts'o (Closes: #344362). -- Manoj Srivastava Thu, 22 Dec 2005 00:28:17 -0600 kernel-package (10.020) unstable; urgency=low * Fix issues with conf.vars. Make build.arch also depend on conf.vars. * Bug fix: ""kernel source package used" is not written in buildinfo", thanks to Alexandros Vellis (Closes: #344007). -- Manoj Srivastava Mon, 19 Dec 2005 20:14:02 -0600 kernel-package (10.019) unstable; urgency=low * Bug fix: "kernel-package: modules_clean target creates changelog with wrong revision", thanks to Michael Spang. Firstly, the wrong version number should make no difference to the module being cleaned -- after all, it is a clean. The creation of ./debian is an inconvenience, so now make-kpkg would refuse to run modules_* unless you already have a ./debian directory. And, as far as I know, modules_clean is not actually required by any modules package packaged in Debian, it is merely a disk space conserving convenience thing. (Closes: #343559). -- Manoj Srivastava Sat, 17 Dec 2005 08:10:28 -0600 kernel-package (10.018) unstable; urgency=low * Also install arch/$(KERNEL_ARCH)/Makefile.cpu in the headsers package, since it is needed by newer kernels. Thanks to Stefan Lippers-Hollmann. * When done with debconf, call stop: this shall help prevent errors if the hook scripts write to stdout. Also, when calling the hook scripts, redirect stdout to stderr, just in case -- and to ensure that the messages do not silently disappear. * Bug fix: "kernel-package: FTBFS: Missing Build-Depends on debconf", thanks to Daniel ScheplerAlso, since we now use debconf in all the postinst file, but do not build depend on it, ignore some test errors while building. This is far better solution, since we can't load debconf as non root anyway. (Closes: #343170). -- Manoj Srivastava Tue, 13 Dec 2005 14:29:21 -0600 kernel-package (10.017) unstable; urgency=low * Somehow, arm.mk never made it into the 10.X series -- so it was not possible to build images on ARM. Fixed. -- Manoj Srivastava Fri, 9 Dec 2005 15:05:24 -0600 kernel-package (10.016) unstable; urgency=low * There was a logic error in the ramfs selection tool logic, such that the code always acted as if the kernel version was (> 2.6.8) && (<= 2.6.12). Fixed . -- Manoj Srivastava Wed, 7 Dec 2005 09:57:50 -0600 kernel-package (10.015) unstable; urgency=low * Bug fix: "kernel-package: Error setting debconf flags in generated linux image", thanks to Ruben Porras. Darn. Don't emit messages to STDOUT, we are now using debconf, which gets all confused. (Closes: #342143). -- Manoj Srivastava Mon, 5 Dec 2005 15:43:33 -0600 kernel-package (10.014) unstable; urgency=low * Bug fix: "buggy find option -- broken build", thanks to Marc Dequènes (Closes: #342062). * Bug fix: "make-kpkg doesn't work with make 3.80-9", thanks to Adam Heath (Closes: #342066). -- Manoj Srivastava Sun, 4 Dec 2005 23:12:33 -0600 kernel-package (10.013) unstable; urgency=low * Minor clean ups. Made the postinst script a trifle more verbose to help in diagnosing errors. -- Manoj Srivastava Sun, 4 Dec 2005 15:11:44 -0600 kernel-package (10.012) unstable; urgency=low * It was pointed out to me that the ability to build third party modules using make-kpkg and linux kernel headers packages had broken with recent kernel packages, since the check for whether we were in a top level kernel source directory failed to take into account if we were in a header package directory, which is sufficient. * Additionally, older kernel-package versions appear to want to run oldconfig in the headers package tree, which failed, since there was inadequate support for running oldconfig. This has also been fixed, since all we really need to depend on is a .config file. * Finally, make-kpkg insists on there being a ./debian directory, and it makes sense to ship the directory in the source and header packages, since shipping it means that we also remove the need for kernel-package to be installed on the target system -- Manoj Srivastava Sat, 3 Dec 2005 02:55:33 -0600 kernel-package (10.011) unstable; urgency=low * Bug fix: "DEBIAN/ directory doesn't appear to exist at image_clean_hook time", thanks to Don Armstrong. Moved the hooks for image and headers later in the process. (Closes: #339659). * Bug fix: "kernel-package: kernel-image-deb mentioned in README.gz but removed in 10.x", thanks to Marc Haber. Well. The new name is stamp-kernel-image. Changed docs, and added kernel-image-deb temporarily as an alias. (Closes: #340978). -- Manoj Srivastava Thu, 1 Dec 2005 15:30:27 -0600 kernel-package (10.010) experimental; urgency=low * Bug fix: "kernel-package: Fails to build ppc64 2.6.14 kernel", thanks to Juergen Kreileder. Sven Luther provided the patch (Closes: #338449). -- Manoj Srivastava Thu, 10 Nov 2005 21:47:09 -0600 kernel-package (10.009) experimental; urgency=low * The long obsolete --flavour option is now gone, and --apend-to-version should be used. Also, --append-to-version may soon be superceded with --abi, stay tuned. * Speed up the stripping code in kernel header packages, by only looking at the scripts directory (which was the only place with the elf binaries). -- Manoj Srivastava Wed, 9 Nov 2005 22:55:55 -0600 kernel-package (10.008) experimental; urgency=low * Well, it turns out that only on some architectures do we havea binary using a dynamically loaded shared library, so the call to dpkg-shlibs was failing on the others. Now, go throug a complex dance in which we either call dpkg-shlibs, or edit the control file using Perl, so that both cases can be catered to. -- Manoj Srivastava Tue, 8 Nov 2005 08:51:08 -0600 kernel-package (10.007) experimental; urgency=low * Aaargh, typo in the kernel header rules. * The generated packages should not have native version numbers by default, since they are not really debain native packages. The problem was that the default version generated did not have a -, so chnaged that value. The files affected are kernel-pkg.conf, README, kernel/ruleset/misc/version_vars.mk , kernel-pkg.conf.5, kernel/docs/README, kernel/ruleset/misc/config.mk. * While looking at Lintian errors, I noticed that apparently kernel-headers package carries with it an elf binary, and thus should depend on the shared libraries -- but did not. Fixed now by a search and a call to dpkg-shlibs. Various minor nitpicks in the default Control file also fixed. * We also added a make snippet to find and strip the binaries we need to run dpkg-shlibs upon, since that is the policy. * kernel/ruleset/targets/image.mk: Export the variable IMAGE_TOP before calling scripts in $(SRCTOP)/debian/image.d and debian/post-install, since that is what they expected. Bad idea changing an exposed interface. * kernel/pkg/image/postrm: Call purge to remove the questions from debconf database when the package is purged. -- Manoj Srivastava Tue, 8 Nov 2005 01:03:49 -0600 kernel-package (10.006) experimental; urgency=low * Hmm. We need to take special care of the case in which the kernel-headers are installed after the kernel-image has been; and the build symlink is not setr. In this case, the header postinst now correctly installs the build symlink. -- Manoj Srivastava Mon, 7 Nov 2005 12:44:21 -0600 kernel-package (10.005) experimental; urgency=low * Bug fix: "kernel/image.postinst should mention GRUB", thanks to Martin Michlmayr. Well, I don't see why we should mention _any_ boot loader at all, so we are no longer biased against grub. (Closes: #336927) * Bug fix: "kernel-package: Using dpkg --remove followed by dpkg --install does not restore the kernel package", thanks to Daniel Jacobowitz. Also: "kernel-package tells me we're being reinstalled AND updated". Actually, the installed/updated is just sematics; when you reinstall a kernel image you are updating it, and vice versa. The actual problem was that while the symbolic links were removed when the package was removed, dpkg passed the last-version-configured to the postinst, and we took that as evidence that the package had been installed before -- which, while true, did not take into account that the package was currently uninstalled. The fix is to always see if a missing symlink needs to be installed, and not touch existing symlinks. (Closes: #336733, #336517). * Added kernel/pkg/headers/create_link as an example. The user can install it in the postinst.d directory to set up the /lib/modules/foo/build symlink to point to the kernel-headers. This is not needed, since the kernel-image postinst already checks in the /usr/src/ directory for an installed kernel headers package. * Convert the image prerm scripts to debconf as well, the questions are asked if we try to remove the running kernel image, or if we are removing a kernel version mentioned in boot loader configuration. * Have the minimal.mk not overwrite the control or the changelog file. * Added a whole slew of config files, and updated older ones, to bring the configurations offered up by default to be more in line with official kernels. * Fixed substitutions in the kernel image package, there was a duplicate =B substitution. * Ran lintian on all the generated packages. Fixed FSF address in all the copyright notices, and fixed case in the templates file as well. This shall be the last experimental release, barring major problems. -- Manoj Srivastava Mon, 7 Nov 2005 10:44:39 -0600 kernel-package (10.004) experimental; urgency=low * Bug fix: "using debconf", thanks to Robert Millan (Closes: #115884) * Bug fix: "does not install non-interactively", thanks to Matt Kraai (Closes: #247782) * This fine tunes the dependencies between targets. All of the package building targets are ones that insert themselves into the normal flow of policy specified targets, so they must hook themselves into the stream. That means, in essence, that they must depend on the configure and corresponding build targets (with stamps) and ensure that the prep work is all done before they are invoked. The advantage is that nothing is going to be remade more often than it needs to. It also means we do not need to produce as many stamp files. So, the only dependencies on any of the intermediate targets are targets that have not been registered into the ladder created in rulesets/common/targets.mk * The kernel image maintainer scripts have been greatly changed. Firstly, they now use debconf; and a number of questions have been moved to the config file (create-kimage-link-$version, old-initrd-link, old-dir-initrd-link, old-system-map-link) while others are asked conditionally in the postinst (depmod-error, depmod-error-initrd, bootloader-test-error, bootloader-error). The postinst has also become far less verbose; the users are far better educated a decade after this was written, and there are other sources of information about booting than the postinst of a kernel image. * The preinst also uses debconf. All the questions asked are still here -- we just use debconf to ask the user. Also, the priority, and need to break non-interactive installs was re-evaluated, and the preinst breaks in far fewer cases than it did before. * Second, the postinst gets rid of the code that generated boot floppies and created lilo.conf (that latter was probably illegal under current policy anyway). The do_boot_enable and do_boot_floppy configuration variables in /etc/kernel-img.conf are now invalid. * Also, the source tree is not automatically cleaned; the do_clean configuration variable, and the environment variable CLEAN_SOURCE are now control if the source tree is optionally cleaned after the kernel image package is built. -- Manoj Srivastava Thu, 3 Nov 2005 23:26:29 -0600 kernel-package (10.003) experimental; urgency=low * Bug fix: "can not clean up the kernel source tree", thanks to Chun-Chung Chen. (Closes: #336409) * Bug fix: "kernel-package creates packages depending on linux-initramfs-tools, should use linux-initramfs-tool", thanks to Thomas Luzat. (Closes: #336724) * Bug fix: "/usr/share/doc/kernel-package seems to contain broken symlinks", thanks to Thomas Luzat (Closes: #336744) * This is a major reorganization of the rules file that helps create kernel related packages. The crusty old mechanism has been removed, the targets are now streamlined, and the policy mandated dependencies are now called out into a separate file. This should allow a future enhancement to allow end users to override the behavior of kernel-package in a fine grained fashion. Also, separating out the variable setting for each arch into a separate file should facilitate the delegation of that file to the person responsible for kernel images for that architecture. And, separating out the policy mandated targets into fine grained double colon targets allows people to add in any additional make targets for a particular architecture, something long requested. One of the factors that made the build mechanism so complex was that the rules file had a dual purpose: Initially, when ./debian was not present or not populated, it was responsible for populating that, and then it was responsible for building the kernel packages, incorporating any user customizations. Unfortunately, since Make reads all the commands at startup, it was difficult to incorporate any customizations, but the modularization of the rules file makes it possible to have two top level files, a minimal make file whose sole responsibility is to populate ./debian (and run clean even when ./debian does not exist), and which uses some of the same variable setting make snippets that the final top level Make file uses when it resides in ./debian. The task of deciding which top level makefile to use has now been relegated to /usr/bin/make-kpkg -- which, if there ./debian is empty or not present, first calls the minimal Makefile to populate it, and _then_ calls the real ./debian/rules file to perform the actual task that it was asked. This little intelligence in make-kpkg allows the minimal makefile, and ./debian/rules, to be far simpler, and allows them to conform to the standards my other Debian packages adhere to. The goal of this release was to handle the bugs in the previous experimental release, but to create a set of packages indistinguishable from the ones created before. Pointedly, non-of the minor lacunae in the Debian kernel image postinst scripts have been addressed yet. Also, the build process is a little more verbose at the moment than it needs to be. -- Manoj Srivastava Wed, 2 Nov 2005 14:16:19 -0600 kernel-package (10.002) experimental; urgency=low * Bug fix: "kernel-package: Problem with kernel_version.mk causes build fauilure", thanks to Horms (Closes: #335993). * This is a fairly large reorganization of the directory and file layout for the package. Instead of a mostly flat directory structure with a giant monolithic rules files, we are moving towards a more organized structure, with finer granularity of files, which may in the future facilitate third party replacement and overriding of parts of the build mechanism. Also, this reorganization may make the overall structure easier to see (though it may also result in it being harder to get the big picture, but I doubt that). This time around, I am trying to keep substantive changes to a minimum, so files have just been broken up, moved around, but the package should still more or less behave the way that it always did (apart from changing the stem). * kernel/rules (DEBDIR): Test to see if we have ./debian/kernel_version.mk, since all kinds of other people create ./debian * Makefile (install): Adjust for the reorganization of the files, since the source files are no longer in their previous locations. Keep the destination mostly the same. * kernel/rules: This is the one file that has faced the brunt of the changes. Large chunks of it have been moved out into separate chunks included in this file. The major addition has been are mechanisms to allow the file to be broken up. The parts removed are o) dpkg-architecture variable are now moved out to ruleset/common/archvars.mk o) The variables set in the file have mostly been moved to ruleset/local-vars.mk, which shall be further broken up into smaller parts o) For example, the per arch variable settings have already been moved out of ruleset/local-vars.mk into ruleset/architecture.mk -- and shall be further fragmented into files in ruleset/arches/, so that it would be easier to delegate ownership to domain experts. o) The action/rules part of the file have been broken out to ruleset/local.mk -- and shall be broken out into ruleset/common/targets.mk (which contain policy mandated targets, and their dependencies, and ruleset/actual_rules.mk, where the grunt work shall be done. It may make sense to further divide ruleset/actual_rules.mk into separate files for images, headers, doc, and manual packages. At a later stage, actually installing files into ./debian/tmp- shall be separated out from the subsequent packaging into separate targets (probably in the same file), to allow finer granularity for debugging. -- Manoj Srivastava Fri, 28 Oct 2005 09:03:41 -0500 kernel-package (10.001) experimental; urgency=low * Bug fix: "doesn't install: Internal Error: Could not find image (/boot/vmlinuz-2.4.27-xxs1500)", thanks to Martin Michlmayr. Well, calling kimage vmlinux.srec was breaking the postinst. However, kimage does not seem to be used anywhere except in determining the next value, namely, kimagesrc -- so I just added .srec to kimagesrc, and thus eliminated the need for hacking the postinst. So the fix was earlier in the build process, and not deferred to the postinst. (Closes: #333220). * Acknowledge the changes made for initrd stuff in the NMU series. Thanks to Sven Luther for the work. I have made some changes, for example, instead of hard-coding the list of initrd tools one considers in the installation phase, now one can set that list by editing /etc/kernel-pkg.conf -- and this replaces the hard coded list. Of course, the admin at the target location can still over-ride that list by editing /etc/kernel-img.con (note, not the same as /etc/kernel-pkg.conf above); this makes things slightly more flexible. Also, the list of commands does not have to be the fully qualified path, the postinst and preinst use the PATH variable to find the commands. * kernel-img.conf.5: Document the fact that the ramdisk variable can now be a space separated list of init ram disk creation commands, which need to also support the --supported-host-version and --supported-target-version options, just like mkinitrd does. This is the list tried at installation time. * kernel-pkg.conf.5: Document the fact that one can provide the default values for the list by setting INITRD_CMD, but this list can be overridden by the one in kernel-img.conf.5. However, the defaults are set to a subset of "mkinitrd mkinitrd.yaird mkinitramfs", the subset being decided based on the version of the kernel being built, so one should refrain from setting this manually -- unless one knows what one is doing. * kernel/image.postrm, kernel/image.prerm: Added new variable for the initrd dependency, and also modified the variable ramdisk to be a space separated list of commands, not just a single command. * kernel/image.postinst, kernel/image.preinst: Added new variable for the initrd dependency, and also modified the variable ramdisk to be a space separated list of commands, not just a single command. (find_inird_tool): Added function to determine the list of viable initrd creation tools present on the target system, and use it to select which tool to use for creating the ram fs. * Bug fix: "'man make-kpkg' typo: 'thatthis'", thanks to A Costa (Closes: #335316). -- Manoj Srivastava Tue, 25 Oct 2005 04:00:35 -0500 kernel-package (9.008.4) unstable; urgency=low * Some small fixes. -- Sven Luther Mon, 24 Oct 2005 11:04:19 +0000 kernel-package (9.008.3) unstable; urgency=low * ramdisk generation tools now return 2 on --supported-* negative, so we can now add overrides for non- --supported-* supporting tools. -- Sven Luther Mon, 24 Oct 2005 10:34:46 +0200 kernel-package (9.008.2) unstable; urgency=low * Second take on the ramdisk generation tool resolution. Thanks go to Jonas Smedegaar and Steve Langasek for proposing this solution, and all others who discussed this. * Removed again conflicts since we can now handle legacy ramdisk generation tools. -- Sven Luther Sun, 23 Oct 2005 16:21:46 +0200 kernel-package (9.008.1) unstable; urgency=low * NMU with maintainer's permission. * Implement the new ramdisk generation tool finding plan. Thanks go to Mattia Dongili for helping me out with the needed perl code. * Added conflict with older version of the ramdisk generating tools to the resulting kernel-image package. * Upgraded manpage to reflect those changes. -- Sven Luther Thu, 20 Oct 2005 14:05:12 +0000 kernel-package (9.008) unstable; urgency=low * Bug fix: "xen.postinst contains illegal sed command", thanks to Michael Tautschnig (Closes: #329373). * Bug fix: "Fix netboot for mips ELF32 arc firmware", thanks to Thiemo Seufer (Closes: #329081). * Bug fix: "kernel-package: powerpc kernel packages don't remove cleanly", thanks to Eric Cooper (Closes: #327361). * Bug fix: "Give warnings during preconfigure, not during install", thanks to Bas Wijnen (Closes: #328784). -- Manoj Srivastava Wed, 28 Sep 2005 08:22:37 -0500 kernel-package (9.007) unstable; urgency=low * Update for MIPS kernels, thanks to Thiemo Seufer. (Closes: #323428). -- Manoj Srivastava Wed, 31 Aug 2005 10:30:18 -0500 kernel-package (9.006) unstable; urgency=low * Bug fix: "kernel-package: Modules placed in wrong directory when building user mode linux kernels", thanks to Paul Dwerryhouse (Closes: #323018). * Ever since we added section 9 man pages to the kernel-doc package, one can no longer install two different versions of the kernel-doc package simultaneously. Since this was deemed to be undesirable, now we have split off a kernel-manual-X.Y.Z package to provide kernel man pages. This works for 2.6 kernels, and I hope does not cause issues for older kernels. Please note that while one may install any number of kernel-doc packages at one time, only one kernel-manual package is supposed to be installed at any given time. * Bug fix: "kernel-package: typo in make-kpkg.1.gz", thanks to Henrik Holmboe (Closes: #322693). -- Manoj Srivastava Mon, 15 Aug 2005 23:42:08 -0500 kernel-package (9.005) unstable; urgency=low * Bug fix: "linux-2.6: [powerpc] does not include mkvmlinuz support", thanks to Sven Luther (Closes: #320798). * Bug fix: "linux-headers-2.6.12: header_postinst_hook is called twice in postinst", thanks to Peter Marschall (Closes: #320416). * Bug fix: "kernel-package: relink_src_link (in code) vs. relink_source_link (in man page) discrepancy", thanks to Peter Marschall (Closes: #320424). * Bug fix: "'man make-kpkg' typos: "coumentation","similiar", "tp", etc.", thanks to A Costa (Closes: #320561). * Bug fix: "'man kernel-img' typos: "absense", "initail", "issueing" x 2, "laoder", and "varable"", thanks to A Costa (Closes: #320562). * Bug fix: "'man kernel-pkg' typos: "Mutualy", "confguration", "differes", "instablity", "numberd", "similarily", and "usefule"", thanks to A Costa (Closes: #320563). * Bug fix: "'man make-kpkg' typo: "ro"", thanks to Martin Zobel-Helas (Closes: #321444). -- Manoj Srivastava Sun, 7 Aug 2005 10:45:11 -0500 kernel-package (9.004) unstable; urgency=low * Bug fix: "new kernel-package creates ridiculous symlinks in /boot", thanks to Itai Seggev (Closes: #319543, #319657). * Bug fix: "kernel-package: Wrong symbolic link vmlinux in /boot", thanks to Bin Zhang (Closes: #319452). * Bug fix: "new kernel-package creates ridiculous symlinks in /boot", thanks to Itai Seggev (Closes: #319515). * Bug fix: "Syntax error in kernel rules file", thanks to Jordi Mallach (Closes: #319632). * Bug fix: "linux-image-2.6.12-1-686: /vmlinuz and /initrd symlinks were botched after installing 2.6.12", thanks to Andrew Moise (Closes: #319664). * Bug fix: "kernel-package: Please support kernel building on the ppc64 architecture", thanks to Andreas Jochens (Closes: #320055). -- Manoj Srivastava Thu, 28 Jul 2005 00:13:15 -0500 kernel-package (9.003) unstable; urgency=low * Fix an unterminated variable reference. -- Manoj Srivastava Wed, 20 Jul 2005 07:54:26 -0500 kernel-package (9.002) unstable; urgency=low * Bug fix: "kernel-package: Spelling error in rules file", thanks to Peter Marschall (Closes: #317638). * Bug fix: "kernel-package: Spelling error in rules file", thanks to Aaron Howell (Closes: #313338). * Bug fix: "kernel-package: Missing 'scripts' directory in kernel-headers produced by make-kpkg", thanks to Marc L. de Bruin. Also added Module.symvers, thanks to Ryan Underwood for pointing that out. (Closes: #315858). * Bug fix: "describe -stem in the manpage", thanks to dann frazier (Closes: #318397). * Bug fix: "kernel-package: possibly missing xargs option in rules file", thanks to Rob Browning (Closes: #318378). * Bug fix: "kernel-package: Please consider adding (or commenting on) this official powerpc/ppc64 patch", thanks to Sven Luther (Closes: #318431). * Bug fix: "kernel-package: please include more --config options", thanks to Andres Salomon (Closes: #318962). -- Manoj Srivastava Tue, 19 Jul 2005 10:34:06 -0500 kernel-package (9.001) unstable; urgency=low * The previous solution was only one half of the problem: we had made kernel_arch available to the maintainer scripts, but had not exported the variable to the hook scripts that the maintainer scripts run. This is the second half of that work. * Bug fix: "/u/s/k-p/image.postinst: $force_move logic recently broke", thanks to Aaron M.; "kernel-package: symlinks in /boot aren't update for packages created with make-kpkg", thanks to Itai Seggev. These are the same bug, and indeed, as Aaron analyzed, were cause by a misplaced '}'. (Closes: #313312, #312917). * Thanks to Ubuntu and jbailey, there is now a new variable in /etc/kernel-img.conf: ramdisk, which allows the admin to choose a different program than /usr/sbin/mkinitrd for initrd generation. * Added a few bits and pieces for powerpc64 into the rules file. I am not sure I understand why one can't ever cross compile powerpc64 images, but I am adding this in for the duration. This work reflects changes in Ubuntu. * Bug fix: "Fails with make: i486-linux-gnu-gcc: Command not found", thanks to Nacho Más (Closes: #313053). -- Manoj Srivastava Mon, 13 Jun 2005 01:25:33 -0500 kernel-package (9.000) unstable; urgency=low * This is a bug fixing release, and hopefully stable. Next we embark on a cleanup, rewrite, and debconfification, so this may well be a version worth holding on to. * Bug fix: "kernel-package: Rearrange docs placement in kernel-doc", thanks to Eugene Konev (Closes: #308562). * Bug fix: "kernel-package: Please export KERNEL_ARCH variable to the post-install script", thanks to Jurij Smakov (Closes: #309423). * Bug fix: "kernel-package: [INTL:es] updated make-kpkg manpage", thanks to Ruben Porras (Closes: #310274). * Bug fix: "kernel-package: Does not clean up dangling 'source' symlink in postinst", thanks to Jurij Smakov (Closes: #309981). * Bug fix: "kernel-package: Please disable the version mismatch check for official kernels", thanks to Jurij Smakov. As all the debian kernel images are built from the same source, but with different binary image versions (the binary image version is a combination of the sub-arch and a variation of the kernel ABI), this check is erroneously triggered for them, terminating the build. With the patch builds finish fine. This does so by circumventing a sanity check, which has some value for the end user. (Closes: #312280). * Bug fix: "kernel-package: make-kpkg manpage should state that newer Kernel have cramfs support", thanks to Andreas Pakulat (Closes: #308221). -- Manoj Srivastava Wed, 8 Jun 2005 03:43:37 -0500 kernel-package (8.135) unstable; urgency=medium * Bug fix: "kernel-package incompatible with experimental dpkg", thanks to Thomas Luzat. The problem is that dpkg-architecture -qDEB_HOST_GNU_SYSTEM output haschanged for Linux, resulting in kernel-package failing to figure out the system time. So, added DEB_HOST_ARCH_OS, which is only supported in the dpkg in experimental so far. This ain't ever gonna get into Sarge, but shall be in Etch. Try to cope with the dpkg released with Sarge, as well as the future dpkg that shall be in Etch. Discussed with RM, and this was deemed wrthy of pushing into Sarge (Closes: #307587). * Bug fix: "kernel-package: [INTL:es] make-kpkg update", thanks to Ruben Porras (Closes: #307713). -- Manoj Srivastava Sat, 7 May 2005 03:02:25 -0500 kernel-package (8.134) unstable; urgency=low * Bug fix: "kernel-package: Symlink confusion", thanks to Juergen Kreileder. There was indeed an issue with the image postrm, if the link_in_boot option was set. (Closes: #304140). -- Manoj Srivastava Mon, 2 May 2005 00:57:04 -0500 kernel-package (8.133) unstable; urgency=low * Bug fix: "typo in /usr/share/kernel-packages/rules", thanks to Bart Cortooms (Closes: #307097). * Bug fix: "kernel-package: man make-kpkg does not document the binary-arch target", thanks to Intri Geri (Closes: #305266). -- Manoj Srivastava Sun, 1 May 2005 14:20:43 -0500 kernel-package (8.132) unstable; urgency=low * Delete trailing whitespace in the rules file. This one change closes the next 4 bugs: * Bug fix: "kernel-package: does not build kernel_headers", thanks to Ingo Saitz (Closes: #304568). * Bug fix: "kernel-package: Regression between 8.130 and 8.131", thanks to Roland Mas (Closes: #304631). * Bug fix: "kernel-package: errors in script", thanks to Alberto Maurizi (Closes: #304687). * Bug fix: "Compilation with make-kpkg fails", thanks to Johnny Morano (Closes: #304851). -- Manoj Srivastava Fri, 15 Apr 2005 19:28:53 -0500 kernel-package (8.131) unstable; urgency=low * Bug fix: "kernel-package: README.modules should include targets called", thanks to Kevin Locke (Closes: #303833). * Updated spanish man pages. * Spit out a warning of the module dir does not exist. Earlier, we were silently ignoring missing third party modules. * Bug fix: "Support for kfreebsd", thanks to Robert Millan (Closes: #294235). -- Manoj Srivastava Wed, 13 Apr 2005 01:53:41 -0500 kernel-package (8.130) unstable; urgency=low * Bug fix: "kernel-package fails to build mipsel kernels", thanks to Thiemo Seufer (Closes: #301389). -- Manoj Srivastava Mon, 28 Mar 2005 19:07:20 -0600 kernel-package (8.129) unstable; urgency=low * Bug fix: "sed errors with kernel-package > 8.125", thanks to Edward J. Shornock. Need to quote $'s in make files. (Closes: #300491). -- Manoj Srivastava Sun, 20 Mar 2005 00:33:49 -0600 kernel-package (8.128) unstable; urgency=low * Bug fix: "kernel-package: Script errors during kernel build on sparc64", thanks to Frans Pop. Comment out _all_ the lines of a stanza, nit just the last two. (Closes: #300371). -- Manoj Srivastava Sat, 19 Mar 2005 10:17:31 -0600 kernel-package (8.127) unstable; urgency=low * Bug fix: "kernel-package: make-kpkg uses run-parts -v option, which breaks woody->sarge upgrades", thanks to Sven Luther (Closes: #299863). * Bug fix: "kernel-package: Missing CROSS_ARG causes spurious warnings", thanks to Hirokazu Takata (Closes: #298509). -- Manoj Srivastava Thu, 17 Mar 2005 21:12:35 -0600 kernel-package (8.126) unstable; urgency=low * Bug fix: "[kernel-package] make-kpkg fails on mipsel without subarch", thanks to Florian Lohoff (Closes: #299218). * Inconsistent CROSS_COMPILE Breaks External Modules. Well, make sure that we do not end up with a XXX-- as the corss arg, thus allowing people to specify things with or without a trailing -. (Closes: #298371, #29850). * Bug fix: "kernel-package: Missing CROSS_ARG causes spurious warnings", thanks to Horms. Added [atch (Closes: #297677). * Bug fix: "kernel-package: Update Kernel Maintainer", thanks to Horms (Closes: #297676). * Bug fix: "kernel-package: m32r architecture support", thanks to Hirokazu Takata (Closes: #298647). -- Manoj Srivastava Thu, 17 Mar 2005 01:45:13 -0600 kernel-package (8.125) unstable; urgency=low * Update ARM netwinder rules to be correct, thanks to vince (Closes: #296443). * Bug fix: "kernel-package: [patch] Please add nubus support", thanks to Sven Luther (Closes: #296450). * Bug fix: "kernel-package: should perhaps suggest or recommend bzip2", thanks to Krishna Sethuraman (Closes: #296696). * Bug fix: "add doc for initrd options", thanks to Alex (Closes: #290697). -- Manoj Srivastava Tue, 1 Mar 2005 14:52:20 -0600 kernel-package (8.124.1) unstable; urgency=low * NMU for release management reasons and d-i rc3 (deadline today) schedule. * Adds nubus support, thus allowing an upload of the new 2.4.27 powerpc packages. (Closes: #296450) -- Sven Luther Mon, 28 Feb 2005 11:02:18 +0100 kernel-package (8.124) unstable; urgency=high * Bug fix: "/etc/kernel-img.conf mkimage option fails", thanks to Artur Górniak (Closes: #296084). -- Manoj Srivastava Sun, 20 Feb 2005 00:07:35 -0600 kernel-package (8.123) unstable; urgency=high * Implement and document a hook for cleaning the kernel image package, for symmetry. * Make minor tweaks to the kernel_version.mk file to eliminate complaints about missing .config files. * Bug fix: "kernel-package: it fails to build my kernel with strange error message", thanks to Domenico Andreoli (Closes: #295149). -- Manoj Srivastava Sat, 19 Feb 2005 10:19:34 -0600 kernel-package (8.122) unstable; urgency=low * Bug fix: "kernel-package: vmlinuz symlink breaks install", thanks to Michael Spang (Closes: #295023). * Bug fix: "make-kpkg breaks make help", thanks to Uwe Zeisberger (Closes: #295387). * Bug fix: "'/lib/modules/2.x.xx-whatever still exists' message uncalled for when only headers installed", thanks to Joshua Kwan. Create a work around for the breakage introduced in official kernel-header packages, which added a build symlink in the modules directory, causing a long standing sanity check to trigger. (Closes: #295443). -- Manoj Srivastava Wed, 16 Feb 2005 01:52:52 -0600 kernel-package (8.121) unstable; urgency=low * Bug fix: "FTBFS: cannot build powerpc 2.6 kernels, missing rule for conf.vars", thanks to Sven Luther (Closes: #294751). * Bug fix: "kernel-package: only postinst/rm scripts get =D and co substituted, while preinst/rm do not ...", thanks to Sven Luther (Closes: #294736). * kernel-package locks up when building (Closes: #294889). -- Manoj Srivastava Sat, 12 Feb 2005 00:06:22 -0600 kernel-package (8.120) unstable; urgency=medium * Bug fix: "Warning message about initrd is out of date", thanks to Tore Anderson. Toned down the warning a lot, but left it in place since it is not clear that the need it fully gone. (Closes: #290675). * Bug fix: "kernel-package: Use versioned /etc/kernel/*.d directories to allow per kernel script launching.", thanks to Sven Luther (Closes: #294168). * Bug fix: "kernel-package: Using IMAGEDIR in /etc/kernel-pkg.conf make uninstall failed", thanks to Daniel 'NebuchadnezzaR' Dehennin The chdir was in mostly for symmetry with other scripts; we certainly do not need to be in destdir, and indeed, destdir could be removed, as was the case here. (Closes: #293738). * Bug fix: "--us --uc buildpackage doesn't work", thanks to Harald Dunkel. This helped point to a real mess in the way we handled the get root functionality, as well as the extra arguments to dpkg-buildpackage. Now we have separated out the functionality, and no longer overload int_root_cmd (helped get rid of int_get_root as well) (Closes: #287212). * Bug fix: "kernel-package: LOCALVERSION alternate solution", thanks to Christian Höltje. Thanks for the patch, this is indeed much cleaner. (Closes: #285688). -- Manoj Srivastava Tue, 8 Feb 2005 15:09:24 -0600 kernel-package (8.119) unstable; urgency=low * Bug fix: "kernel-package: Improvements for kernel_grub_rm.sh script", thanks to Javier Fernández-Sanguino Peña. I created my own patch, rather than using the one in the report, but thanks for pointing this out. (Closes: #287937). * Bug fix: "mismatch between lilo.conf and the actual filename "initrd.old".", thanks to David Robin. The fix is actually thanks to Khalid Aziz, who noticed that in one corner case the symbolic link was moved to the wrong location. (Closes: #288540). * Bug fix: "bash_completion.d/make-kpkg prints grep error messages if .config doesn't exist", thanks to Josh Triplett (Closes: #285166). -- Manoj Srivastava Mon, 10 Jan 2005 17:39:31 -0600 kernel-package (8.118) unstable; urgency=low * Bug fix: "bash_completion.d/make-kpkg prints grep error messages if .config doesn't exist", thanks to Josh Triplett (Closes: #285166). -- Manoj Srivastava Tue, 14 Dec 2004 12:20:46 -0600 kernel-package (8.117) unstable; urgency=low * Updated the spanish translation of the amke-kpkg man page, thanks to Rubén Porras Campo -- Manoj Srivastava Wed, 8 Dec 2004 09:48:47 -0600 kernel-package (8.116) unstable; urgency=low * Bug fix: "when generating buildinfo, should also consider [h]eld packages", thanks to Joshua Kwan. I sync-tree's with josjk's version, but did not actually use that code, since there have been changes made in the rules file since, and there are also some permission changes I did not want to revert. This shall allow him to star-merge back to get my fixes. (Closes: #284700). * Bug fix: "kernel-package: improved CONCURRENCY_LEVEL docs", thanks to Bastian Kleineidam (Closes: #284065). * Bug fix: "kernel-package: Clarify documentation on kernel patches", thanks to Ross Boylan. Added a note in the make-kpkg man page. (Closes: #224212). -- Manoj Srivastava Wed, 8 Dec 2004 02:43:28 -0600 kernel-package (8.115) unstable; urgency=low * Bug fix: "SPARC/SILO: does not set the right initrd for the kernel", thanks to Joerg Friedrich. We now mention that the generated silo.conf is a best effort kinda thing, and a human needs to check it. (Closes: #282965). * Bug fix: "kernel-package: Simultaneously installing two kernel images, with initrds, makes lilo fail for the first one", thanks to Adam Rice Actually, this was an instance of upgrading two images at the same time. (Closes: #282749). -- Manoj Srivastava Fri, 26 Nov 2004 01:17:10 -0600 kernel-package (8.114) unstable; urgency=low * Do up remove initrd symbolic links on upgrades. (Closes: #281953). -- Manoj Srivastava Sat, 20 Nov 2004 16:00:21 -0600 kernel-package (8.113) unstable; urgency=low * Bug fix: "--stem option to enable alternative package naming schemes", thanks to Matt Zimmerman (Closes: #281465). -- Manoj Srivastava Wed, 17 Nov 2004 11:09:40 -0600 kernel-package (8.112) unstable; urgency=low * Bug fix: "kernel-source-2.6.9: make mrproper fails", thanks to Leif W horms@debian.org provided the fix (Closes: #279678). * Bug fix: "Updated mips/mipsel rules for kernel-package", thanks to Thiemo Seufer (Closes: #280341). -- Manoj Srivastava Wed, 10 Nov 2004 11:13:58 -0600 kernel-package (8.111) unstable; urgency=medium * Strip trailing white space from the rules file. * Bug fix: "lc_version change is buggy", thanks to Adam Heath (Closes: #279564). -- Manoj Srivastava Wed, 3 Nov 2004 17:42:18 -0600 kernel-package (8.110) unstable; urgency=low * Updated french man page, thanks to Sylvain Cherrier -- Manoj Srivastava Mon, 25 Oct 2004 03:57:45 -0500 kernel-package (8.109) unstable; urgency=low * Aaargh. Fix the sense of the test for MAKING_VIRTUAL_IMAGE for source, doc, and header packages. Many thanks to Andreas Salomon for pointing this out. -- Manoj Srivastava Mon, 25 Oct 2004 01:43:24 -0500 kernel-package (8.108) unstable; urgency=low * Fix the uml rules to accommodate the changes made in version 2.6.9. * Bug fix: "kernel-package doesn't support kernel versions with uppercase letters", thanks to Adam Heath. Now, if an environment variable IGNORE_UPPERCASE_VERSION is set, the error is turned into a warning. Use at your own risk. (Closes: #277680). -- Manoj Srivastava Sun, 24 Oct 2004 21:45:58 -0500 kernel-package (8.107) unstable; urgency=low * Fix the tests for making a virtual image. Other wise, arch=um|xen failed with cross compile errors, and things for non um,xen targets were missing. Thanks to Nuutti Kotivuori for pointing this out. -- Manoj Srivastava Fri, 22 Oct 2004 17:29:54 -0500 kernel-package (8.106) unstable; urgency=low * Bug fix: "kernel-image-2.6.8-1-686: Badly constructed pathname for Initial rootdisk image", thanks to Greg Kochanski (the path had a // in it, corrected in a patch by Horms (Closes: #275629). * Bug fix: "kernel-image-2.6-686: apt-get remove does not put back the old kernel", thanks to Greg Kochanski. Well, there is a partial solution -- the postinst now checks, and removes, damaged and dangling symlinks, and warns the person doing the uninstall that lilo may need to be run. However, it does not try to figure out itself which kernel image should be promoted, and it does not change any symbolic link in / (apart from removing dangling ones). (Closes: #275688). -- Manoj Srivastava Thu, 21 Oct 2004 18:16:10 -0500 kernel-package (8.105) unstable; urgency=low * Bug fix: "kernel-package: Wish it had Xeno Architecture Support", thanks to Paul Boehm. Most of the porting and testing has been done by Felix Erkinger , and all the credit goes to him. (Closes: #215318). * Bug fix: "typo error", thanks to Tommaso Moroni (Closes: #277093). * Added Rules.make and arch dependent Makefile to the kernel-header package. -- Manoj Srivastava Wed, 20 Oct 2004 00:34:05 -0500 kernel-package (8.104) unstable; urgency=medium * Ignore leading white spaces in preinst answers. * Bug fix: "kernel-package: incorrect lookup of kernel-source version in rules", thanks to Julian Gilbey (Closes: #276257). * Bug fix: "kernel-package: rules doesn't test for valid_patches empty in stamp-build", thanks to Julian Gilbey (Closes: #276258). * Updated french translation for the make-kpkg man page. -- Manoj Srivastava Wed, 13 Oct 2004 03:26:17 -0500 kernel-package (8.103) unstable; urgency=high * Bug fix: "make-kpkg: fails to unpatch the source", thanks to martin f krafft. This was due to recent idiocy in upstream kernel sources, where the kernel now assumes responsibility of ./debian directory (despite Debian having used this directory for years). The people in charge of this code in upstream kernel were not competent enough to implement the deb target in a fashion that it does not break a facility that Debian has used for years. Well, all the kernel-patch packages are affected; since nothing shall unpatch correctly with 2.6.8.1+ kerel versions. It also makes life a pain for official kernel image developers, since their ./debian is a dorectory that is not recreated by kernel-package (or the broken upstream code); and at least one developer has lost an uncheked in custom ./debian dir It is not as if they needed to claim ./debian, since they do not use dpkg, and a fix was discussed in August, but no one has seen fit to implement that fix and solve this breakage -- so now kerel-package works around this idiocy. This makes this update very urgent. The generated .debs also do not pay attention to kernel-img.conf (thus creating a surprise for unsuspecting end users), they do not massage the build and source symlinks, do not run boot loaders, do not handle bootloaders that may use initrd in their config, and probably would end up generating a slew of bugs that can't be fixed in Debian. (Closes: #270169). * Bug fix: "make-kpkg doesn't handle CONFIG_LOCALVERSION", thanks to Michal œô ¬ihaœô ù. The only implementation for LOCALVERSION I saw (in linux-2.6.9-rc3/Makefile), is a broken Makefile snippet. kernel-package now tries to implement what the documentation and comment say should be done (Closes: #273147). * Added support for hook directories. Apart from hook variables that the local admin may set, there are a set of directories where packages, or the local admin, may drop in script files. The directories are - /etc/kernel/preinst.d/, - /etc/kernel/postinst.d/, - /etc/kernel/prerm.d/, and - /etc/kernel/postrm.d/. If they exists, the kernel-image package shall run a run-parts program over the directory, giving the version being installed or removed as an argument, in the corresponding phase of installation or removal. Since these directories do not exist by default, this should have no impact on current installations. -- Manoj Srivastava Fri, 8 Oct 2004 14:05:06 -0500 kernel-package (8.101) unstable; urgency=low * Bug fix: "uml kernel packages have weird files in weird places", thanks to martin f krafft. There is no need to test for empty patches, since these files are not installed unless the sources are patched. (Closes: #275407). -- Manoj Srivastava Thu, 7 Oct 2004 19:36:55 -0500 kernel-package (8.100) unstable; urgency=low * Strip the uml binary (honoring DEB_BUILD_OPTIONS). * Well, we conflict, replace, and provide user-mode-linux -- which has problems when we try to install two different kenrl-uml-* packages, since they now conflict with each other. Now, we just conflict with user-mode-linux (>= 2.0), which means all kernel-uml-* packages shall conflict with real user-mode-linux packages, but not with other kernel-uml packages. -- Manoj Srivastava Mon, 4 Oct 2004 00:21:19 -0500 kernel-package (8.099) unstable; urgency=low * Bug fix: "kernel-package: 2.4.27 compile fails", thanks to Gordon Haverland (Closes: #274616). -- Manoj Srivastava Sun, 3 Oct 2004 00:17:00 -0500 kernel-package (8.098) unstable; urgency=low * Replace and provide user-mode-linux, since each kernel-uml packages does indeed do that. -- Manoj Srivastava Sat, 2 Oct 2004 15:28:51 -0500 kernel-package (8.097) unstable; urgency=low * Bug fix: "kernel-package: information on source package and patch package versions in buildinfo.gz", thanks to Norbert Buchmuller (Closes: #274465). * Fix a typo in the rules file. -- Manoj Srivastava Sat, 2 Oct 2004 01:04:40 -0500 kernel-package (8.096) unstable; urgency=low * More modifications to the kernel-uml-$version packages created. Now the modules live in /usr/lib/modules/ instead of in /usr/share/uml. The package now uses alternatives to allow people to have multiple uml images on the machine at the same time, while still retaining a /usr/bin/linux and a man page for that. Rewrote the man page from scratch. (Closes: #176288). * Bug fix: "kernel-package: Could be more conservative about initrd creation", thanks to Matt Zimmerman (Closes: #274165). -- Manoj Srivastava Fri, 1 Oct 2004 15:59:22 -0500 kernel-package (8.095) unstable; urgency=high * Urgency high since unpatching should indeed reverse the order in which patches are reversed. * Bug fix: "kernel-package: incorrect handling of --cross-compile option", thanks to Eric C. Cooper (Closes: #272786). * Bug fix: "kernel-package: typo in the kernel-pkg.conf.5 man page", thanks to Nicolas François (Closes: #272244). * Bug fix: "implicit rules for unpatching don't reverse list of patches", thanks to Joshua Kwan (Closes: #273456). * kernel-package: wish it had support for UML. This enhancement has been solely the work of Ralph Paßgang , who worked hard withing the current infrastructure to implement the creation of UML packages. Try something like this: make-kpkg --revision 1um-1 --arch um kernel-image the resulting package will be called: kernel-uml-__.deb It will include the linux executable in /usr/bin, and the uml modules in /usr/share/kernel-uml/modules/$VERSION/ (Closes: #273456). * Bug fix: "kernel-package: make-kpkg goes into endless loop while calling /sbin/depmod", thanks to Elias Pschernig (Closes: #272129). -- Manoj Srivastava Mon, 27 Sep 2004 20:26:04 -0500 kernel-package (8.094) unstable; urgency=high * Urgency High since there are severe bugs related to patching and unpatching kernel patches which are buggy. * Bug fix: "kernel-package: subarch detection fails on powerpc XServe G5 systems", thanks to Colin Watson (Closes: #270314). * Bug fix: "make-kpkg: fails to unpatch the source", thanks to martin f krafft (Closes: #270169). * Bug fix: "kernel-package: applied_patches lists patches that didn't apply", thanks to martin f krafft (Closes: #270158). * Bug fix: "kernel-package: files should move to examples/", thanks to martin f krafft (Closes: #269411). * Bug fix: "kernel-package: non-interactive install: reverse the abort yes/no, please", thanks to Alexander Zangerl (Closes: #267926). * Bug fix: "Please install kernel image files *before* calling post-install script", thanks to Jens Schmalzing (Closes: #267397). * Bug fix: "kernel-package: typo in manpage", thanks to martin f krafft (Closes: #270611). -- Manoj Srivastava Fri, 10 Sep 2004 10:41:12 -0500 kernel-package (8.093) unstable; urgency=low * Bug fix: "kernel-package: [INTL:es] spanish manpage update", thanks to Ruben Porras (Closes: #263060). * Bug fix: "French manpage", thanks to Sylvain Cherrier (Closes: #263990). * Bug fix: "bash:ism in kernel_grub_conf.sh", thanks to David Weinehall (Closes: #261963). * Bug fix: "kernel-package - produced initrd enabled packages depends against initrd-tools but checks for mkinitrd in preinst", thanks to Bastian Blank (Closes: #263214). * Bug fix: "kernel-package: please support powerpc64", thanks to Rafael Ávila de Espíndola (Closes: #263746). -- Manoj Srivastava Fri, 6 Aug 2004 16:16:25 -0500 kernel-package (8.092) unstable; urgency=low * Bug fix: "make-kpkg(1) could be more explicit about MODULE_LOC", thanks to Lars Wirzenius (Closes: #258393). * Bug fix: "kernel-package: wrong macro in kernel-img.conf.5", thanks to Philippe Batailler (Closes: #257584). * Bug fix: "XSI:isms and other nitpicking", thanks to David Weinehall (Closes: #256107). * Bug fix: "kernel-package: extra sentence in manpage", thanks to martin f krafft (Closes: #257721). * Bug fix: "kernel-package: problem in the manpage kernel-img.conf", thanks to Philippe Batailler (Closes: #258836). * Bug fix: "kernel-package: modules_clean target does not pay attention to --added_modules", thanks to Oystein Gisnas (Closes: #258586). * Bug fix: "kernel-package: [INTL:es] spanish manpage updates", thanks to Ruben Porras (Closes: #257826). -- Manoj Srivastava Wed, 21 Jul 2004 15:21:24 -0500 kernel-package (8.091) unstable; urgency=low * Bug fix: "kernel-package: comment typo", thanks to dann frazier (Closes: #252016). * Bug fix: "kernel-package: revision seems to be ignored when set in /etc/kernel-pkg.conf", thanks to Greg Norris (Closes: #254488). * Bug fix: "kernel-package: Behaviour does not seem to follow documentation on some points", thanks to Adam C. Emerson (Closes: #251548). * Bug fix: "Typo in real_stamp_source target prevents README.Debian installation", thanks to Jens Schmalzing (Closes: #255372). -- Manoj Srivastava Tue, 22 Jun 2004 01:53:07 -0500 kernel-package (8.090) unstable; urgency=low * Bug fix: "kernel-package: Including 2.6's Kconfig files in kernel_doc packages", thanks to Andreas Metzler (Closes: #245800). * kernel-source-2.4.26_2.4.26-2(unstable): FTBFS: syntax error. Removed spurious close paren. (Closes: #247600). * Bug fix: "kernel-package: Improper test for non-modules targets when checking build dir", thanks to Kevin McCarty (Closes: #247540). -- Manoj Srivastava Thu, 6 May 2004 18:46:05 -0500 kernel-package (8.089) unstable; urgency=low * make kernel-package not stop if the revision contains a hypen unless the said revision fails to meet policy. * Bug fix: "kernel-package: Including 2.6's Kconfig files in kernel_doc packages", thanks to Andreas Metzler. I modified the patch, and only trigger the Kconfig collection for post 2.5 kernels. (Closes: #245800). * Bug fix: "/usr/bin/make-kpkg: make-kpkg: Typo in failure message", thanks to Goswin Brederlow (Closes: #245482). * Fixed a few over zealous escapes of hyphens in the make-kpkg man page. * Bug fix: "Support for bare vmlinux", thanks to Nicolas George. Use the configuration option install_vmlinux to additionally install the bare vmlinux image as well as the default image (Closes: #243927). -- Manoj Srivastava Mon, 26 Apr 2004 15:32:11 -0500 kernel-package (8.088) unstable; urgency=low * Bug fix: "New kernel-package fails to build kernel", thanks to Roberto Sanchez. Oh, sheez: forgot to escape a $ from make in a shell command. (Closes: #245010). -- Manoj Srivastava Tue, 20 Apr 2004 20:47:00 -0500 kernel-package (8.087) unstable; urgency=low * Bug fix: "Bug#244380: kernel-package: Unescaped dashes in manpage break copy and paste", thanks to Andreas Metzler Also fixed the spanish man pages, since this is merely about behaviour of man (Closes: #244380). * Bug fix: "kernel-package: ignore_depmod_error is ignore_depmod_err", thanks to Marc Haber (Closes: #243526). * Bug fix: "kernel-package: UTS Release version does not match current version", thanks to YuLei (Closes: #243896). -- Manoj Srivastava Mon, 19 Apr 2004 17:35:30 -0500 kernel-package (8.086) unstable; urgency=low * Bug fix: "kernel-package: >=2.6.5 make clean removes version.h, modules_image fails", thanks to Ralf Neubauer. At this point, the automated cleaning of the build tree causes more problems than it solves -- at the very least, it violates the principle of least surprise. The do_cloean mechanism still exists for people who want to have the sources cleaned, but from now on, the default is not to clean the sources out. (Closes: #242038). -- Manoj Srivastava Tue, 6 Apr 2004 11:40:11 -0500 kernel-package (8.085) unstable; urgency=low * Fixed missing ;'s. Thanks to Radek Hnilica and J G Miller for noticing this. -- Manoj Srivastava Sat, 3 Apr 2004 10:44:00 -0600 kernel-package (8.084) unstable; urgency=low * Warn if module doesn't like the fact that it isn't being build as root and it is ignoring the --roocmd extension, and ask users to file a bug. * Delete dangling build links when asked to, even if there is no replacement handy. * Bug fix: "kernel-package: Typo in Problems.gz", thanks to LT-P (Closes: #238983). * Bug fix: "changelog should be called changelog.Debian", thanks to Martin Michlmayr (Closes: #238425). * Bug fix: "kernel-package - don't recognize s390x", thanks to Bastian Blank (Closes: #232711). * Updated spanish manual pages. -- Manoj Srivastava Fri, 2 Apr 2004 00:12:20 -0600 kernel-package (8.083) unstable; urgency=low * Bug fix: "kernel-source-2.4.25: Configure error prevents installation", thanks to Bruce Miller. Do not try to change the include/asm symlinks for source and doc packages, since we do not own that dir. Only the headers package ought to be doing that. (Closes: #235706). * Bug fix: "kernel-package: silent_modules should be YES on powerpc even on first install of official images.", thanks to Sven Luther. Accomodate the official powerpc kernel images to not prompt even on initial install when /lib/modules/$version/ already exists. This allows the separation of the modules from the kernel image, since different powerpc subarches all require different images, but can share the modules. (Closes: #230251). * Bug fix: "kernel-package: avoid silent failure when out of space", thanks to dann frazier. I skiimed the rules file for other examples of this ilk, but I think a real clean up would have to wait until we break up the Makefile post Sarge. (Closes: #234316). * Bug fix: "kernel-package: should include the changelog from kernel-source-xx", thanks to Christoph Martin. Hmm. Create a file called Changelog.src.Debian in hte top of the tarball that we create for kernel-source-X.XX packages. Subsequently, when creating image packages, if that file exists, copy it into the doc dir for the kernel-image packages, and compress it. (Closes: #234908). * Updated spanish man pages. * Bug fix: "kernel-package: Typo in documentation intrd", thanks to Andreas Metzler (Closes: #235421). -- Manoj Srivastava Tue, 2 Mar 2004 23:14:27 -0600 kernel-package (8.082) unstable; urgency=low * Bug fix: "Add amd64 support to kernel-package", thanks to Stephen Frost (Closes: #233252). * Bug fix: "kernel-image: postrm doesnt remove dangling initrd.img symlink", thanks to Mario 'BitKoenig' Holbe (Closes: #233243). * Add a note in the man page that the clean target should not be cobined with other targets. * Bug fix: "/usr/bin/make-kpkg:make-kpkg --rootcmd=fakeroot clean kernel_image after patching sources doesn't work", thanks to Amit Shah. Since this is now documented, I am closing this report. (Closes: #233478). * Bug fix: "kernel-package: Grub install scripts broken", thanks to Roland Mas (Closes: #233585). * Make the sample posthook script executable, to shut up lintian * Bug fix: "confusing comments in kernel-img.conf", thanks to Jamie Heilman (Closes: #233184). * Bug fix: "misspellings", thanks to Matt Kraai (Closes: #233132). * Bug fix: "kernel-package: --append-to-version and modules_image don't get along", thanks to Daniel Jacobowitz. Starting with kernel version 2.6.X, the build process for third party modules has been modified; now modules are expected to build in hte kenrel sources dir, and you set the SUBDIR arg to point to the source for the module itself. This arranges for the kernel makefiles to do all the boilerplate work of building/running modpost, dependencies, et cetera. The problem is that unless the module passes in the same EXTRAVERSION=XYZ argument that the main kernel build process did, include/linux/version.h shall be regenerated, with a different value now than when the kernel was compiled. The only way to avoid this is to make sure the module passes EXTRAVERSION also; the 2.6 kernel makefile is very enthusiastic about making sure version.h is up to date. So, make-kpkg now passes a new parameter, KPKG_EXTRAV_ARG, to the module; the value is either empty, or a string like "EXTRAVERSION=X.Y.Z". The idea is that you can call $(MAKE) $(KPKG_EXTRAV_ARG) ... in the modules package and have the same version.h info as the main kernel image does. (Closes: #233152). -- Manoj Srivastava Wed, 18 Feb 2004 18:12:45 -0600 kernel-package (8.081) unstable; urgency=low * Fixed top level makefile to make it usable stand alone * Bug fix: "/usr/bin/make-kpkg: Minor warning message", thanks to Andrew Ferrier (Closes: #231902). * Bug fix: "kernel-package: make-kpkg spanish manpage updated", thanks to Ruben Porras (Closes: #232007). -- Manoj Srivastava Mon, 16 Feb 2004 18:47:09 -0600 kernel-package (8.080) unstable; urgency=low * Bug fix: "debian.README.gz out of date", thanks to Thomas Hood. Now mention linux-kerel-headers under the new method section. (Closes: #230083). * Bug fix: "kernel-package: several typos", thanks to Jochen Voss (Closes: #227191). * Bug fix: "kernel-package: make-kpkg spanish manpage updated", thanks to Ruben Porras (Closes: #227898). * Bug fix: "kernel-package: silent_modules should be YES on powerpc even on first install of official images.", thanks to Sven Luther (Closes: #230251). * Bug fix: "manpage: hint how to select the compiler used", thanks to Jens Thiele \(karme\) (Closes: #230272). * Bug fix: "kernel-package: trivial change for sparc", thanks to Ben Collins. (Closes: #230288). * Bug fix: "kernel-package: Typo in kernel-pkg.conf: "espescially" should be "especially", thanks to Philip Miller (Closes: #227363). * Bug fix: "kernel-package: support for Kerntypes", thanks to dann frazier (Closes: #231145). -- Manoj Srivastava Thu, 5 Feb 2004 14:04:09 -0600 kernel-package (8.079) unstable; urgency=low * Bug fix: "kernel-package: no way for non-interactive initrd build?", thanks to Hein Roehrig. Document the INITRD_OK variable better. (Closes: #227128). * Bug fix: "kernel-package: Looks for debian/rules in $MODULE_LOC/, should look only in subdirectories", thanks to Frank Küster (Closes: #226455). * Bug fix: "kernel-package: check that EXTRAVERSION doesn't begin with a digit", thanks to Mark Sheppard (Closes: #226790). -- Manoj Srivastava Sun, 11 Jan 2004 11:56:14 -0600 kernel-package (8.078) unstable; urgency=low * Bug fix: "kernel-package: Typo in `man kernel-pkg.conf': "laoded" in Description should be "loaded", thanks to Philip Miller (Closes: #224607). -- Manoj Srivastava Fri, 2 Jan 2004 11:39:18 -0600 kernel-package (8.077) unstable; urgency=low * Bug fix: "kernel-package: Does not detect errors correctly during build", thanks to Horms. (Closes: #223633). * Bug fix: "kernel-package: Installed files may have incorrect permissions", thanks to Horms. I set umask 000, rather than brute force the permissions using chmod, in as many cases as possible. (Closes: #223638). -- Manoj Srivastava Wed, 10 Dec 2003 23:59:29 -0600 kernel-package (8.076) unstable; urgency=low * Bug fix: "kernel-package: warning message : Search pattern not terminated at -e line 1.", thanks to Jean-Luc Coulon. Had to double a $ in the perl one-liner in the rules file. (Closes: #223237). * Bug fix: "Compiling kernel fails with "cannot stat 'conf.vars'"", thanks to Mariano Kamp. Hopefully, all that can be laid to rest now. (Closes: #223233) -- Manoj Srivastava Sun, 7 Dec 2003 11:19:21 -0600 kernel-package (8.075) unstable; urgency=low * Bug fix: "kernel-package: kpkg_version is not defined", thanks to Andreas Beckmann. Pass along the version number from ./debian/rules into the make call. (Closes: #223113). -- Manoj Srivastava Sat, 6 Dec 2003 17:18:08 -0600 kernel-package (8.074) unstable; urgency=low * Bug fix: "kernel-package: fails in kernel_headers target", thanks to Modestas Vainius (Closes: #223054). * Bug fix: "cannot stat `conf.vars': No such file or directory", thanks to Harald Dunkel (Closes: #223056). * Bug fix: "kernel-package: A bug (typo) in constructing "valid_modules" variable (prevents modules_* from working)", thanks to Modestas Vainius (Closes: #223069). * Bug fix: "kernel-package: Having underscore (_) in kernel's version is illegal but not checked", thanks to Ari SovijÃï¿œô óÃ‚œôôÌrvi (Closes: #222467). -- Manoj Srivastava Sat, 6 Dec 2003 10:43:15 -0600 kernel-package (8.073) unstable; urgency=low * Need to escape # in the UTS_RELEASE calculation in the rules file. Thanks to Tomas Hoger for the quick catch. -- Manoj Srivastava Fri, 5 Dec 2003 11:06:43 -0600 kernel-package (8.072) unstable; urgency=low * Strange set of error messages about build link on fresh install, quoth Joey Hess. This was related to the postinst trying to handle the dangling build link. Now actually test to see if the link was present, and is a bit more chatty. (Closes: #221286). * Tomas Hoger tracked down the problem with unpatching old patches when make was interrupted while building. The path was all wrong, since it pointed to the patch script, and the unpatching was not done in reverse order. Now we do the same things with relics of old patches found in the dir as we do with the ordinary patches. * Bug fix: "kernel-package: Inconsistent default kernel-image package revision", thanks to Roland Stigge. Made it 10.0.Custome all over. (Closes: #221916). * Bug fix: "kernel-package: conf.vars should list kernel Makefile variables instead of environment variables", thanks to Andreas Beckmann. (Closes: #222084). * Bug fix: "kernel-package: The UTS Release version does match current version", thanks to Andreas Beckmann. Applied previous fix from make-kpkg to the rules file. (Closes: #222087). * Bug fix: "tries to access lib/modules//build even when it doesn't exist", thanks to Peter Palfrader. (Closes: #222239). * Bug fix: "kernel-package: valid_modules contains parent directory", thanks to Frank KÃï¿œô óÃ‚œô òster. Now we test to amek sure that each module has a ./debian/rules file before declaring it valid. (Closes: #222707). * Bug fix: "kpkg-make bug for subarch PRPMC (on PowerPC)", thanks to Hubert Figuiere. Applied provided patch. (Closes: #222808). -- Manoj Srivastava Fri, 5 Dec 2003 02:45:16 -0600 kernel-package (8.071) unstable; urgency=low * Bug fix: "kernel-package: CONCURRENCY_LEVEL in manual page", thanks to Piotr Roszatycki (Closes: #221269). * Bug fix: "kernel-package: add elilo.conf editing hint", thanks to dann frazier. The provided patch adds the prompt in the preinst. (Closes: #220783). -- Manoj Srivastava Tue, 18 Nov 2003 16:26:15 -0600 kernel-package (8.070) unstable; urgency=low * The patch, thanks to Rob Radez, adds back in setting KPKG_SUBARCH if it's not set, and also sets KERNEL_ARCH properly for sparc. -- Manoj Srivastava Thu, 13 Nov 2003 01:56:02 -0600 kernel-package (8.069) unstable; urgency=high * Bug fix: "kernel-package: too many endifs", thanks to Guido Guenther and Martin Thorsen Ranang. The recent fix for sparc left around a spurious endif, I think. (Closes: #220320, #220319). -- Manoj Srivastava Tue, 11 Nov 2003 18:32:34 -0600 kernel-package (8.068) unstable; urgency=low * Bug fix: Added support for gconfig. Mention that it is only for 2.6.X kernels, and that 2.6.X kernels have changed the requirements for make xconfig as well. Make sure the make-kpkg does not barf on gconfig. "kernel-source-2.6.0-test9: packages needed for QTand GTK+ config. interfaces", thanks to Laurent Ghys (Closes: #219324). * Bug fix: "kernel-package: typo in conf.vars rule", thanks to Peter Cordes (Closes: #220149). * Bug fix: "kernel-package: update spanish manpages", thanks to Ruben Porras (Closes: #218716). * Changed sparc/sparc64 subarch logic, thanks to Ben Collins and Rob Radez -- Manoj Srivastava Mon, 10 Nov 2003 22:02:02 -0600 kernel-package (8.067) unstable; urgency=low * Change docbook-utils from recommends to suggests closes: Bug#215177 * Make sure we do create a symlink if the user sys yes. closes: Bug#216814 * Stop make-kpkg.1 speaking like a buccaneer. closes: Bug#216991 * Typycally -> typically closes: Bug#217186 * allow compiling kernel package bootable on PrPMC 750/PrPMC 800 cards made by Motorola. Patch from Hubert Figuiere closes: Bug#216681 * Bug out with a diagnostic if kimagesrc or kimagedest were undefined; typically the case if we can't determine the arch closes: Bug#216676 -- Manoj Srivastava Fri, 31 Oct 2003 11:20:34 -0600 kernel-package (8.066) unstable; urgency=low * to default target for mips(el) changed between 2.4 and 2.5. Applied a patch from Guido Guenther to fix this. closes: Bug#214590 * Disable the "out of the way" warning in image.preinst when these conditions are met: 1. This is an official kernel (perhaps a substitution in the preinst?) 2. This is an upgrade. The reason is that when I make bug fix releases that do not change the ABI, modules compiled for the previous kernel will continue to work. Unfortunately, the users tend to be scared off by the "out of the way" warning and end up aborting the install and filing a bug. Made it so. closes: Bug#214529 -- Manoj Srivastava Tue, 7 Oct 2003 11:23:43 -0500 kernel-package (8.065) unstable; urgency=low * Added a HOWTO for installing 2.6 kernels on a Woody machine to the docs. The HOWTO comes from Marc Herbert. * Since the mkimage command may legitimately contain /'s, use @ as sed separator -- it is an unlikely character to be in that string. closes: Bug#213722 * Make modules_clean depend on .config, not on configure. closes: Bug#214183 -- Manoj Srivastava Mon, 6 Oct 2003 11:17:11 -0500 kernel-package (8.064) unstable; urgency=high * Fixes for the mips64el arches. closes: Bug#213621 * 8.062 was a critical fix, and hasn't propagated to testing because of subsequent bug fixes. This retains the hihg priority that 8.062 had. Hopefully, at some point the updates to kernel-package shall stop being a daily occurrence. -- Manoj Srivastava Wed, 1 Oct 2003 11:33:35 -0500 kernel-package (8.063) unstable; urgency=low * Add chrp-rs6k support, and also allow setting of GUESS_SUBARCH manually. Patch from Sven Luther * patch allows to build mips64{,el} kernels using --subarch mips64{,el} or --subarch -64. patch from Guido Guenther closes: Bug#213294 -- Manoj Srivastava Tue, 30 Sep 2003 00:31:52 -0500 kernel-package (8.062) unstable; urgency=high * Install additional useful documentation files in the kernel-doc package. closes: Bug#212848 * Added more voluble informational messages trying to track down Bug#212965. Removed Quotes from around the UTS_RELEASE_VERSION closes: Bug#212965 * Added an option to make-kpkg to allow people to specify the command to build an initrd image. This is useful if there are many kernel images in the system with different initrd filesystem. Also added an option to kernel-img.conf to over ride that variable on a per target basis. closes: Bug#212602 * Ship man pages and html documentation of the kernel in the kerel-doc packages. Note that you need to have docbook-utils installed to take advantage of this. closes: Bug#210630 -- Manoj Srivastava Sat, 27 Sep 2003 20:00:10 -0500 kernel-package (8.061) unstable; urgency=low * make make-kpkg parse extraversion values with non alphanumeric chars in them, just like the rules file does. closes: Bug#212477 -- Manoj Srivastava Wed, 24 Sep 2003 02:10:54 -0500 kernel-package (8.060) unstable; urgency=low * The preinst, prerm, postrm -- were all parsing force_build_link from the config file, -- all except the postinst. Fixed. closes: Bug#212313 * make make-kpkg allow mismatches between the new version and that in version.h, since we now have a method that allows us to recover from that. -- Manoj Srivastava Tue, 23 Sep 2003 10:42:05 -0500 kernel-package (8.059) unstable; urgency=low * Added handling of the /lib/modules/`uname -r`/build symbolic link, if it is dangling. A link to the corresponding kernel-headers location is added if it exists. One can also force not checking for the existence of the kernel-headers link. closes: Bug#211949 * In some cases, the symlink creation code created a dangling relative link, instead of an absolute, non dangling link, since the test relative code only looked at the directory names of the source, rather than testing for the actual file we needed to link to. closes: Bug#211140 * We used to silently ignore individual patches and unpatches that were not found from the list of user requested patches; only complaining if none of the user requested patches were found. Now we stop early (before doing any patching at all) if any of the requested patches can't be found. closes: Bug#211406 * No longer recommend debianutils, since it is an essential package. closes: Bug#210686 -- Manoj Srivastava Sun, 21 Sep 2003 14:22:49 -0500 kernel-package (8.058) unstable; urgency=low * The module version mismatch problem makes it impossible to use kernel sources and a config file to re-create the conditions required for building modules that would install correctly into a pre-buit kernel. Document this, remove faulty instructions from README.modules. closes: Bug#209278 -- Manoj Srivastava Mon, 8 Sep 2003 23:19:55 -0500 kernel-package (8.057) unstable; urgency=low * Fixed an error in the kernel-img.conf man page. (.TP -> .TP .B). Thanks to Nicolas FranÃï¿œô óÃ‚§ois closes: Bug#209066 * Make make-kpkg remove the " from UTS Versions. closes: Bug#209067 * README.modules typo fix: --add-to-version -> --append-to-version closes: Bug#209108 -- Manoj Srivastava Mon, 8 Sep 2003 05:42:58 -0500 kernel-package (8.056) unstable; urgency=low * Updated the preinst to separate out the LILO instructions. closes: Bug#207907 * Fixed regexp issues and an error in creating the kernel version for comparison. Patch thanks to Toni Timonen closes: Bug#208897 -- Manoj Srivastava Fri, 5 Sep 2003 20:42:09 -0500 kernel-package (8.055) unstable; urgency=low * Updated README.modules to correct the procedure of building modules destined for an official kernel-image package. closes: Bug#208482 * Give in and let make-kpkg parse include/linux/version.h, so that it either aborts, or proceeds silently, when the file is present. -- Manoj Srivastava Thu, 4 Sep 2003 10:46:04 -0500 kernel-package (8.054) unstable; urgency=low * Expaded the user instructions in README.modules to handle building kernel modules for official kernel images. * Fixed a typo in kernel-pkg.conf man page. closes: Bug#208187 * For 2.6 kernels, add make prepare in the palce of the make dep for 2.4 kernels. closes: Bug#207986 -- Manoj Srivastava Mon, 1 Sep 2003 11:28:49 -0500 kernel-package (8.053) unstable; urgency=low * The change for module compilation in header-only dirs doesn't work, because $#empty_array == -1 in perl. -- Manoj Srivastava Thu, 28 Aug 2003 01:04:29 -0500 kernel-package (8.052) unstable; urgency=low * UTS_RELEASE_VERSION calculation was off (need to double $ in a makefile). * Mention module-init-tools in the README files, though I doubt it shall do any good. -- Manoj Srivastava Mon, 25 Aug 2003 20:42:11 -0500 kernel-package (8.051) unstable; urgency=low * Add a postinst hook for source and header images as well. This allows people to create scripts to do whatever they feel like doing when headers are instralled, including changing build symlinks if they wish. closes: Bug#207145 * Remove warnings if not in a kernel directory, but in a kernel-headers created directory, and if the only target command is a module related one. This is a massively reworked variation of the patch in the report, and should have the same functionality. closes: Bug# 207194 -- Manoj Srivastava Mon, 25 Aug 2003 15:31:39 -0500 kernel-package (8.050) unstable; urgency=low * When creating the buildinfo file, look for versions of libc6, not just libc, since that pulls in all libraries staring with libc. closes: Bug#206786, Bug#206788 -- Manoj Srivastava Sat, 23 Aug 2003 11:20:24 -0500 kernel-package (8.049) unstable; urgency=low * In the spanish man pages, it is make-kpkg.1, not make-kpkg.8. Fixed. * Added a new config file option kpkg_follow_symlinks_in_src, and hte corresponding ENV variable, KPKG_FOLLOW_SYMLINKS_IN_SRC, for people who use symlink farms to compile kernels and also want to package kernel-source and kernel-headers packages. * Added a new section in the README file titled "MODULES_LOC, symlink farming, and more". -- Manoj Srivastava Fri, 22 Aug 2003 12:18:22 -0500 kernel-package (8.048) unstable; urgency=low * Fixed usage of chown root.root in the rules files. * Also put the kernel-packageconfig spanish man page in the correct place. closes: Bug#204365 -- Manoj Srivastava Thu, 14 Aug 2003 12:15:05 -0500 kernel-package (8.047) unstable; urgency=low * Since the sample module rules were horribly out of date, and had serious shortcomings, and there are a number of modules packages extant to provide an example, the sample rules file was removed from the apckage. I really do think it was doing more harm than good. closes: Bug#150497, Bug#144207 * Added a new sample postint hook script, that shows how local admins can enhance the symlinks policy to better suit their needs. This sample script implements the wishlist items requested by multiple people. I do not think that these should become the mainstream model; since the numbers of kernels linked to, the numbers of streams (2.4, 2.5, -selinux, etc) depend so much on the local install. Instead, the vanilla symlink policy should be the default, as it is now, but now people can implement whatever policy they choose. closes: Bug#201043, Bug#193201 -- Manoj Srivastava Mon, 11 Aug 2003 14:45:03 -0500 kernel-package (8.046) unstable; urgency=low * Man, the missing quotes thing does not want to go away. And testing at 4 am does not work out. Yet another place quotes were missing. -- Manoj Srivastava Sun, 10 Aug 2003 11:51:42 -0500 kernel-package (8.045) unstable; urgency=low * Fix missing double quotes in the rules file. I don't know how this escaped testing ... closes: Bug#204797 * Make the prompting to continue after a depmod problem optional in the kernel package postinstall script -- Manoj Srivastava Sun, 10 Aug 2003 04:41:14 -0500 kernel-package (8.044) unstable; urgency=low * This patch makes it possible to do things like --subarch=sparc64-smp, and --subarch=sparc-myhacks, and the rules file will still know that sparc64 == ARCH==sparc64, etc. closes: Bug#203936 * Test the UTS_RELEASE in include/linux/version.h, and touch the Makefile if it does not match what we think the version is, so that the version.h file shall be rebuilt. closes: Bug#204592 * Add parentheses to fix bug cause by ! binding tightly in the check for the existence of version.h added last upload. closes: Bug#204173 * Fixed the name of spanish manpages. Reverted all pages to ISO-8859-1, since otherwise the spanish characters are broken closes: Bug#204365 -- Manoj Srivastava Fri, 8 Aug 2003 14:13:44 -0500 kernel-package (8.043) unstable; urgency=low * Changed rules to facilitate building 64 Bit kernels on spac32, and vice versa. Patch from Ben Collins * Do not compress files in kernel-doc marked as executable. This caused lintian warnings. closes: Bug#202177 * Optionally silence the warning message with interactive prompt for --initrd switch (set INITRD_OK). closes: Bug#202406 * Document the fact that make-kpkg scans to configuration for some basic config detaisl, namely, whetrher modules are enabled or not, so that toggling the state in delayed configuration using the --config switch is unsupported andshall cause the build to fail. The correct solution is to create a .config file as close to the desired o