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-21 14:26:31 +0000
commit28b0c61d7d9ef455390b0ee899d6b1a6e3544663 (patch)
tree5528291a4d6d22efc7b8f532e25983c1848356e9
parentc62fb8d607b88a874a5c4ddda35e2ad46c56056b (diff)
downloadpoky-28b0c61d7d9ef455390b0ee899d6b1a6e3544663.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: 992c571fc2f69c62d8f916440251a5189fae3aa1) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit f8fc70674e0ea5df46969a06da62f8ed135cae4e) Signed-off-by: Steve Sakoman <steve@sakoman.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