From a7871085ed252d8c6b9327833fe50b6a1c9ac0f2 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 6 May 2008 11:58:42 +0100 Subject: [PATCH] Remove /boot/initrd.img-*.bak (LP: #64887). --- debian/changelog | 6 ++++++ livecd.sh | 1 + 2 files changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index 4b9b544a..3480a8e9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (0.59) UNRELEASED; urgency=low + + * Remove /boot/initrd.img-*.bak (LP: #64887). + + -- Colin Watson Tue, 06 May 2008 11:58:01 +0100 + livecd-rootfs (0.58) intrepid; urgency=low * Fix up BuildLiveCD to only pass -a$ARCH when building for intrepid, diff --git a/livecd.sh b/livecd.sh index 4695f1ec..794c7bbc 100755 --- a/livecd.sh +++ b/livecd.sh @@ -376,6 +376,7 @@ deb-src ${SECSRCMIRROR} ${STE}-security ${COMP} chroot ${ROOT} update-initramfs -k "${KVER}" -u # we mv the initramfs, so it's not wasting space on the livefs mv ${ROOT}/boot/initrd.img-"${KVER}" livecd.${FSS}.initrd-"${SUBARCH}" + rm -f ${ROOT}/boot/initrd.img-"${KVER}".bak cp ${ROOT}/boot/vmlinu?-"${KVER}" livecd.${FSS}.kernel-"${SUBARCH}" done NUMKVERS="$(set -- $KVERS; echo $#)"