check for boot files existence

This commit is contained in:
George Danchev 2011-07-03 07:52:17 +00:00
parent bfc1796c26
commit f5737f8ced

View File

@ -153,7 +153,7 @@ CMD="${RELENG_XORRISO} \
"
# BOOT section
if [ -f "${RELENG_ISOLINUX_BIN}" ]; then
if [ -f "${RELENG_ISOLINUX_BIN}" -a -f "${ISOHYBRID_MBR}" -a -f "${APPEND_PART}" ]; then
CMD+="\
-b ${RELENG_ISOLINUX_BIN} \
-c ${RELENG_BOOT_CAT} \
@ -162,6 +162,8 @@ CMD+="\
-partition_offset 16 \
-append_partition 2 0x01 ${APPEND_PART} \
"
else
printf "\n${SELF}: FAIL to compose the boot section.\n"
fi
# JIGDO section