diff options
author | Trevor Woerner <twoerner@gmail.com> | 2023-03-08 17:44:40 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-23 22:45:34 +0000 |
commit | 618e519a15cf7d870f013dbafae120cac97b30cd (patch) | |
tree | 84667b51e3e3f24eccef9aff3d767ba5d4b8282d /meta/recipes-extended | |
parent | c0cdf0dcf8732758c183ad652fe6c75f8534fdaa (diff) | |
download | poky-618e519a15cf7d870f013dbafae120cac97b30cd.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: a42066657c002679adcb471f329f09c8996e1b64)
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>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/cups/cups.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc index 4592980766..cf06c9f1b8 100644 --- a/meta/recipes-extended/cups/cups.inc +++ b/meta/recipes-extended/cups/cups.inc | |||
@@ -67,7 +67,7 @@ EXTRA_OECONF = " \ | |||
67 | EXTRA_AUTORECONF += "--exclude=autoheader" | 67 | EXTRA_AUTORECONF += "--exclude=autoheader" |
68 | 68 | ||
69 | do_install () { | 69 | do_install () { |
70 | oe_runmake "DESTDIR=${D}" install | 70 | oe_runmake "BUILDROOT=${D}" install |
71 | 71 | ||
72 | # Remove /var/run from package as cupsd will populate it on startup | 72 | # Remove /var/run from package as cupsd will populate it on startup |
73 | rm -fr ${D}/${localstatedir}/run | 73 | rm -fr ${D}/${localstatedir}/run |