[CRIU] Simple Makefile fix for rpmbuild

Pavel Emelyanov xemul at parallels.com
Tue May 19 12:35:27 PDT 2015


On 05/19/2015 02:52 PM, Adrian Reber wrote:
> Trying to create a RPM from current CRIU HEAD fails as the crit
> installation ignores $(DESTDIR).
> 
> This simple patch adds staged installation for crit:
> 
> https://github.com/adrianreber/criu/commit/3f7dd400471d717363c143198fe90dc75fac648b

Applied, thanks. Don't forget to put the signed-off-by line please :)

> diff --git a/Makefile b/Makefile
> index b57d58a..3e32233 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -314,7 +314,7 @@ install-man:
>  
>  install-crit: crit
>         $(E) "  INSTALL crit"
> -       $(Q) python scripts/crit-setup.py install --prefix=$(PREFIX)
> +       $(Q) python scripts/crit-setup.py install --prefix=$(DESTDIR)$(PREFIX)

The tabs were corrupted into spaces for some reason. I've fixed that, but
for larger patches this would be difficult.

-- Pavel



More information about the CRIU mailing list