diff options
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/fs/any.pm | 3 | ||||
-rw-r--r-- | perl-install/install/NEWS | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index e1af7978b..f71d1d8f6 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,5 @@ +- library (for draklive-install): + o bind mount /run in chroot, thus fixing dracut runs (Dave Hodgins, mga#9213) - drakboot: o fix other Mga OS names in menu (mga#8710) 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) }; diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 808676134..75c11083b 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,4 @@ +- bind mount /run in chroot, thus fixing dracut runs (Dave Hodgins, mga#9213) - bootloader: o fix other Mga OS names in menu (mga#8710) |