diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-04-19 06:28:35 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-04-19 06:28:35 +0000 |
commit | 8e7a9bc91b98a02e41dd6d53e8a2027c482346a8 (patch) | |
tree | 1c94bb1caace167e96375666ad0cc9467e83d471 /floppy.py | |
parent | 34e94e67312be97452e79939ae7104afae3c041b (diff) | |
download | anaconda-8e7a9bc91b98a02e41dd6d53e8a2027c482346a8.tar.gz anaconda-8e7a9bc91b98a02e41dd6d53e8a2027c482346a8.tar.xz anaconda-8e7a9bc91b98a02e41dd6d53e8a2027c482346a8.zip |
more merging fun from the hampton branch. I'm pretty sure this doesn't
work now, at least in gui. text mode might, though
Diffstat (limited to 'floppy.py')
-rw-r--r-- | floppy.py | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -48,7 +48,7 @@ def probeFloppyDevice(): log("anaconda floppy device is %s", fdDevice) return fdDevice -def makeBootdisk (intf, floppyDevice, hdList, instPath): +def makeBootdisk (intf, floppyDevice, hdList, instPath, bootloader): if flags.test: return DISPATCH_NOOP @@ -70,9 +70,15 @@ def makeBootdisk (intf, floppyDevice, hdList, instPath): kernelTag = "-%s-%s" % (kernel[rpm.RPMTAG_VERSION], kernel[rpm.RPMTAG_RELEASE]) + if bootloader.args.get(): + args = bootloader.args.get() + else: + args = "" + w = intf.waitWindow (_("Creating"), _("Creating boot disk...")) rc = iutil.execWithRedirect("/sbin/mkbootdisk", [ "/sbin/mkbootdisk", + "--kernelargs", args, "--noprompt", "--device", "/dev/" + floppyDevice, |