Skip to contentSkip to conversation

wic fix to remove getenforce check

PATCH In review Tom Zanussi 1 participant 4 messages Oct 24, 2013 – Oct 29, 2013

lore
Share & tools
lore
#0 lore raw

cover wic fix to remove getenforce check

Found when testing on OpenSuse, this time.

The following changes since commit 754e8768b69acba89bd6c3ba5dbe55b9df4d8083:

base.bbclass: fix nondeterministic PACKAGECONFIG processing order (2013-10-24 08:38:27 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib.git tzanussi/wic-fixes-4
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/wic-fixes-4

Tom Zanussi (1):
wic: Remove selinux_check()

 scripts/lib/mic/conf.py | 4 ----
 1 file changed, 4 deletions(-)
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 1/1 wic: Remove selinux_check()

This seems to be an obsolete checkt - we don't have any problems with image creation under selinux, so remove this check.

---
 scripts/lib/mic/conf.py | 4 ----
 1 file changed, 4 deletions(-)
scripts/lib/mic/conf.py +0 -4
index 58fad51..b850d80 100644
@@ -186,10 +186,6 @@ class ConfigMgr(object):
                                               self.create['name_prefix'],
                                               self.create['name_suffix'])
 
-        # check selinux, it will block arm and btrfs image creation
-        misc.selinux_check(self.create['arch'],
-                           [p.fstype for p in ks.handler.partition.partitions])
-
     def set_runtime(self, runtime):
         if runtime not in ("bootstrap", "native"):
             msger.error("Invalid runtime mode: %s" % runtime)
Signature · 1 line
1.8.3.1
#2 lore raw

Re: [PATCH 1/1] wic: Remove selinux_check()

Quoted 3 lines · Tom Zanussi

This seems to be an obsolete checkt - we don't have any problems with image creation under selinux, so remove this check.

Just noticed the typo, fixed in the branch.

Tom

Quoted 20 lines
---
 scripts/lib/mic/conf.py | 4 ----
 1 file changed, 4 deletions(-)
scripts/lib/mic/conf.py +0 -4
index 58fad51..b850d80 100644
@@ -186,10 +186,6 @@ class ConfigMgr(object):
                                               self.create['name_prefix'],
                                               self.create['name_suffix'])
 
-        # check selinux, it will block arm and btrfs image creation
-        misc.selinux_check(self.create['arch'],
-                           [p.fstype for p in ks.handler.partition.partitions])
-
     def set_runtime(self, runtime):
         if runtime not in ("bootstrap", "native"):
             msger.error("Invalid runtime mode: %s" % runtime)
#3 lore raw
In reply to Tom Zanussi

ping

Quoted 17 lines · Tom Zanussi

Found when testing on OpenSuse, this time.

The following changes since commit 754e8768b69acba89bd6c3ba5dbe55b9df4d8083:

base.bbclass: fix nondeterministic PACKAGECONFIG processing order (2013-10-24 08:38:27 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib.git tzanussi/wic-fixes-4
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/wic-fixes-4

Tom Zanussi (1):
wic: Remove selinux_check()

 scripts/lib/mic/conf.py | 4 ----
 1 file changed, 4 deletions(-)