[CRIU] [PATCH v2] Fix criu.pc version

Tycho Andersen tycho.andersen at canonical.com
Thu Jul 30 09:02:46 PDT 2015


On Thu, Jul 30, 2015 at 05:44:34PM +0200, Cédric Bosdonnat wrote:
> Use CRTOOLSVERSION instead of GITID to write criu.pc version. With
> GITID, criu.pc had version '0' when built from tarballs.
> 
> Signed-off-by: Cédric Bosdonnat <cbosdonnat at suse.com>

Acked-by: Tycho Andersen <tycho.andersen at canonical.com>

> ---
>  Diff to v1: Don't change the GITID default, fix criu.pc rule instead
> 
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index 6ed4c90..7f5c890 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -339,7 +339,7 @@ install-criu: $(PROGRAM) $(CRIU-LIB) install-crit
>  	$(Q) install -m 644 scripts/sd/criu.service $(DESTDIR)$(SYSTEMDUNITDIR)
>  	$(Q) mkdir -p $(DESTDIR)$(LOGROTATEDIR)
>  	$(Q) install -m 644 scripts/logrotate.d/criu-service $(DESTDIR)$(LOGROTATEDIR)
> -	$(Q) sed -e 's, at version@,$(GITID),' \
> +	$(Q) sed -e 's, at version@,$(CRTOOLSVERSION),' \
>  		-e 's, at libdir@,$(LIBDIR),' \
>  		-e 's, at includedir@,$(dir $(INCLUDEDIR)),' \
>  		lib/criu.pc.in > criu.pc
> -- 
> 2.1.4
> 


More information about the CRIU mailing list