Before we'd return all the features, even the ones set to 0, now we only return the ones that are set to 1. Having all the features returned can lead to a zipl.conf file that has too long of lines. --- pyanaconda/storage/devices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyanaconda/storage/devices.py b/pyanaconda/storage/devices.py index bee2d24..0d99324 100644 --- a/pyanaconda/storage/devices.py +++ b/pyanaconda/storage/devices.py @@ -3827,7 +3827,7 @@ class DASDDevice(DiskDevice): return "DASD device %s" % self.busid def getOpts(self): - return map(lambda (k, v): "%s=%s" % (k, v,), self.opts.items()) + return ["%s=%s" % (k, v) for k, v in self.opts.items() if v == '1'] def dracutSetupArgs(self): conf = "/etc/dasd.conf" -- 1.7.10.2 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list