diff --git a/debian/booster.preinst b/debian/booster.preinst index 1a23e48..84a2a3d 100644 --- a/debian/booster.preinst +++ b/debian/booster.preinst @@ -2,4 +2,7 @@ set -e -cp -f /usr/sbin/update-initramfs /usr/sbin/update-initramfs-legacy +if [ -f /usr/sbin/update-initramfs ] +then + cp -f /usr/sbin/update-initramfs /usr/sbin/update-initramfs-legacy +fi diff --git a/debian/booster.prerm b/debian/booster.prerm index 9b829f6..9dd7c16 100644 --- a/debian/booster.prerm +++ b/debian/booster.prerm @@ -2,4 +2,7 @@ set -e -cp -f /usr/sbin/update-initramfs-legacy /usr/sbin/update-initramfs +if [ -f /usr/sbin/update-initramfs-legacy ] +then + cp -f /usr/sbin/update-initramfs-legacy /usr/sbin/update-initramfs +fi diff --git a/debian/control b/debian/control index dcd0de9..85913f9 100644 --- a/debian/control +++ b/debian/control @@ -9,20 +9,20 @@ Rules-Requires-Root: no Package: booster Architecture: linux-any -Depends: ${misc:Depends}, libdevmapper-dev, libdevmapper-event1.02.1, libdevmapper1.02.1, busybox, console-data, lvm2 +Depends: ${misc:Depends}, libdevmapper-dev, libdevmapper-event1.02.1, libdevmapper1.02.1, busybox, console-data, lvm2, pciutils Replaces: booster-temp Conflicts: booster-temp Description: booster initramfs generation Package: booster-placeholder Architecture: linux-any -Depends: ${misc:Depends}, libdevmapper-dev, libdevmapper-event1.02.1, libdevmapper1.02.1, busybox +Depends: ${misc:Depends}, libdevmapper-dev, libdevmapper-event1.02.1, libdevmapper1.02.1, busybox, pciutils Provides: booster (= ${binary:Version}) Description: PLACEHOLDER FOR ISO BUILDS DO NOT USE. Package: booster-temp Architecture: linux-any -Depends: ${misc:Depends}, libdevmapper-dev, libdevmapper-event1.02.1, libdevmapper1.02.1, busybox +Depends: ${misc:Depends}, libdevmapper-dev, libdevmapper-event1.02.1, libdevmapper1.02.1, busybox, pciutils Provides: booster (= ${binary:Version}) Replaces: booster Conflicts: booster