From a97fcaabc88eae78e7f375450e59d172d58b2f10 Mon Sep 17 00:00:00 2001 From: oddlama Date: Thu, 30 Jun 2022 21:22:57 +0200 Subject: [PATCH] feat: mount /run to suppress warnings (closes #44) --- scripts/functions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/functions.sh b/scripts/functions.sh index cf7fe62..dcafe5d 100644 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -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" &&