print the xtract command
This commit is contained in:
parent
d30f7dbec6
commit
2c0d8c90ab
@ -119,7 +119,7 @@ if [ ! -f "${TMP_DATA_DIR}"/"${REMOTE_IMG}" ]; then
|
||||
;;
|
||||
esac
|
||||
else
|
||||
printf "\n${SELF}: Found image: ${TMP_DATA_DIR}/${REMOTE_IMG}\n"
|
||||
printf "\n${SELF}: Found ISO image: ${TMP_DATA_DIR}/${REMOTE_IMG}\n"
|
||||
fi
|
||||
|
||||
# check for extraction directory existence
|
||||
@ -131,10 +131,13 @@ else
|
||||
fi
|
||||
|
||||
# extract image content
|
||||
set +e
|
||||
"${RELENG_XORRISO}" -indev "${TMP_DATA_DIR}"/"${REMOTE_IMG}" \
|
||||
CMD_EXTRACT="${RELENG_XORRISO} -indev ${TMP_DATA_DIR}/${REMOTE_IMG} \
|
||||
-osirrox on:auto_chmod_on \
|
||||
-extract / "${IMG_EXTRACT_DIR}"
|
||||
-extract / ${IMG_EXTRACT_DIR} \
|
||||
"
|
||||
echo -e "${SELF}: Extracting ISO image:\n${CMD_EXTRACT}\n"
|
||||
set +e
|
||||
${CMD_EXTRACT}
|
||||
set -e
|
||||
|
||||
# grab an MBR
|
||||
|
Loading…
Reference in New Issue
Block a user