bootadm (2.10+1) unstable; urgency=medium

* Add a possibility to disable boot archive trigger by exporting
    DEB_BOOTADM_DISABLE_UPDATE_ARCHIVE, see README.Debian
  * Use native version scheme
This commit is contained in:
Igor Pashev 2014-05-04 23:07:08 +04:00
parent 67524dfee4
commit 56005c35a0
4 changed files with 20 additions and 2 deletions

View File

@ -0,0 +1,6 @@
The bootadm package provides a trigger "boot-archive". It is usually activated
in posstinst scripts of kernel related packages like driverdb or kmdb.
To disable this trigger export the DEB_BOOTADM_DISABLE_UPDATE_ARCHIVE
environment variable (any value). It is useful when creating livecd images
where we need a special boot archive, not the default one.

View File

@ -3,7 +3,11 @@
set -e
trigger_boot_archive() {
/sbin/bootadm update-archive
if [ -z "$DEB_BOOTADM_DISABLE_UPDATE_ARCHIVE" ]; then
/sbin/bootadm update-archive
else
echo "Skipping boot archive update (DEB_BOOTADM_DISABLE_UPDATE_ARCHIVE is set). " >&2
fi
}
case "$1" in

View File

@ -1,3 +1,11 @@
bootadm (2.10+1) unstable; urgency=medium
* Add a possibility to disable boot archive trigger by exporting
DEB_BOOTADM_DISABLE_UPDATE_ARCHIVE, see README.Debian
* Use native version scheme
-- Igor Pashev <pashev.igor@gmail.com> Sun, 04 May 2014 23:03:55 +0400
bootadm (2.10-3) unstable; urgency=low
* Strip binaries

View File

@ -80,6 +80,6 @@ binary-stamp: build-stamp
clean: unpatch
dh_testdir
dh_testroot
rm -rf usr .pc
dh_clean
rm -rf usr