From d27400ce146c5e3a340eec8f614012ced2ddc29b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 22 Dec 2007 10:23:50 +0100 Subject: Merging casper 1.113. --- scripts/live-bottom/43disable_updateinitramfs | 36 +++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100755 scripts/live-bottom/43disable_updateinitramfs (limited to 'scripts/live-bottom/43disable_updateinitramfs') diff --git a/scripts/live-bottom/43disable_updateinitramfs b/scripts/live-bottom/43disable_updateinitramfs new file mode 100755 index 0000000..095bf74 --- /dev/null +++ b/scripts/live-bottom/43disable_updateinitramfs @@ -0,0 +1,36 @@ +#!/bin/sh +# Fix for LP#150188 + +PREREQ="" +DESCRIPTION="Disabling update-initramfs (useless on a live CD)..." + +. /scripts/casper-functions + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +log_begin_msg "$DESCRIPTION" + +chroot /root dpkg-divert --add --rename --quiet \ + /usr/sbin/update-initramfs +cat > /root/usr/sbin/update-initramfs <