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 | 6f48a53c5f97bb291eab5d4857a020ac6ec1d0a9 (patch) | |
tree | a9f68c25c378aadd82c3eb80a564f6b7f16f4ce5 | |
parent | 174d5d734db09171342f60f4777a0cbe59a29df1 (diff) | |
download | definitions-6f48a53c5f97bb291eab5d4857a020ac6ec1d0a9.tar.gz |
Only upgrade an older extlinux configuration if we want one.
-rwxr-xr-x | morphlib/exts/rawdisk.write | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/morphlib/exts/rawdisk.write b/morphlib/exts/rawdisk.write index 62d39b31..a74d6905 100755 --- a/morphlib/exts/rawdisk.write +++ b/morphlib/exts/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(): |