From 8137a137b32580b527bc10bf76e460ce651f8425 Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 22 Dec 2023 05:10:22 +0100 Subject: [PATCH] fix: Disable device nodes --- src/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/install.sh b/src/install.sh index 1190c1c..e0484a8 100644 --- a/src/install.sh +++ b/src/install.sh @@ -70,6 +70,7 @@ else TMP="/tmp/dsm" SPACE=$(df --output=avail -B 1 /tmp | tail -n 1) if (( MIN_SPACE > SPACE )); then + DEV="N" TMP="$STORAGE/tmp" info "Warning: the $FS filesystem of $STORAGE does not support UNIX permissions.." fi @@ -199,15 +200,14 @@ if ((SIZE<250000000)); then error "The specified PAT file is probably an update pack as it's too small." && exit 62 fi +info "Install: Extracting downloaded image..." + if { tar tf "$PAT"; } >/dev/null 2>&1; then - info "Install: Extracting downloaded image..." tar xpf "$PAT" -C "$TMP/." else - info "Install: Extracting downloaded image..." - export LD_LIBRARY_PATH="/run/extract" if [ "$ARCH" == "amd64" ]; then