bind mount /run into chroot

without this lvm2 and update-grub hang for a long time and don't work
correctly
master
lub 5 years ago
parent 843ef82813
commit 8275995e0c

@ -47,6 +47,7 @@ debootstrap --variant=minbase --arch=amd64 buster "$chroot" https://deb.debian.o
mount -t proc none "$chroot/proc"
mount -t sysfs none "$chroot/sys"
mount -o bind /dev "$chroot/dev"
mount -o bind /run "$chroot/run"
# set hostname

Loading…
Cancel
Save