[Libguestfs] [PATCH] customize: remove "core" from description of --update

Richard W.M. Jones rjones at redhat.com
Tue May 3 12:21:09 UTC 2016


On Tue, May 03, 2016 at 02:13:35PM +0200, Pino Toscano wrote:
> --update invokes a distribution update, updating all the installed
> packages and not just some "core" ones.
> ---
>  customize/customize_run.ml | 2 +-
>  generator/customize.ml     | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/customize/customize_run.ml b/customize/customize_run.ml
> index 82c4edd..83e70a6 100644
> --- a/customize/customize_run.ml
> +++ b/customize/customize_run.ml
> @@ -320,7 +320,7 @@ exec >>%s 2>&1
>        g#touch path
>  
>      | `Update ->
> -      message (f_"Updating core packages");
> +      message (f_"Updating packages");
>        let cmd = guest_update_command () in
>        do_run ~display:cmd cmd
>  
> diff --git a/generator/customize.ml b/generator/customize.ml
> index 55ee252..3d3f978 100644
> --- a/generator/customize.ml
> +++ b/generator/customize.ml
> @@ -427,7 +427,7 @@ This command performs a L<touch(1)>-like operation on C<FILE>.";
>    { op_name = "update";
>      op_type = Unit;
>      op_discrim = "`Update";
> -    op_shortdesc = "Update core packages";
> +    op_shortdesc = "Update packages";
>      op_pod_longdesc = "\
>  Do the equivalent of C<yum update>, C<apt-get upgrade>, or whatever
>  command is required to update the packages already installed in the

ACK.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html




More information about the Libguestfs mailing list