package/efl: bump to version 1.18.4
[buildroot-gz.git] / board / toradex / apalis-imx6 / post-image.sh
blob2b49f9d3d094118732ccbe16956cf2cf4c820d5e
1 #!/usr/bin/env bash
3 GENIMAGE_CFG="$(dirname $0)/genimage.cfg"
4 GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
6 # copy the uEnv.txt to the output/images directory
7 cp board/toradex/apalis-imx6/uEnv.txt $BINARIES_DIR/uEnv.txt
9 rm -rf "${GENIMAGE_TMP}"
11 # generate rootfs.img
12 genimage \
13 --rootpath "${TARGET_DIR}" \
14 --tmppath "${GENIMAGE_TMP}" \
15 --inputpath "${BINARIES_DIR}" \
16 --outputpath "${BINARIES_DIR}" \
17 --config "${GENIMAGE_CFG}"
19 RET=${?}
20 exit ${RET}