From d82002633cdcbbfba380b083ad800fc82c3b11be Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Fri, 27 Apr 2018 00:49:21 +0200 Subject: [PATCH] Use repartition update_script --- addon/lib/rmupdate.tcl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/addon/lib/rmupdate.tcl b/addon/lib/rmupdate.tcl index c522d39..966f80e 100644 --- a/addon/lib/rmupdate.tcl +++ b/addon/lib/rmupdate.tcl @@ -1297,12 +1297,8 @@ proc ::rmupdate::install_firmware {{download_url ""} {version ""} {lang ""} {reb # Use recovery system firmware update feature write_install_log "Using recovery system to update firmware." set tmp_dir "/usr/local/tmp" + set update_script "${tmp_dir}/update_script" if {!$dryrun} { - # TODO: only update boot.scr and filesystem label if needed - catch { exec /bin/mount -o remount,rw /boot } - catch { update_boot_scr "/boot/boot.scr" 2 } - catch { exec /bin/mount -o remount,ro /boot } - # Relabel rootfs1 to rootfs catch { exec tune2fs -L rootfs [get_partition_device [get_system_device] 2] } }