From d050e166cd38be64f7c7541cc4b35aaecd74f7a0 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 4 Mar 2019 14:22:20 +0200 Subject: [PATCH] make_rootfs.sh: Ensure paths exists before cat Ensure that all paths exists before executing cat. Otherwise the rootfs was not properly generated and the image was not booting. Suggested-by: Lazar Hristov Signed-off-by: Leon Anavi --- SOFTWARE/A64-TERES/scripts/make_rootfs.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SOFTWARE/A64-TERES/scripts/make_rootfs.sh b/SOFTWARE/A64-TERES/scripts/make_rootfs.sh index 3a98807e..da9dae52 100755 --- a/SOFTWARE/A64-TERES/scripts/make_rootfs.sh +++ b/SOFTWARE/A64-TERES/scripts/make_rootfs.sh @@ -339,6 +339,7 @@ apt-get clean EOF chmod +x "$DEST/second-phase" do_chroot /second-phase + mkdir -p $DEST/etc/network/interfaces.d/ cat > "$DEST/etc/network/interfaces.d/eth0" < "$DEST/etc/udev/hwdb.d/teres_kmap.hwdb" < "$DEST/etc/udev/hwdb.d/teres_kmap.hwdb" <