lvm2: disable selinux for host
PATCH 1/2 lvm2: disable selinux for host
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/
--- package/lvm2/lvm2.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
package/lvm2/lvm2.mk +2 -1
@@ -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
Signature · 1 line
2.14.2
PATCH 2/2 lvm2: optionally depend on libselinux
--- package/lvm2/lvm2.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/lvm2/lvm2.mk +7 -0
@@ -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
Signature · 1 line
2.14.2
PATCH 2/2 lvm2: optionally depend on libselinux
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> writes:
Signed-off-by Baruch Siach <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/2 lvm2: disable selinux for host
In reply to Baruch SiachQuoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> 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 <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard