[rhel6-branch] Remove manual call to recreate initrd. (#1007884)

Vratislav Podzimek vpodzime at redhat.com
Wed Oct 16 07:17:29 UTC 2013


On Tue, 2013-10-15 at 15:01 -0400, Samantha N. Bueno wrote:
> Grubby handles things like this for us now.
> 
> Resolves: rhbz#1007884
> ---
>  backend.py | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/backend.py b/backend.py
> index 2bb0b41..8ca980c 100644
> --- a/backend.py
> +++ b/backend.py
> @@ -97,10 +97,6 @@ class AnacondaBackend:
>          #always copy the firmware files from DD
>          self.copyFirmware(anaconda)
>  
> -        if anaconda.id.extraModules or has_iscsi_disk:
> -            for (n, arch, tag) in self.kernelVersionList(anaconda.rootPath):
> -                packages.recreateInitrd(n, anaconda.rootPath)
> -
Shouldn't we just drop the 'or has_iscsi_disk' part? I have no expertise
in our driver disk code, but I think that we need to recreate initrd
after copying firmware if driver disks are used.

Also, we no longer need to set the has_iscsi_disk variable few lines
above this block.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list