[rhinstaller/anaconda/pulls/158 master] autopart root snapshot support

vpodzime installerbot-noreply at redhat.com
Thu Jun 25 08:54:40 UTC 2015


> @@ -131,6 +133,17 @@ def doConfiguration(storage, payload, ksdata, instClass):
>      # kickstart file over if one exists).
>      _writeKS(ksdata)
>  
> +    if willSnapShotRoot:
> +        with progress_report(_("Configuring root snapshot")):
> +            blivet.autopart.setUpRootSnapShot(storage)
> +
> +        with progress_report(_("Generating initramfs")):
> +            payload.recreateInitrds()
> +
> +        if not ksdata.bootloader.disabled and ksdata.bootloader != "none":
> +            with progress_report(_("Installing bootloader")):
> +                writeBootLoader(storage, payload, instClass, ksdata)

This should be without a separate progress report step (just like in case of the liveCD+BtrfsBoot combination above) unless you want to move the check somewhere above and reflect it in the total number of steps.

-- 
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/158#discussion_r33234311


More information about the anaconda-patches mailing list