I used devtool to add a patch to sudo and this is what it did to SRC_URI: SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \ - ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} \ - " + ${@bb.utils.contains('DISTRO_FEATURES', \ + 'pam', \ + '${PAM_SRC_URI}', \ + '', \ + d)} \ + file://0001-Use-correct-path-to-init.d-and-tmpfiles.d-files.patch \ + " Probably still parses but it's not pretty!
Fix merged to master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=374e1fed0ee2be830d4d721f820e30bb5494e003