summaryrefslogtreecommitdiffstats
path: root/bootloader.py
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-06-27 05:44:20 +0000
committerBill Nottingham <notting@redhat.com>2001-06-27 05:44:20 +0000
commiteff9308ce7b1ff952705130d576ffb25ab43bf27 (patch)
treecb176da3d4322c8c0efee14e0d86da475b74d81e /bootloader.py
parentfc15931a2c397bdd7c4168187601f6fdfc06c335 (diff)
downloadanaconda-eff9308ce7b1ff952705130d576ffb25ab43bf27.tar.gz
anaconda-eff9308ce7b1ff952705130d576ffb25ab43bf27.tar.xz
anaconda-eff9308ce7b1ff952705130d576ffb25ab43bf27.zip
don't write bootloader config in test mode
Diffstat (limited to 'bootloader.py')
-rw-r--r--bootloader.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bootloader.py b/bootloader.py
index 5fdd078c5..3cfb75076 100644
--- a/bootloader.py
+++ b/bootloader.py
@@ -437,7 +437,8 @@ def writeBootloader(intf, instRoot, fsset, bl, langs, comps):
kernelList.append(kernelLabel, version)
plainLabelUsed = 1
- bl.write(instRoot, fsset, bl, langs, kernelList, otherList, defaultDev,
+ if not flags.test:
+ bl.write(instRoot, fsset, bl, langs, kernelList, otherList, defaultDev,
justConfigFile)
w.pop()