post-image.sh 415 B

123456789101112131415
  1. #!/bin/sh
  2. # post-image.sh for Nanopi NEO, based on the Orange Pi PC
  3. BOARD_DIR="$( dirname "${0}" )"
  4. GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
  5. GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
  6. rm -rf "${GENIMAGE_TMP}"
  7. genimage \
  8. --rootpath "${TARGET_DIR}" \
  9. --tmppath "${GENIMAGE_TMP}" \
  10. --inputpath "${BINARIES_DIR}" \
  11. --outputpath "${BINARIES_DIR}" \
  12. --config "${GENIMAGE_CFG}"