summaryrefslogtreecommitdiffstats
path: root/whiteout.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-04-02 20:15:46 +0000
committerJeremy Katz <katzj@redhat.com>2004-04-02 20:15:46 +0000
commitcad315c43497cb40c57aff4d4cdb30b7d6d7d486 (patch)
tree96c1ca155dcdd481db4295c9310ea04ce3f0bbb3 /whiteout.py
parent97a23ae0ae25ed312a06c78ebbbec2c408b0f7a8 (diff)
downloadanaconda-cad315c43497cb40c57aff4d4cdb30b7d6d7d486.tar.gz
anaconda-cad315c43497cb40c57aff4d4cdb30b7d6d7d486.tar.xz
anaconda-cad315c43497cb40c57aff4d4cdb30b7d6d7d486.zip
if we disable selinux, disable setting file contexts for certain
Diffstat (limited to 'whiteout.py')
-rw-r--r--whiteout.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/whiteout.py b/whiteout.py
index abdad457c..f7fe66ff3 100644
--- a/whiteout.py
+++ b/whiteout.py
@@ -22,6 +22,8 @@ if flags.selinux:
if os.access(fn, os.R_OK):
break
rpm.addMacro("__file_context_path", fn)
+else:
+ rpm.addMacro("__file_context_path", "%{nil}")
whiteout="""
pango-gtkbeta-devel>pango-gtkbeta\