• Manoj Srivastava's avatar
    Export an environment variable while running hook scripts in /etc/kernel · bcd8cae7
    Manoj Srivastava authored
    When hook scripts in /etc/kernel are run, they have not way of
    determining if the script is being run by an official kernel, or a user
    created kernel using kernel-package.  Matthijs Kooijman proposed a scheme
    (details in Bug#523735) which will allow scripts that need to distinguish
    between them (like initramfs-tools scripts) where kernel-package created
    maintainer scripts export and environment variable (KERNEL_PACKAGE_VERSION)
    to help that determination. This patch does that.
    Signed-off-by: Manoj Srivastava's avatarManoj Srivastava <srivasta@debian.org>
    bcd8cae7
kernel-package.5 6.81 KB