summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 2d6be8961..4463aaff2 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -186,6 +186,10 @@ sub formatPartitions {
devices::make("$o->{prefix}/dev/null");
chmod 0666, "$o->{prefix}/dev/null";
+ eval { fs::mount('none', "$o->{prefix}/proc", 'proc') };
+ eval { fs::mount('none', "$o->{prefix}/proc/bus/usb", 'usbdevfs') };
+ eval { fs::mount('none', "$o->{prefix}/sys", 'sysfs') };
+
common::screenshot_dir__and_move();
any::rotate_logs($o->{prefix});