Add more workaround for Debian

This commit is contained in:
Howard Wu 2023-03-29 18:50:56 +08:00
parent d01fdc3951
commit cf1b850905

View file

@ -140,6 +140,10 @@ vhdx_to_img() {
return 0
}
# workaround for Debian
# In Debian /usr/sbin is not in PATH and some utilities are not in /bin
[ -f /usr/sbin ] && export PATH="/usr/sbin:$PATH"
# In Debian /etc/mtab is not exist
[ -f /etc/mtab ] || ln -s /proc/self/mounts /etc/mtab
ARCH_MAP=(