diff options
author | David L. Cantrell Jr <dcantrell@redhat.com> | 2008-01-03 11:28:18 -1000 |
---|---|---|
committer | David L. Cantrell Jr <dcantrell@redhat.com> | 2008-01-03 11:28:18 -1000 |
commit | a4f8de839e483e0bb9dd98c788ecf4278d189dd7 (patch) | |
tree | 12030252162b74f3af892207804a55e12af10de3 /yuminstall.py | |
parent | b0a1717477ff906f925669eeb50d919d24201aa0 (diff) | |
download | anaconda-a4f8de839e483e0bb9dd98c788ecf4278d189dd7.tar.gz anaconda-a4f8de839e483e0bb9dd98c788ecf4278d189dd7.tar.xz anaconda-a4f8de839e483e0bb9dd98c788ecf4278d189dd7.zip |
Precreate /etc/modprobe.d in installroot
If /etc/modprobe.d/anaconda is found in the install env we
copy that into the chroot, which can fail if the modprobe.d/
directory doesn't exist. Just pre-create it. Patch from
Jesse Keating <jkeating@redhat.com>.
Diffstat (limited to 'yuminstall.py')
-rw-r--r-- | yuminstall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yuminstall.py b/yuminstall.py index 5629de08e..9e1eaa39c 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -1226,7 +1226,7 @@ class YumBackend(AnacondaBackend): dirList = ['/var', '/var/lib', '/var/lib/rpm', '/tmp', '/dev', '/etc', '/etc/sysconfig', '/etc/sysconfig/network-scripts', '/etc/X11', '/root', '/var/tmp', '/etc/rpm', '/var/cache', - '/var/cache/yum'] + '/var/cache/yum', '/etc/modprobe.d'] # If there are any protected partitions we want to mount, create their # mount points now. |