summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/any.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/fs/any.pm b/perl-install/fs/any.pm
index bba86ecd2..5e7f34ec5 100644
--- a/perl-install/fs/any.pm
+++ b/perl-install/fs/any.pm
@@ -82,7 +82,7 @@ sub create_minimal_files() {
qw(dev etc etc/profile.d etc/rpm etc/sysconfig etc/sysconfig/console
etc/sysconfig/network-scripts etc/sysconfig/console/consolefonts
etc/sysconfig/console/consoletrans
- home mnt tmp var var/tmp var/lib var/lib/rpm var/lib/urpmi);
+ home mnt run tmp var var/tmp var/lib var/lib/rpm var/lib/urpmi);
mkdir "$::prefix/$_", 0700 foreach qw(root root/tmp root/drakx);
devices::make("$::prefix/dev/null");
@@ -94,6 +94,7 @@ sub prepare_minimal_root() {
fs::any::create_minimal_files();
run_program::run('mount', '--bind', '/dev', "$::prefix/dev");
+ run_program::run('mount', '--bind', '/run', "$::prefix/run");
eval { fs::mount::mount('none', "$::prefix/proc", 'proc') };
eval { fs::mount::mount('none', "$::prefix/sys", 'sysfs') };
eval { fs::mount::sys_kernel_debug($::prefix) };