diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-04-06 03:21:55 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-04-06 03:21:55 +0000 |
commit | 56056e359705b9746cd08db8fd6ce90df6b5b6bf (patch) | |
tree | 034f9de01f8e8d60de8be97e967c24274fd175f8 /perl-install | |
parent | c8f020bf9d3cf293f4302830bed2a6fc6a110153 (diff) | |
download | drakx-56056e359705b9746cd08db8fd6ce90df6b5b6bf.tar drakx-56056e359705b9746cd08db8fd6ce90df6b5b6bf.tar.gz drakx-56056e359705b9746cd08db8fd6ce90df6b5b6bf.tar.bz2 drakx-56056e359705b9746cd08db8fd6ce90df6b5b6bf.tar.xz drakx-56056e359705b9746cd08db8fd6ce90df6b5b6bf.zip |
bind mount /run in chroot, thus fixing dracut runs (Dave Hodgins, mga#9213)
Diffstat (limited to 'perl-install')
-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) |