aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/create-image.sh3
1 files changed, 2 insertions, 1 deletions
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.