summaryrefslogtreecommitdiff
path: root/morphlib/exts/rawdisk.write
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2013-06-14 19:15:09 +0000
committerTiago Gomes <tiago.gomes@codethink.co.uk>2013-06-14 19:15:09 +0000
commit6f48a53c5f97bb291eab5d4857a020ac6ec1d0a9 (patch)
treea9f68c25c378aadd82c3eb80a564f6b7f16f4ce5 /morphlib/exts/rawdisk.write
parent174d5d734db09171342f60f4777a0cbe59a29df1 (diff)
downloadmorph-6f48a53c5f97bb291eab5d4857a020ac6ec1d0a9.tar.gz
Only upgrade an older extlinux configuration if we want one.
Diffstat (limited to 'morphlib/exts/rawdisk.write')
-rwxr-xr-xmorphlib/exts/rawdisk.write3
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():