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 | f4df0db154e1970dd66511e8ffe59eeb3b0b3b73 (patch) | |
tree | 034f9de01f8e8d60de8be97e967c24274fd175f8 | |
parent | d450fbdc255f0fa46e2512e35b4430e04fce1ac3 (diff) | |
download | drakx-backup-do-not-use-f4df0db154e1970dd66511e8ffe59eeb3b0b3b73.tar drakx-backup-do-not-use-f4df0db154e1970dd66511e8ffe59eeb3b0b3b73.tar.gz drakx-backup-do-not-use-f4df0db154e1970dd66511e8ffe59eeb3b0b3b73.tar.bz2 drakx-backup-do-not-use-f4df0db154e1970dd66511e8ffe59eeb3b0b3b73.tar.xz drakx-backup-do-not-use-f4df0db154e1970dd66511e8ffe59eeb3b0b3b73.zip |
bind mount /run in chroot, thus fixing dracut runs (Dave Hodgins, mga#9213)
-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) |