boot section; WIP, not completed yet

This commit is contained in:
George Danchev 2011-06-22 20:32:09 +00:00
parent c2c2414674
commit 2e5cec66ec

View File

@ -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