[OE-core] [PATCH 1/1] wic: Remove selinux_check()

Tom Zanussi tom.zanussi at linux.intel.com
Thu Oct 24 13:21:08 UTC 2013


On Thu, 2013-10-24 at 08:11 -0500, Tom Zanussi wrote:
> 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

> Signed-off-by: Tom Zanussi <tom.zanussi at linux.intel.com>
> ---
>  scripts/lib/mic/conf.py | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/scripts/lib/mic/conf.py b/scripts/lib/mic/conf.py
> index 58fad51..b850d80 100644
> --- a/scripts/lib/mic/conf.py
> +++ b/scripts/lib/mic/conf.py
> @@ -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)





More information about the Openembedded-core mailing list