All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/5] package/refpolicy: remove dependency on policycoreutils
Date: Mon, 3 Feb 2020 19:46:38 +0100	[thread overview]
Message-ID: <20200203194638.4581b6d9@windsurf> (raw)
In-Reply-To: <20200203132951.1331252-1-aduskett@gmail.com>

On Mon,  3 Feb 2020 05:29:47 -0800
Adam Duskett <aduskett@gmail.com> wrote:

> Only host-policycoreutils is needed to build refpolicy. Remove the uneeded
> target package.
> 
> Signed-off-by: Adam Duskett <aduskett@gmail.com>

So, this commit had the side effect of causing a build issue:

  http://autobuild.buildroot.net/results/5d8/5d8fda7c488a03c14942d87467d501acd633d24a/build-end.log

this is due to policycoreutils selecting BR2_PACKAGE_BUSYBOX_SELINUX
when BR2_PACKAGE_BUSYBOX, which in turns causes busybox to select
BR2_PACKAGE_LIBSELINUX and depend on it from a makefile point of view.
But since we dropped the "depends on" of policycoreutils, we now
violate the "depends on" of libselinux.

However, it probably isn't the best idea of have refpolicy take care of
forcing Busybox's SELinux support, so I've committed a change to
Busybox that makes it enable by default its SELinux support when
libselinux is enabled:

  https://git.buildroot.org/buildroot/commit/?id=bc2e241bce5c1f70e93d22aceee180ee26db0e77

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

      parent reply	other threads:[~2020-02-03 18:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-03 13:29 [Buildroot] [PATCH 1/5] package/refpolicy: remove dependency on policycoreutils Adam Duskett
2020-02-03 13:29 ` [Buildroot] [PATCH 2/5] package/refpolicy: bump version to 2.20190609 Adam Duskett
2020-02-03 14:59   ` Thomas Petazzoni
2020-02-03 13:29 ` [Buildroot] [PATCH 3/5] Move refpolicy policy version selection to libsepol Adam Duskett
2020-02-03 18:51   ` Thomas Petazzoni
2020-02-03 13:29 ` [Buildroot] [PATCH 4/5] package/libsepol: change policy version to an int Adam Duskett
2020-02-03 18:51   ` Thomas Petazzoni
2020-02-03 13:29 ` [Buildroot] [PATCH 5/5] package/libsepol: set default policy version Adam Duskett
2020-02-03 18:52   ` Thomas Petazzoni
2020-02-03 14:59 ` [Buildroot] [PATCH 1/5] package/refpolicy: remove dependency on policycoreutils Thomas Petazzoni
2020-02-03 18:46 ` 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=20200203194638.4581b6d9@windsurf \
    --to=thomas.petazzoni@bootlin.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.