From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/4] package/audit: Allow Host compilation.
Date: Sat, 16 Jul 2016 15:55:23 +0200 [thread overview]
Message-ID: <20160716155523.386a8d92@free-electrons.com> (raw)
In-Reply-To: <1468518424-11785-1-git-send-email-Aduskett@gmail.com>
Hello,
On Thu, 14 Jul 2016 13:47:01 -0400, Adam Duskett wrote:
> Policycoreutils requires audit as a host package.
>
> Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Please use lower-case in the commit title:
package/audit: allow host compilation
or better:
package/audit: add support for host variant
> +HOST_AUDIT_CONF_OPTS = --without-python --without-python3 --disable-zos-remote
> +ifeq ($(BR2_PACKAGE_LIBCAP_NG),y)
> +HOST_AUDIT_DEPENDENCIES += host-libcap-ng
This is just plain wrong, and I already explained why.
BR2_PACKAGE_LIBCAP_NG indicates if the *target* variant of libcap-ng is
enabled or not. It doesn't say anything about whether you should or not
use the host variant.
So basically, you should choose if host-audit should unconditionally
use host-libcap-ng, or if it should not use it at all.
Unless there is a link between the availability of libcap-ng on the
target and the need to have libcap-ng support in host-audit. But in
this case, a big comment in the .mk file is needed to explain this link.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2016-07-16 13:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-14 17:47 [Buildroot] [PATCH 1/4] package/audit: Allow Host compilation Adam Duskett
2016-07-14 17:47 ` [Buildroot] [PATCH 2/4] libcap-ng: Allow host compilation Adam Duskett
2016-07-16 13:57 ` Thomas Petazzoni
2016-07-14 17:47 ` [Buildroot] [PATCH 3/4] package/libsemanage: Add host-audit as a dependency Adam Duskett
2016-07-15 3:41 ` Baruch Siach
2016-07-15 16:45 ` Adam Duskett
2016-07-16 13:58 ` Thomas Petazzoni
2016-07-14 17:47 ` [Buildroot] [v13, 4/4] policycoreutils: new package Adam Duskett
2016-07-16 13:55 ` Thomas Petazzoni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160716155523.386a8d92@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox