From c56b0f9e5765cf5d3b802a3e5b331bb65aae23be Mon Sep 17 00:00:00 2001 From: Janson Date: Tue, 29 Mar 2022 11:43:19 +0800 Subject: [PATCH] Update install.sh --- applications/luci-app-ubuntu/root/usr/share/ubuntu/install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/applications/luci-app-ubuntu/root/usr/share/ubuntu/install.sh b/applications/luci-app-ubuntu/root/usr/share/ubuntu/install.sh index 023d28e..caceefb 100755 --- a/applications/luci-app-ubuntu/root/usr/share/ubuntu/install.sh +++ b/applications/luci-app-ubuntu/root/usr/share/ubuntu/install.sh @@ -12,6 +12,10 @@ image_name=`uci get ubuntu.@ubuntu[0].image 2>/dev/null` DOCKERPATH=`uci get dockerman.local.daemon_data_root` result=`findmnt -T $DOCKERPATH | grep -c /dev/sd` +#ignore the disk check in x86 +if echo `uname -m` | grep -Eqi 'x86_64'; then + result=1 +fi get_image(){ local version=`uci get ubuntu.@ubuntu[0].version 2>/dev/null`