diff options
author | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2013-06-14 19:15:09 +0000 |
---|---|---|
committer | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2013-06-14 19:15:09 +0000 |
commit | bdca86375dd2d7fe53c5404db413656d53989bc9 (patch) | |
tree | 4e6cdce516220ba94d40dd9e6a684a2609aef342 | |
parent | 52dacee202381e66755dd40a01795fd257aafae4 (diff) | |
download | definitions-bdca86375dd2d7fe53c5404db413656d53989bc9.tar.gz |
Only upgrade an older extlinux configuration if we want one.
-rwxr-xr-x | rawdisk.write | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rawdisk.write b/rawdisk.write index 62d39b31..a74d6905 100755 --- a/rawdisk.write +++ b/rawdisk.write @@ -76,7 +76,8 @@ class RawDiskWriteExtension(morphlib.writeexts.WriteExtension): else: # we are upgrading and old system that does # not have an updated extlinux config file - self.install_extlinux(mp) + if self.bootloader_is_wanted(): + self.install_extlinux(mp) os.symlink(version_label, default_path) if self.bootloader_is_wanted(): |