From f5737f8ced0b20624b0a5657c48998d8fb6672fe Mon Sep 17 00:00:00 2001 From: George Danchev Date: Sun, 3 Jul 2011 07:52:17 +0000 Subject: [PATCH] check for boot files existence --- libisoburn/trunk/releng/releng_isojigdo | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libisoburn/trunk/releng/releng_isojigdo b/libisoburn/trunk/releng/releng_isojigdo index c9970231..3517acc5 100755 --- a/libisoburn/trunk/releng/releng_isojigdo +++ b/libisoburn/trunk/releng/releng_isojigdo @@ -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