post-image.sh 402 B

12345678910111213141516171819
  1. #!/bin/sh
  2. BOARD_DIR="$(dirname $0)"
  3. GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
  4. GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
  5. rm -rf "${GENIMAGE_TMP}"
  6. cp "${BOARD_DIR}/uEnv.txt" "${BINARIES_DIR}"
  7. genimage \
  8. --rootpath "${TARGET_DIR}" \
  9. --tmppath "${GENIMAGE_TMP}" \
  10. --inputpath "${BINARIES_DIR}" \
  11. --outputpath "${BINARIES_DIR}" \
  12. --config "${GENIMAGE_CFG}"
  13. exit $?