diff options
author | James Thomas <james.thomas@codethink.co.uk> | 2014-08-14 18:12:57 +0100 |
---|---|---|
committer | James Thomas <james.thomas@codethink.co.uk> | 2014-08-14 18:12:57 +0100 |
commit | 00837372abc82209e1e71693b2e1eefc54718bbc (patch) | |
tree | 39ea5361bd7e54a79a48a2397e87ea188ce6526b /morphlib/exts/rawdisk.write | |
parent | c1c331e7c545c7a2f0545d3b1ef9751c9571d357 (diff) | |
parent | 0cc7d159c197296dae699d77ea54759f8c4b2ad5 (diff) | |
download | morph-00837372abc82209e1e71693b2e1eefc54718bbc.tar.gz |
Merge branch 'baserock/richardmaw/james/writeexts_support_jetson'
Reviewed by: Richard Maw <richard.maw@codethink.co.uk>
Merged by: James Thomas <james.thomas@codethink.co.uk>
Diffstat (limited to 'morphlib/exts/rawdisk.write')
-rwxr-xr-x | morphlib/exts/rawdisk.write | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/morphlib/exts/rawdisk.write b/morphlib/exts/rawdisk.write index 87edf7bf..1c2c5a84 100755 --- a/morphlib/exts/rawdisk.write +++ b/morphlib/exts/rawdisk.write @@ -85,11 +85,12 @@ class RawDiskWriteExtension(morphlib.writeexts.WriteExtension): else: # we are upgrading and old system that does # not have an updated extlinux config file - if self.bootloader_is_wanted(): - self.install_extlinux(mp) + if self.bootloader_config_is_wanted(): + self.generate_bootloader_config(mp) + self.install_bootloader(mp) os.symlink(version_label, default_path) - if self.bootloader_is_wanted(): + if self.bootloader_config_is_wanted(): self.install_kernel(version_root, temp_root) self.unmount(mp) |