[PATCH master/rhel7-branch] Fix kickstart 'updates' command (#1056727)

Samantha N. Bueno sbueno+anaconda at redhat.com
Mon Jan 27 21:18:11 UTC 2014


On Mon, Jan 27, 2014 at 02:34:32PM -0500, Will Woods wrote:
> If parse-kickstart sees an 'updates' command it emits 'live.updates=..."
> argument, which is handled by the 'livenet' module, not anaconda.
> 
> So as foretold by the TODO comment, we also need to call the livenet
> cmdline parser here to set things up for downloading updates.
> ---
>  dracut/anaconda-lib.sh | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/dracut/anaconda-lib.sh b/dracut/anaconda-lib.sh
> index 2b17b6b..d635393 100755
> --- a/dracut/anaconda-lib.sh
> +++ b/dracut/anaconda-lib.sh
> @@ -205,7 +205,8 @@ run_kickstart() {
>  
>      # re-parse new cmdline stuff from the kickstart
>      . $hookdir/cmdline/*parse-anaconda-repo.sh
> -    # TODO: parse for other stuff ks might set (updates, dd, etc.)
> +    . $hookdir/cmdline/*parse-livenet.sh
> +    # TODO: parse for other stuff ks might set (dd? other stuff?)
>      case "$repotype" in
>          http*|ftp|nfs*) do_net=1 ;;
>          cdrom|hd|bd)    do_disk=1 ;;
> -- 
> 1.8.5.3

Ack.


More information about the anaconda-patches mailing list