[pve-devel] [RFC manager 2/2] upgrade checklist

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Jun 25 09:54:57 CEST 2019


applied, with follow ups..

On 6/24/19 1:56 PM, Fabian Grünbichler wrote:
> diff --git a/bin/Makefile b/bin/Makefile
> index 52044ca9..31229477 100644
> --- a/bin/Makefile
> +++ b/bin/Makefile
> @@ -7,7 +7,7 @@ PERL_DOC_INC_DIRS=..
>  include /usr/share/pve-doc-generator/pve-doc-generator.mk
>  
>  SERVICES = pvestatd pveproxy pvedaemon spiceproxy
> -CLITOOLS = vzdump pvesubscription pveceph pveam pvesr pvenode pvesh
> +CLITOOLS = vzdump pvesubscription pveceph pveam pvesr pvenode pvesh pve5to6
>  
>  SCRIPTS =  			\
>  	${SERVICES}		\
> @@ -48,6 +48,7 @@ all: ${SERVICE_MANS} ${CLI_MANS} pvemailforward
>  	podselect $* > $@.tmp
>  	mv $@.tmp $@
>  
> +pve5to6.1.pod: pve5to6

as it's no pod and we do not care immediately regarding a man page here I just create
a dummy one now..

>  pveversion.1.pod: pveversion
>  pveupgrade.1.pod: pveupgrade
>  pvereport.1.pod: pvereport


> diff --git a/bin/pve5to6 b/bin/pve5to6
> new file mode 100755
> index 00000000..4802e185
> --- /dev/null
> +++ b/bin/pve5to6
> @@ -0,0 +1,10 @@
> +#!/usr/bin/perl -T

removed taint switch.

> +
> +use strict;
> +use warnings;
> +
> +use lib qw(.);

remove above lib use

> +
> +use PVE::CLI::pve5to6;
> +
> +PVE::CLI::pve5to6->run_cli_handler();
> 






More information about the pve-devel mailing list