优化挂载目录
This commit is contained in:
parent
1f7d53bf4d
commit
38a7d220c7
@ -10,7 +10,7 @@ if [[ ! -f ~/.config/gx-env/chroot ]]; then
|
||||
gx-env-init
|
||||
fi
|
||||
fi
|
||||
bwrap --dev-bind / / --dev-bind $chrootEnvPath/etc /etc --dev-bind $chrootEnvPath/opt /opt --dev-bind $chrootEnvPath/usr /usr --dev-bind $chrootEnvPath/var /var --dev-bind $chrootEnvPath/bin /bin --dev-bind $chrootEnvPath/boot /boot --dev-bind $chrootEnvPath/lib /lib --dev-bind $chrootEnvPath/lib32 /lib32 --dev-bind $chrootEnvPath/lib64 /lib64 --dev-bind $chrootEnvPath/libx32 /libx32 --dev-bind $chrootEnvPath/gx-env /gx-env --dev-bind /etc/resolv.conf /etc/resolv.conf "$@"
|
||||
bwrap --dev-bind / / --dev-bind $chrootEnvPath/etc /etc --dev-bind $chrootEnvPath/opt /opt --dev-bind $chrootEnvPath/usr /usr --dev-bind $chrootEnvPath/var /var --dev-bind $chrootEnvPath/gx-env /gx-env --dev-bind /etc/resolv.conf /etc/resolv.conf "$@"
|
||||
#pkexec env `` gx-env-load-desktop
|
||||
exit
|
||||
fi
|
||||
|
@ -10,7 +10,7 @@ if [[ ! -f ~/.config/gx-env/chroot ]]; then
|
||||
# pkexec env `gx-env-show-env-list` gx-env-init
|
||||
# fi
|
||||
#fi
|
||||
pkexec env `gx-env-show-env-list` bwrap --dev-bind / / --dev-bind $chrootEnvPath/etc /etc --dev-bind $chrootEnvPath/opt /opt --dev-bind $chrootEnvPath/usr /usr --dev-bind $chrootEnvPath/var /var --dev-bind $chrootEnvPath/bin /bin --dev-bind $chrootEnvPath/boot /boot --dev-bind $chrootEnvPath/lib /lib --dev-bind $chrootEnvPath/lib32 /lib32 --dev-bind $chrootEnvPath/lib64 /lib64 --dev-bind $chrootEnvPath/libx32 /libx32 --dev-bind $chrootEnvPath/gx-env /gx-env --dev-bind /etc/resolv.conf /etc/resolv.conf "$@"
|
||||
pkexec env `gx-env-show-env-list` bwrap --dev-bind / / --dev-bind $chrootEnvPath/etc /etc --dev-bind $chrootEnvPath/opt /opt --dev-bind $chrootEnvPath/usr /usr --dev-bind $chrootEnvPath/var /var --dev-bind $chrootEnvPath/gx-env /gx-env --dev-bind /etc/resolv.conf /etc/resolv.conf "$@"
|
||||
#pkexec gx-env-load-desktop
|
||||
exit
|
||||
fi
|
||||
|
0
gx-env-show-env-list
Normal file → Executable file
0
gx-env-show-env-list
Normal file → Executable file
Loading…
Reference in New Issue
Block a user