From 59d81ddd4b4ba330e920b8e7bb96de1ec1c587ae Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 13 May 2015 09:10:38 +0200 Subject: [PATCH] create iso works without checksum error Signed-off-by: Nico Schottelius --- hacking/create_iso.sh | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) mode change 100644 => 100755 hacking/create_iso.sh diff --git a/hacking/create_iso.sh b/hacking/create_iso.sh old mode 100644 new mode 100755 index 23e8a0e3..0902bc20 --- a/hacking/create_iso.sh +++ b/hacking/create_iso.sh @@ -2,13 +2,20 @@ # 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 + out=preos-${version}.iso -genisoimage -r -V "cdist preos v0.2" \ - -cache-inodes -J -l \ - -no-emul-boot \ - -boot-load-size 4 -b isolinux.bin -c boot.cat \ - -o cdist-preos.iso $indir + # -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"