diff options
author | Chris Lumens <clumens@redhat.com> | 2008-04-02 14:55:28 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-04-02 14:55:28 -0400 |
commit | b237f84a589d536d20b7e6866de3676d676f46d7 (patch) | |
tree | e0da088ffe606017f79fbbc047ffa310383d66d5 | |
parent | d2be49d9e8212c85afd20e4fe093fbe24c17f9bf (diff) | |
download | anaconda-b237f84a589d536d20b7e6866de3676d676f46d7.tar.gz anaconda-b237f84a589d536d20b7e6866de3676d676f46d7.tar.xz anaconda-b237f84a589d536d20b7e6866de3676d676f46d7.zip |
Don't rebuild the initrds if no modules were installed (#439379).
-rw-r--r-- | yuminstall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yuminstall.py b/yuminstall.py index cb23ec99c..6ec1e8882 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -1725,7 +1725,7 @@ class YumBackend(AnacondaBackend): # If we installed modules from packages using the new driver disk # method, we still need to remake the initrd. Otherwise, drop back # to the old method. - if len(self._installedDriverModules) == len(anaconda.id.extraModules): + if len(self._installedDriverModules) > 0 and len(self._installedDriverModules) == len(anaconda.id.extraModules): for (n, arch, tag) in self.kernelVersionList(): recreateInitrd(n, anaconda.rootPath) else: |