summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Woerner <twoerner@gmail.com>2023-03-08 17:44:40 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-11 00:08:40 +0000
commit75ef02a9831664912d1e15c72f33d772b63e3798 (patch)
tree1a27c536c355b233ce4a58a2b868b9c475fb43f7
parent1bc0d0c80012a8c31c052b330c973366b6730985 (diff)
downloadpoky-75ef02a9831664912d1e15c72f33d772b63e3798.tar.gz
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. (From OE-Core rev: f8fc70674e0ea5df46969a06da62f8ed135cae4e) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/cups/cups.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc
index 9c920bb133..b8b655a4fb 100644
--- a/meta/recipes-extended/cups/cups.inc
+++ b/meta/recipes-extended/cups/cups.inc
@@ -66,7 +66,7 @@ EXTRA_OECONF = " \
66EXTRA_AUTORECONF += "--exclude=autoheader" 66EXTRA_AUTORECONF += "--exclude=autoheader"
67 67
68do_install () { 68do_install () {
69 oe_runmake "DESTDIR=${D}" install 69 oe_runmake "BUILDROOT=${D}" install
70 70
71 # Remove /var/run from package as cupsd will populate it on startup 71 # Remove /var/run from package as cupsd will populate it on startup
72 rm -fr ${D}/${localstatedir}/run 72 rm -fr ${D}/${localstatedir}/run