diff options
author | Brian C. Lane <bcl@redhat.com> | 2012-03-05 17:08:16 -0800 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2012-03-06 06:23:04 -0800 |
commit | df55a02816f4c0bf4112d5f670299ecd01187932 (patch) | |
tree | 87a00f312bbb88fbd30c982382906cc0c6f2579a /pyanaconda | |
parent | 28da143313ad31bac78ff89280ed0777a01e2c51 (diff) | |
download | anaconda-df55a02816f4c0bf4112d5f670299ecd01187932.tar.gz anaconda-df55a02816f4c0bf4112d5f670299ecd01187932.tar.xz anaconda-df55a02816f4c0bf4112d5f670299ecd01187932.zip |
Add dracut args for /usr to bootloader (#787893)
When /usr is on a separate device like LVM or RAID dracut needs
to know about this so add the needed rd.* parameters to the cmdline.
This also works when upgrading.
Diffstat (limited to 'pyanaconda')
-rw-r--r-- | pyanaconda/bootloader.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py index 228b5c4c0..3469e1f4c 100644 --- a/pyanaconda/bootloader.py +++ b/pyanaconda/bootloader.py @@ -900,6 +900,11 @@ class BootLoader(object): dracut_devices.extend(self.storage.fsset.swapDevices) + # Does /usr have its own device? If so, we need to tell dracut + usr_device = self.storage.mountpoints.get("/usr") + if usr_device: + dracut_devices.extend([usr_device]) + done = [] # When we see a device whose setup string starts with a key in this # dict we pop that pair from the dict. When we're done looking at |