kbuild, deb-pkg: allow alternative hook scripts directory in .deb packages
authorFrans Pop <elendil@planet.nl>
Wed, 22 Apr 2009 23:10:10 +0000 (01:10 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Tue, 9 Jun 2009 20:37:37 +0000 (22:37 +0200)
commitfe233cb6bfd36fcf5a36bbde7fa116d8ab5f4301
tree05ff7fb1b16a9715738dffc95320650c0b5233df
parentc72c75db86cf9f53c4c0df6724c0cf06db017652
kbuild, deb-pkg: allow alternative hook scripts directory in .deb packages

Hook scripts in the default directory /etc/kernel are also executed by
official Debian kernel packages as well as kernel packages created using
make-kpkg. Allow to specify an alternative hook scripts directory by
exporting the environment variable KDEB_HOOKDIR.

Signed-off-by: Frans Pop <elendil@planet.nl>
Acked-by: maximilian attems <max@stro.at>
Cc: Andres Salomon <dilinger@debian.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/package/builddeb