[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#523735: please consider supporting the experimental kernel-package out of the box



Package: initramfs-tools


As I understand it this hook script that is being pached was up to now
essentially equivalent to the command 'true'.

It would detect if the kernel installed is an official Debian kernel or
a kernel-package kernel and then do nothing in both cases because the
kernels would create an initramfs themselves.

With kernel-package version 12 the kernel-package kernels now want
initramfs-tools to take care of the initramfs so that kernel-package
does not have to change should the commandline options of
initramfs-tools change.

So the script should read:

------------
# Official Debian kernels make an initramfs themselves.
# kernel-package kernels pass an additional argument which specifies
# where the kernel should be created.
# kernel-package kernels for kernel-package << 12 make an initramfs
# themselves.
# kernel-package kernels >= 12.0.88 set KERNEL_PACKAGE_VERSION
# kernel-package between 12 and 12.0.88 is not supported.

if [ -n "$KERNEL_PACKAGE_VERSION" ] ; then
 <create or update initramfs for kernel version $1 in directory $2 >
fi
--------------

Thanks

Michal



Reply to: