surround by infomessages

pull/5/head
Tomas M 2012-09-04 21:08:22 -05:00
parent 1bf8290ebe
commit 0e22bdf0f8
1 changed files with 5 additions and 1 deletions

6
build
View File

@ -20,6 +20,7 @@ if [ "$(mksquashfs 2>&1 | grep "Xdict-size")" = "" ]; then
fi fi
# build initramfs image # build initramfs image
echo "Building intramfs image using your current system binaries..."
cd initramfs cd initramfs
INITRAMFS=$(./initramfs_create "$LIVEKITNAME") INITRAMFS=$(./initramfs_create "$LIVEKITNAME")
cd .. cd ..
@ -42,7 +43,8 @@ cp /boot/vmlinuz $BOOT/
# create compressed bundles # create compressed bundles
# ... # ...
# create ISO for CD image (so I can test it) # create ISO for CD image
echo "Creating ISO file for CD boot..."
cd "$LIVEKITDATA" cd "$LIVEKITDATA"
TARGET=/mnt/z TARGET=/mnt/z
if [ ! -d $TARGET ]; then if [ ! -d $TARGET ]; then
@ -54,7 +56,9 @@ mkisofs -o "$TARGET/$LIVEKITNAME-$(uname -m).iso" -v -J -R -D -A "$LIVEKITNAME"
-b "$LIVEKITNAME"/boot/isolinux.bin -c "$LIVEKITNAME"/boot/isolinux.boot . \ -b "$LIVEKITNAME"/boot/isolinux.bin -c "$LIVEKITNAME"/boot/isolinux.boot . \
>/dev/null 2>/dev/null >/dev/null 2>/dev/null
echo "Creating TAR for USB boot..."
tar -c ./* > "$TARGET/$LIVEKITNAME-$(uname -m).tar" tar -c ./* > "$TARGET/$LIVEKITNAME-$(uname -m).tar"
cd .. cd ..
rm -Rf "$LIVEKITDATA" rm -Rf "$LIVEKITDATA"
echo "finished. Find your result in $TARGET"