From 9011e1226c5d6eab15e243de4a490512023ba9c7 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 2 Apr 2018 22:56:03 +0200 Subject: [PATCH] Update post-build.sh --- buildroot-external/board/ova/post-build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/buildroot-external/board/ova/post-build.sh b/buildroot-external/board/ova/post-build.sh index c7a4390f0..dcaf05fa3 100755 --- a/buildroot-external/board/ova/post-build.sh +++ b/buildroot-external/board/ova/post-build.sh @@ -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