[OE-core] [PATCH] cups: fix non-deterministic xinetd behaviour

Ross Burton ross.burton at intel.com
Wed Oct 7 22:59:25 UTC 2015


cups configure looks at the *host* file system to decide if and how to install
xinetd files, resulting in non-deterministic builds.

Solve this by adding a PACKAGECONFIG for xinetd and pass it the correct path to
use if enabled.

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-extended/cups/cups.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc
index c0765dc..2c34da9 100644
--- a/meta/recipes-extended/cups/cups.inc
+++ b/meta/recipes-extended/cups/cups.inc
@@ -28,6 +28,7 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi',
 PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi"
 PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl"
 PACKAGECONFIG[pam] = "--enable-pam, --disable-pam, libpam"
+PACKAGECONFIG[xinetd] = "--with-xinetd=${sysconfdir}/xinetd.d,--without-xinetd,xinetd"
 
 EXTRA_OECONF = " \
                --enable-gnutls \
-- 
2.1.4




More information about the Openembedded-core mailing list