Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] wic fix to remove getenforce check
@ 2013-10-24 13:11 Tom Zanussi
  2013-10-24 13:11 ` [PATCH 1/1] wic: Remove selinux_check() Tom Zanussi
  2013-10-29 17:44 ` [PATCH 0/1] wic fix to remove getenforce check Tom Zanussi
  0 siblings, 2 replies; 4+ messages in thread
From: Tom Zanussi @ 2013-10-24 13:11 UTC (permalink / raw)
  To: openembedded-core; +Cc: 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(-)

-- 
1.8.3.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/1] wic: Remove selinux_check()
  2013-10-24 13:11 [PATCH 0/1] wic fix to remove getenforce check Tom Zanussi
@ 2013-10-24 13:11 ` Tom Zanussi
  2013-10-24 13:21   ` Tom Zanussi
  2013-10-29 17:44 ` [PATCH 0/1] wic fix to remove getenforce check Tom Zanussi
  1 sibling, 1 reply; 4+ messages in thread
From: Tom Zanussi @ 2013-10-24 13:11 UTC (permalink / raw)
  To: openembedded-core; +Cc: Tom Zanussi

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

Signed-off-by: Tom Zanussi <tom.zanussi@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)
-- 
1.8.3.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] wic: Remove selinux_check()
  2013-10-24 13:11 ` [PATCH 1/1] wic: Remove selinux_check() Tom Zanussi
@ 2013-10-24 13:21   ` Tom Zanussi
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Zanussi @ 2013-10-24 13:21 UTC (permalink / raw)
  To: openembedded-core

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@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)




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/1] wic fix to remove getenforce check
  2013-10-24 13:11 [PATCH 0/1] wic fix to remove getenforce check Tom Zanussi
  2013-10-24 13:11 ` [PATCH 1/1] wic: Remove selinux_check() Tom Zanussi
@ 2013-10-29 17:44 ` Tom Zanussi
  1 sibling, 0 replies; 4+ messages in thread
From: Tom Zanussi @ 2013-10-29 17:44 UTC (permalink / raw)
  To: openembedded-core

ping

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-29 17:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-24 13:11 [PATCH 0/1] wic fix to remove getenforce check Tom Zanussi
2013-10-24 13:11 ` [PATCH 1/1] wic: Remove selinux_check() Tom Zanussi
2013-10-24 13:21   ` Tom Zanussi
2013-10-29 17:44 ` [PATCH 0/1] wic fix to remove getenforce check Tom Zanussi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox