2015-05-13 06:39:22 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# FIXME: include os explorer to name preos
|
|
|
|
|
2015-05-13 07:10:38 +00:00
|
|
|
if [ "$#" -ne 2 ]; then
|
|
|
|
echo "$0 dir-in iso-out"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
indir=$1; shift
|
|
|
|
iso=$1; shift
|
2015-05-13 06:39:22 +00:00
|
|
|
|
|
|
|
version=0.3
|
2015-05-13 07:10:38 +00:00
|
|
|
|
2015-05-13 06:39:22 +00:00
|
|
|
out=preos-${version}.iso
|
|
|
|
|
2015-05-13 07:10:38 +00:00
|
|
|
# -cache-inodes \
|
|
|
|
genisoimage -r -J -l \
|
|
|
|
-V "cdist PreOS $version" \
|
|
|
|
-b boot/isolinux.bin -no-emul-boot -c boot.cat -boot-load-size 4 -boot-info-table \
|
|
|
|
-o "$iso" "$indir"
|