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