From ca1beb07f02e67ba2faa81a5b56b061111f818f3 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Thu, 2 Apr 2020 16:05:29 +0200 Subject: tools/create-image.sh: make sure filesystem root has correct permissions --- tools/create-image.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/create-image.sh') diff --git a/tools/create-image.sh b/tools/create-image.sh index 3a6db32d6..32cdfcdb5 100755 --- a/tools/create-image.sh +++ b/tools/create-image.sh @@ -81,7 +81,8 @@ if [ $FEATURE = "full" ]; then fi sudo rm -rf $DIR -mkdir -p $DIR +sudo mkdir -p $DIR +sudo chmod 0755 $DIR sudo debootstrap --include=$PREINSTALL_PKGS --components=main,contrib,non-free $RELEASE $DIR # Set some defaults and enable promtless ssh to the machine for root. -- cgit mrf-deployment