silenced rmdir of lost+found since it may not exist

This commit is contained in:
Tomas M committed 2012-12-28 01:55:40 -06:00
1 parent a645f094a5
commit b55b0693df
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -31,6 +31,7 @@ rm -Rf "$LIVEKITDATA"
BOOT="$LIVEKITDATA"/"$LIVEKITNAME"/boot
mkdir -p "$BOOT"
mkdir -p "$BOOT"/../changes
mkdir -p "$BOOT"/../modules
mv "$INITRAMFS" $BOOT/initrfs.img
cp bootfiles/* $BOOT
cat bootfiles/syslinux.cfg | sed -r "s:/boot/:/$LIVEKITNAME/boot/:" > $BOOT/syslinux.cfg