1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

cups: Ensure cups-config has correct target paths, not sysroot ones for cups_serverbin and cups_datadir variables

These are used by dependent packages to know where to install cups related
pieces into therefore we need to remove the sysroot prefix from these.

(From OE-Core rev: edb8eb566968d386f6995b95d54bc7c25a50b02a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2012-03-16 15:17:09 +00:00
parent 1871ec8d01
commit 5ed180ee3b
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -91,3 +91,8 @@ FILES_${PN} += "${datadir}/doc/cups/images \
${datadir}/doc/cups/*.css \
${datadir}/icons/ \
"
SYSROOT_PREPROCESS_FUNCS += "cups_sysroot_preprocess"
cups_sysroot_preprocess () {
sed -i ${SYSROOT_DESTDIR}${bindir_crossscripts}/cups-config -e 's:cups_datadir=.*:cups_datadir=${datadir}/cups:' -e 's:cups_serverbin=.*:cups_serverbin=${libdir}/cups:'
}
+1 -1
View File
@@ -1,6 +1,6 @@
require cups14.inc
PR = "r2"
PR = "r3"
DEPENDS += "libusb \
${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"