make it more universal yet still preserve my target directory
parent
00a8051928
commit
4fc76b68df
8
build
8
build
|
|
@ -44,8 +44,12 @@ cp /boot/vmlinuz $BOOT/
|
||||||
|
|
||||||
# create ISO for CD image (so I can test it)
|
# create ISO for CD image (so I can test it)
|
||||||
cd "$LIVEKITDATA"
|
cd "$LIVEKITDATA"
|
||||||
mkisofs -o "/mnt/z/slax-prealpha-$(uname -m).iso" -v -J -R -D -A "$LIVEKITNAME" -V "$LIVEKITNAME" \
|
TARGET=/mnt/z
|
||||||
|
if [ ! -d $TARGET ]; then
|
||||||
|
TARGET=/tmp
|
||||||
|
fi
|
||||||
|
|
||||||
|
mkisofs -o "$TARGET/$LIVEKITNAME-$(uname -m).iso" -v -J -R -D -A "$LIVEKITNAME" -V "$LIVEKITNAME" \
|
||||||
-no-emul-boot -boot-info-table -boot-load-size 4 \
|
-no-emul-boot -boot-info-table -boot-load-size 4 \
|
||||||
-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
|
||||||
sync
|
|
||||||
Loading…
Reference in New Issue