diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2022-03-01 23:12:58 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-10 16:39:50 +0000 |
| commit | 53f3bf5b78585edded8f0784e04ab0a0357de5f4 (patch) | |
| tree | 5c1e1ff0659522159ba4812ea45cc3ec97a78069 | |
| parent | bc68472e71bbb274859ac17627131909260267f4 (diff) | |
| download | poky-53f3bf5b78585edded8f0784e04ab0a0357de5f4.tar.gz | |
cups: Add --with-dbusdir to EXTRA_OECONF for deterministic build
The configure checks /etc/dbus-1 and set DBUSDIR is null:
if test -d /etc/dbus-1 -a "x$DBUSDIR" = x; then
DBUSDIR="/etc/dbus-1"
fi
So that the build resutl would be different w/o /etc/dbus-1:
/etc/dbus-1/system.d/cups.conf (Only exists when DBUSDIR is set)
Add --with-dbusdir to EXTRA_OECONF to fix the issue
(From OE-Core rev: a5adc91b6cebf7a006805e01fcf20ca4cb9a9a6a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0e4b2464138601c4c20882c001ef11eef5100395)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-extended/cups/cups.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc index 0f5c2e730f..a8e790bd8f 100644 --- a/meta/recipes-extended/cups/cups.inc +++ b/meta/recipes-extended/cups/cups.inc | |||
| @@ -49,6 +49,7 @@ PACKAGECONFIG[xinetd] = "--with-xinetd=${sysconfdir}/xinetd.d,--without-xinetd,x | |||
| 49 | 49 | ||
| 50 | EXTRA_OECONF = " \ | 50 | EXTRA_OECONF = " \ |
| 51 | --enable-dbus \ | 51 | --enable-dbus \ |
| 52 | --with-dbusdir=${sysconfdir}/dbus-1 \ | ||
| 52 | --enable-browsing \ | 53 | --enable-browsing \ |
| 53 | --disable-gssapi \ | 54 | --disable-gssapi \ |
| 54 | --enable-debug \ | 55 | --enable-debug \ |
