From 88bd8894d9fb286083d35e406542d718528f67d2 Mon Sep 17 00:00:00 2001 From: Howard Wu Date: Wed, 5 Jul 2023 14:56:48 +0800 Subject: [PATCH] Fix mtab workaround --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 1c1fa7fa34..0794e4e6c7 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -221,7 +221,7 @@ mount_erofs() { # In Debian /usr/sbin is not in PATH and some utilities in there are in use [ -d /usr/sbin ] && export PATH="/usr/sbin:$PATH" # In Debian /etc/mtab is not exist -[ -f /etc/mtab ] || ln -s /proc/self/mounts /etc/mtab +[ -f /etc/mtab ] || sudo ln -s /proc/self/mounts /etc/mtab ARCH_MAP=( "x64"