From: Michael Prokop Date: Mon, 22 Feb 2010 21:17:57 +0000 (+0100) Subject: Move the apt cache removal function to the end to avoid failure of grub installation. X-Git-Tag: v0.34~9 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=c852c935af341e15b5174247e9c6cd23a3c2fc2f Move the apt cache removal function to the end to avoid failure of grub installation. --- diff --git a/chroot-script b/chroot-script index d1bdb95..5654b12 100755 --- a/chroot-script +++ b/chroot-script @@ -441,9 +441,9 @@ trap signal_handler HUP INT QUIT TERM install_policy_rcd for i in chrootmirror grmlrepos kernelimg_conf \ - kernel packages extrapackages remove_apt_cache reconfigure hosts interfaces \ - timezone fstab hostname initrd grub_config passwords custom_scripts \ - services ; do + kernel packages extrapackages reconfigure hosts interfaces \ + timezone fstab hostname initrd grub_config passwords \ + custom_scripts remove_apt_cache services ; do if stage $i ; then $i && stage $i done || exit 1 fi diff --git a/debian/changelog b/debian/changelog index ba77eee..5153ec9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +grml-debootstrap (0.34) unstable; urgency=low + + * Move the apt cache removal function to the end to avoid failure + of grub installation. + + -- Michael Prokop Mon, 22 Feb 2010 22:17:09 +0100 + grml-debootstrap (0.33) unstable; urgency=low [ Michael Prokop ] diff --git a/grml-debootstrap b/grml-debootstrap index 7edc29b..31b26eb 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -11,7 +11,7 @@ set -e # exit on any error # variables {{{ PN="$(basename $0)" -VERSION='0.33' +VERSION='0.34' MNTPOINT="/mnt/debootstrap.$$" # inside the chroot system locales might not be available, so use minimum: