From 2e5cec66ec4fee979edb4286e27235556a6f82ec Mon Sep 17 00:00:00 2001 From: George Danchev Date: Wed, 22 Jun 2011 20:32:09 +0000 Subject: [PATCH] boot section; WIP, not completed yet --- libisoburn/trunk/releng/releng_build_jigdo | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/libisoburn/trunk/releng/releng_build_jigdo b/libisoburn/trunk/releng/releng_build_jigdo index eaa5ccb4..957ebc68 100755 --- a/libisoburn/trunk/releng/releng_build_jigdo +++ b/libisoburn/trunk/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