feat: mount /run to suppress warnings (closes #44)

This commit is contained in:
oddlama 2022-06-30 21:22:57 +02:00
parent 0350ada8c3
commit a97fcaabc8
No known key found for this signature in database
GPG Key ID: 14EFE510775FE39A
1 changed files with 1 additions and 0 deletions

View File

@ -926,6 +926,7 @@ function gentoo_chroot() {
einfo "Mounting virtual filesystems"
(
mountpoint -q -- "$chroot_dir/proc" || mount -t proc /proc "$chroot_dir/proc" || exit 1
mountpoint -q -- "$chroot_dir/run" || mount --rbind /run "$chroot_dir/run" || exit 1
mountpoint -q -- "$chroot_dir/tmp" || mount --rbind /tmp "$chroot_dir/tmp" || exit 1
mountpoint -q -- "$chroot_dir/sys" || {
mount --rbind /sys "$chroot_dir/sys" &&