* [Buildroot] [PATCH 1/2] lvm2: disable selinux for host @ 2017-10-10 19:30 Baruch Siach 2017-10-10 19:30 ` [Buildroot] [PATCH 2/2] lvm2: optionally depend on libselinux Baruch Siach 2017-10-10 20:04 ` [Buildroot] [PATCH 1/2] lvm2: disable selinux for host Peter Korsgaard 0 siblings, 2 replies; 4+ messages in thread From: Baruch Siach @ 2017-10-10 19:30 UTC (permalink / raw) To: buildroot There is no need for selinux support in the host lvm2 package. Should fix: http://autobuild.buildroot.net/results/6cd/6cde658da1fa815c157acf36b39c10a8d885e9a9/ http://autobuild.buildroot.net/results/430/43071433814a3176256687720c1d665f41748484/ http://autobuild.buildroot.net/results/ced/cedd7ff4b287d7b71612134444964dc847cc6062/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> --- package/lvm2/lvm2.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk index 9880c12bf05e..79691ddec6f6 100644 --- a/package/lvm2/lvm2.mk +++ b/package/lvm2/lvm2.mk @@ -59,7 +59,8 @@ HOST_LVM2_CONF_OPTS = \ --disable-dmeventd \ --disable-applib \ --disable-fsadm \ - --disable-readline + --disable-readline \ + --disable-selinux HOST_LVM2_MAKE_OPTS = device-mapper HOST_LVM2_INSTALL_OPTS = install_device-mapper -- 2.14.2 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] lvm2: optionally depend on libselinux 2017-10-10 19:30 [Buildroot] [PATCH 1/2] lvm2: disable selinux for host Baruch Siach @ 2017-10-10 19:30 ` Baruch Siach 2017-10-10 20:04 ` Peter Korsgaard 2017-10-10 20:04 ` [Buildroot] [PATCH 1/2] lvm2: disable selinux for host Peter Korsgaard 1 sibling, 1 reply; 4+ messages in thread From: Baruch Siach @ 2017-10-10 19:30 UTC (permalink / raw) To: buildroot Signed-off-by: Baruch Siach <baruch@tkos.co.il> --- package/lvm2/lvm2.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk index 79691ddec6f6..20e0dd0d5c36 100644 --- a/package/lvm2/lvm2.mk +++ b/package/lvm2/lvm2.mk @@ -35,6 +35,13 @@ else LVM2_CONF_OPTS += --disable-readline endif +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +LVM2_CONF_OPTS += --enable-selinux +LVM2_DEPENDENCIES += libselinux +else +LVM2_CONF_OPTS += --disable-selinux +endif + ifeq ($(BR2_PACKAGE_LVM2_STANDARD_INSTALL),) LVM2_MAKE_OPTS = device-mapper LVM2_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install_device-mapper -- 2.14.2 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] lvm2: optionally depend on libselinux 2017-10-10 19:30 ` [Buildroot] [PATCH 2/2] lvm2: optionally depend on libselinux Baruch Siach @ 2017-10-10 20:04 ` Peter Korsgaard 0 siblings, 0 replies; 4+ messages in thread From: Peter Korsgaard @ 2017-10-10 20:04 UTC (permalink / raw) To: buildroot >>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes: > Signed-off-by: Baruch Siach <baruch@tkos.co.il> Committed, thanks. -- Bye, Peter Korsgaard ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/2] lvm2: disable selinux for host 2017-10-10 19:30 [Buildroot] [PATCH 1/2] lvm2: disable selinux for host Baruch Siach 2017-10-10 19:30 ` [Buildroot] [PATCH 2/2] lvm2: optionally depend on libselinux Baruch Siach @ 2017-10-10 20:04 ` Peter Korsgaard 1 sibling, 0 replies; 4+ messages in thread From: Peter Korsgaard @ 2017-10-10 20:04 UTC (permalink / raw) To: buildroot >>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes: > There is no need for selinux support in the host lvm2 package. > Should fix: > http://autobuild.buildroot.net/results/6cd/6cde658da1fa815c157acf36b39c10a8d885e9a9/ > http://autobuild.buildroot.net/results/430/43071433814a3176256687720c1d665f41748484/ > http://autobuild.buildroot.net/results/ced/cedd7ff4b287d7b71612134444964dc847cc6062/ > Signed-off-by: Baruch Siach <baruch@tkos.co.il> Committed, thanks. -- Bye, Peter Korsgaard ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-10-10 20:04 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-10-10 19:30 [Buildroot] [PATCH 1/2] lvm2: disable selinux for host Baruch Siach 2017-10-10 19:30 ` [Buildroot] [PATCH 2/2] lvm2: optionally depend on libselinux Baruch Siach 2017-10-10 20:04 ` Peter Korsgaard 2017-10-10 20:04 ` [Buildroot] [PATCH 1/2] lvm2: disable selinux for host Peter Korsgaard
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox