boot section; WIP, not completed yet
This commit is contained in:
parent
b62a9f269e
commit
2e1f9fa4f4
@ -15,8 +15,11 @@ RES="${IMG}.iso ${IMG}.new ${IMG}.md5 ${IMG}.jigdo ${IMG}.template"
|
|||||||
# remove cruft from previous runs
|
# remove cruft from previous runs
|
||||||
# rm -f ${RES}
|
# rm -f ${RES}
|
||||||
|
|
||||||
|
# grab an MBR
|
||||||
|
# dd if=some.iso bs=1K count=32 of=somembr.sysarea
|
||||||
|
|
||||||
# create FAT partition
|
# 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
|
# create MD5 list in base64 format
|
||||||
jigdo-gen-md5-list ${DIR} > ${IMG}.md5
|
jigdo-gen-md5-list ${DIR} > ${IMG}.md5
|
||||||
@ -31,8 +34,14 @@ CMD="${XOR} \
|
|||||||
-J -joliet-long \
|
-J -joliet-long \
|
||||||
"
|
"
|
||||||
# boot section
|
# boot section
|
||||||
#if [ "${4}" ]; then
|
#if [ "${5}" -a "${6}" ]; then
|
||||||
#CMD+=
|
#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
|
#fi
|
||||||
|
|
||||||
# jigdo section
|
# jigdo section
|
||||||
|
Loading…
Reference in New Issue
Block a user