]> code.ossystems Code Review - openembedded-core.git/commitdiff
cups: fix non-deterministic xinetd behaviour
authorRoss Burton <ross.burton@intel.com>
Wed, 7 Oct 2015 22:58:24 +0000 (23:58 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 Oct 2015 13:33:47 +0000 (14:33 +0100)
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@intel.com>
meta/recipes-extended/cups/cups.inc

index c0765dc743f57cb998f9078cc45b3ea21633b317..2c34da98ded6aa2181cfeb31c0b025ee6c64fb48 100644 (file)
@@ -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 \