diff options
author | Colin Guthrie <colin@mageia.org> | 2012-04-10 20:30:53 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2012-04-10 20:30:53 +0000 |
commit | 9e3367d2f80d6d140ed921adb4d6cfcdd0778148 (patch) | |
tree | 5638610cff8940ef29b4a1e4853ba3883d6faeb1 /tools/hd_grub.cgi | |
parent | 9bb834d0897e829586c4047fa119cd71ddc95380 (diff) | |
download | drakx-9e3367d2f80d6d140ed921adb4d6cfcdd0778148.tar drakx-9e3367d2f80d6d140ed921adb4d6cfcdd0778148.tar.gz drakx-9e3367d2f80d6d140ed921adb4d6cfcdd0778148.tar.bz2 drakx-9e3367d2f80d6d140ed921adb4d6cfcdd0778148.tar.xz drakx-9e3367d2f80d6d140ed921adb4d6cfcdd0778148.zip |
installer: allow generation of host-only initrd during install
During install dracut will generate a generic (i.e. large) initrd.
As we now start udev early, we can use udev metadata when generating
our initrd and thus we can generate our default, hostonly initrd.
Thus ensure relevant directories (/run) are bind mounted and fake a
/run/initramfs folder which is used in dracut to detect a boot
which will have sufficient metadata in the udev DB.
Tested with an install on a new disk and creating LVMs and
also on an install where the pre-existing LVMs were reused.
Suitable fixes to drakx-in-chroot have also been added, but
remain untested
Diffstat (limited to 'tools/hd_grub.cgi')
0 files changed, 0 insertions, 0 deletions