]> code.ossystems Code Review - openembedded-core.git/commitdiff
util-linux: fix PACKAGECONFIG options
authorKoen Kooi <koen@dominion.thruhere.net>
Thu, 25 Jul 2013 14:51:28 +0000 (16:51 +0200)
committerSaul Wold <sgw@linux.intel.com>
Sun, 28 Jul 2013 06:28:28 +0000 (23:28 -0700)
The ??= operator is too weak and it's setting a non-existent PACKAGECONFIG option ('libpam' instead of 'pam').

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/util-linux/util-linux.inc

index d373cecdf04ce804f76f008baefc8814cfdced55..3d1198ad1df13cf6a0f9b780ebf94eaf51c54881 100644 (file)
@@ -47,9 +47,9 @@ EXTRA_OECONF = "--libdir=${base_libdir} --disable-use-tty-group \
                 --enable-libuuid --enable-libblkid --enable-fsck --without-udev \
                usrsbin_execdir='${sbindir}' \
 "
-PACKAGECONFIG_class-target ??= "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} \
+PACKAGECONFIG_class-target ?= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
                                 ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} "
-PACKAGECONFIG[pam] = "--enable-su --enable-runuser,--disable-su --disable-runuser, pam,"
+PACKAGECONFIG[pam] = "--enable-su --enable-runuser,--disable-su --disable-runuser, libpam,"
 
 # Respect the systemd feature for uuidd
 PACKAGECONFIG[systemd] = "--enable-socket-activation --with-systemdsystemunitdir=${systemd_unitdir}/system/, --disable-socket-activation --without-systemdsystemunitdir"