find data retrying

This commit is contained in:
Tomas M
2012-09-18 11:04:52 -05:00
parent c2cb90aae3
commit 6b807b31cb
3 changed files with 29 additions and 9 deletions
+6 -5
View File
@@ -39,15 +39,16 @@ cat bootfiles/syslinux.cfg | sed -r "s:/boot/:/$LIVEKITNAME/boot/:" > $BOOT/sysl
cat bootfiles/bootinst.bat | sed -r "s:/boot/:/$LIVEKITNAME/boot/:" | sed -r "s:\\\\boot\\\\:\\\\$LIVEKITNAME\\\\boot\\\\:" > $BOOT/bootinst.bat
cp /boot/vmlinuz $BOOT/
# create compressed bundles
for i in $MKMOD; do
mksquashfs /$i $LIVEKITDATA/$LIVEKITNAME/$i.$BEXT -comp xz -b 512k
done
if [ -d sb ]; then
cp sb/* $LIVEKITDATA/$LIVEKITNAME/
else
# create compressed bundles
for i in $MKMOD; do
mksquashfs /$i $LIVEKITDATA/$LIVEKITNAME/$i.$BEXT -comp xz -b 512k
done
fi
# create ISO for CD image
echo "Creating ISO file for CD boot..."
cd "$LIVEKITDATA"