diff --git a/releng/releng_build_jigdo b/releng/releng_build_jigdo index eaa5ccb4..957ebc68 100755 --- a/releng/releng_build_jigdo +++ b/releng/releng_build_jigdo @@ -15,8 +15,11 @@ RES="${IMG}.iso ${IMG}.new ${IMG}.md5 ${IMG}.jigdo ${IMG}.template" # remove cruft from previous runs # rm -f ${RES} +# grab an MBR +# dd if=some.iso bs=1K count=32 of=somembr.sysarea + # create FAT partition -# /sbin/mkfs.msdos -n Bla -C test.fat 8192 +# /sbin/mkfs.msdos -n Bla -C fatpart.fat 8192 # create MD5 list in base64 format jigdo-gen-md5-list ${DIR} > ${IMG}.md5 @@ -31,8 +34,14 @@ CMD="${XOR} \ -J -joliet-long \ " # boot section -#if [ "${4}" ]; then -#CMD+= +#if [ "${5}" -a "${6}" ]; then +#CMD+=\ +# -b boot/isolinux/isolinux.bin \ # $5 +# -c boot/boot.cat \ # $6 +# -no-emul-boot -boot-load-size 4 -boot-info-table \ +# -isohybrid-mbr somembr.sysarea \ # TODO: figure out where to grab one +# -partition_offset 16 \ +# -append_partition 2 0x01 fatpart.fat \ #fi # jigdo section