<div dir="ltr">On 2 March 2018 at 04:44, Anuj Mittal <span dir="ltr"><<a href="mailto:anuj.mittal@intel.com" target="_blank">anuj.mittal@intel.com</a>></span> wrote: <div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
# gui support was added with kernel 3.6.35<br>
# since 3.10 libnewt was replaced by slang<br>
# to cover a wide range of kernel we add both dependencies<br>
@@ -22,6 +22,10 @@ PACKAGECONFIG[libnuma] = ",NO_LIBNUMA=1"<br>
PACKAGECONFIG[systemtap] = ",NO_SDT=1,systemtap"<br>
PACKAGECONFIG[jvmti] = ",NO_JVMTI=1"<br>
<br>
+# libaudit support needs python to be present<br>
+PACKAGECONFIG[audit] = ",NO_LIBAUDIT=1,audit python"<br></blockquote><div><br></div><div>All you need in this patch is:</div><div><br></div><div>+# audit needs scripting to be enabled.</div><div>+PACKAGECONFIG[audit] = ",NO_LIBAUDIT=1,audit"</div><div><br></div><div>The convoluted logic will only get more complicated over time, when a comment saying "if you want audit to work, turn on scripting" is sufficient.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
+PACKAGECONFIG_CONFARGS += "${@bb.utils.contains_any('<wbr>PACKAGECONFIG', 'scripting audit', '', 'NO_LIBPYTHON=1', d)}</blockquote><div><br></div><div>PACKAGECONFG_CONFAGS isn't for assigning in a recipe.</div><div><br></div><div>Ross</div></div></div></div>