mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
c62fb8d607
commit
28b0c61d7d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user