From 85c8bcc75b0576c90a3b6ccc8f298cdcbdea209a Mon Sep 17 00:00:00 2001 From: hipposen Date: Sun, 24 Mar 2024 15:54:35 +0100 Subject: [PATCH] Update build-local.sh --- build-local.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/build-local.sh b/build-local.sh index 28e2c3a..d3f8f20 100755 --- a/build-local.sh +++ b/build-local.sh @@ -4,14 +4,15 @@ apt update && apt install git -y # we need to put `build` in the container filesystem as unsquashfs throws errors, if it has to work across filesystems -cd /heyalter -mkdir /tmp/build + sudo mkdir -p /heyalter +sudo cd /heyalter +sudo mkdir /tmp/build if [ ! -L /heyalter/build ] then - ln -s /tmp/build /heyalter/build + sudo ln -s /tmp/build /heyalter/build fi # call the build script -./preset.sh -./build.sh +sudo ./preset.sh +sudo ./build.sh