From: Trevor Woerner Date: Wed, 8 Mar 2023 22:44:40 +0000 (-0500) Subject: cups: use BUILDROOT instead of DESTDIR X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~1487 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8fc70674e0ea5df46969a06da62f8ed135cae4e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git cups: use BUILDROOT instead of DESTDIR The cups documentation is clear that the correct way to install into an alternate root directory is to use the BUILDROOT variable. From INSTALL.md: Use the `BUILDROOT` variable to install to an alternate root directory: make BUILDROOT=/some/other/root/directory install DESTDIR works, but we should use the mechanism the project specifically created for this purpose. Signed-off-by: Trevor Woerner Signed-off-by: Alexandre Belloni --- diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc index 9c920bb133f..b8b655a4fb8 100644 --- a/meta/recipes-extended/cups/cups.inc +++ b/meta/recipes-extended/cups/cups.inc @@ -66,7 +66,7 @@ EXTRA_OECONF = " \ EXTRA_AUTORECONF += "--exclude=autoheader" do_install () { - oe_runmake "DESTDIR=${D}" install + oe_runmake "BUILDROOT=${D}" install # Remove /var/run from package as cupsd will populate it on startup rm -fr ${D}/${localstatedir}/run