From 7179543cd821ca87d6e59053b67d795adfd94e2a Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Wed, 3 Oct 2012 14:21:33 -0500 Subject: [PATCH] ubuntu: more cleanups Signed-off-by: Robert Nelson --- scripts/ubuntu-finish.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/ubuntu-finish.sh b/scripts/ubuntu-finish.sh index b4e22d4..7582fe9 100644 --- a/scripts/ubuntu-finish.sh +++ b/scripts/ubuntu-finish.sh @@ -26,11 +26,20 @@ rm -f /boot/uboot/uInitrd.bak || true rm -f /boot/uboot/uImage || true rm -f /boot/uboot/uImage.bak || true +#Fake flash-kernel (precise) +rm -rf /boot/vmlinuz || true +rm -rf /boot/initrd.img || true + +#Fake flash-kernel (quantal) +rm -rf /boot/vmlinuz- || true +rm -rf /boot/initrd.img- || true + #Cleanup: Initial Bootloader rm -f /boot/uboot/boot.scr || true rm -f /boot/uboot/boot.scr.bak || true rm -f /boot/uboot/uEnv.txt || true rm -f /boot/uboot/uEnv.txt.bak || true +rm -f /boot/uboot/preEnv.txt || true #Restore backup MLO (SPL) Bootloader? rm -f /boot/uboot/MLO || true