Update post-build.sh

This commit is contained in:
Pascal Vizeli 2018-04-02 22:56:03 +02:00 committed by GitHub
parent 07c08dd108
commit 9011e1226c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,11 @@
#!/bin/bash
set -e
SCRIPT_DIR=${BR2_EXTERNAL_HASSIO_PATH}/scripts
BOARD_DIR="$(dirname $0)"
cp "$BOARD_DIR/rauc.conf" "$TARGET_DIR/etc/rauc/system.conf"
. ${SCRIPT_DIR}/rootfs_layer.sh
rootfs_fix
cp ${BOARD_DIR}/rauc.conf ${TARGET_DIR}/etc/rauc/system.conf