]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild, deb-pkg: pass Debian maintainer script parameters to packaging hook scripts
authorFrans Pop <elendil@planet.nl>
Wed, 22 Apr 2009 23:09:25 +0000 (01:09 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Tue, 9 Jun 2009 20:37:36 +0000 (22:37 +0200)
commit8f606e0259a891ee9f6f95868e60edc4bf3eb18c
tree246fdb5effc8ec5136b54bc0f4e0ae78f1826e68
parentbe8e3b85b16f5e5933c83a38cfd05a2b8fe02daa
kbuild, deb-pkg: pass Debian maintainer script parameters to packaging hook scripts

The Debian packaging scripts created by the deb-pkg target do not pass
on the standard Debian maintainer script parameters to hook scripts,
which means that those scripts cannot tell whether they are being called
during e.g. install vs. upgrade, or removal vs. purge of the package.

As there are several variantions in how hook scripts are called from
kernel packages, we pass the parameters in the environment variable
DEB_MAINT_PARAMS rather than as extra arguments.

Bump version of builddep script to 1.3.

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