kumquat-buildroot/board/wandboard/post-image.sh
Bjørn Forsman 9eedc747ab Use portable shebangs (/bin/bash -> /usr/bin/env bash)
"/usr/bin/env bash" is used everywhere else in host tools. These are the
only remaining offenders.

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-10-19 22:06:06 +02:00

17 lines
327 B
Bash
Executable File

#!/usr/bin/env bash
GENIMAGE_CFG="board/wandboard/genimage.cfg"
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
rm -rf "${GENIMAGE_TMP}"
genimage \
--rootpath "${TARGET_DIR}" \
--tmppath "${GENIMAGE_TMP}" \
--inputpath "${BINARIES_DIR}" \
--outputpath "${BINARIES_DIR}" \
--config "${GENIMAGE_CFG}"
RET=${?}
exit ${RET}