logrotate: enable selinux support
[buildroot-gz.git] / board / nanopi-neo / post-image.sh
blob740386ef823ddd9471af6965ded4d024ce9292c9
1 #!/bin/sh
2 # post-image.sh for Nanopi NEO, based on the Orange Pi PC
4 BOARD_DIR="$( dirname "${0}" )"
5 GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
6 GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
8 rm -rf "${GENIMAGE_TMP}"
10 genimage \
11 --rootpath "${TARGET_DIR}" \
12 --tmppath "${GENIMAGE_TMP}" \
13 --inputpath "${BINARIES_DIR}" \
14 --outputpath "${BINARIES_DIR}" \
15 --config "${GENIMAGE_CFG}"