From 6b03ec63de103b576a5c5148629f8f902a5ad8d4 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Tue, 11 Jan 2022 01:15:21 -0500 Subject: selfstrap: do not bind mount /dev --- selfstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfstrap b/selfstrap index 75907fc..4a9f8e7 100755 --- a/selfstrap +++ b/selfstrap @@ -166,7 +166,7 @@ prepare_chroot() [ -d "$TARGET"/sys ] || mkdir "$TARGET"/sys mount -t proc proc "$TARGET"/proc mount -t sysfs sysfs "$TARGET"/sys - mount --bind /dev "$TARGET"/dev + mount -t tmpfs tmpfs "$TARGET"/dev } cleanup_chroot() -- cgit v1.2.3