修改pardus-chroot

This commit is contained in:
gfdgd xi 2023-03-03 22:37:49 +08:00
parent 2d399c57ba
commit 12620e400e

View File

@ -21,6 +21,7 @@ mount -t devpts devpts "$DESTDIR/dev/pts"
mount -t sysfs sysfs "$DESTDIR/sys" mount -t sysfs sysfs "$DESTDIR/sys"
mount -t proc proc "$DESTDIR/proc" mount -t proc proc "$DESTDIR/proc"
mount -t tmpfs tmpfs "$DESTDIR/dev/shm" mount -t tmpfs tmpfs "$DESTDIR/dev/shm"
mount --bind /tmp "$DESTDIR/tmp"
if [[ -d /sys/firmware/efi/ ]] ; then if [[ -d /sys/firmware/efi/ ]] ; then
mount -t efivarfs efivarfs "$DESTDIR/sys/firmware/efi/efivars" mount -t efivarfs efivarfs "$DESTDIR/sys/firmware/efi/efivars"
fi fi