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:
parent
67524dfee4
commit
56005c35a0
|
@ -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.
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -80,6 +80,6 @@ binary-stamp: build-stamp
|
|||
clean: unpatch
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -rf usr .pc
|
||||
dh_clean
|
||||
rm -rf usr
|
||||
|
||||
|
|
Loading…
Reference in New Issue