summaryrefslogtreecommitdiff
path: root/morphlib/exts
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/exts')
-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():