update_flash: Fix bad variable issue
Shells like dash throws error if we try to assign string with space
without double quote. ex:
local bug=ML FW830.00 FW830.00
Sample output without this patch:
update_flash -f 01SV840_016_016.img
/usr/sbin/update_flash: 185: local: FW830.00: bad variable name
update_flash: Stop kexec service before starting firmware update
We run 'reboot' call before initiating firmware update. If kexec service
is enabled, then we endup booting into new kernel instead of starting
firmware update.
This patch validates kexec service and if required stops this service
before starting code update.
update_flash: Stop kexec service before starting firmware update on PowerVM LPAR
We run 'reboot' call before initiating firmware update. If kexec service
is enabled, then we endup booting into new kernel instead of starting
firmware update.
Commit 62dc6d38 fix this issue on PowerNV platform.. but missed to fix
PowerVM LPAR. This patch fixes above described issue on PowerVM LPAR.
Signed-off-by: Vasant Hegde <email address hidden>
------- Comment From <email address hidden> 2015-09-11 06:47 EDT-------
Hello Canonical,
All the patches are accepted in upstream.. Please pull below three patches..
commit 546174be41c7489 412641451564488 8ed8b31584
Author: Vasant Hegde <email address hidden>
Date: Wed Sep 2 10:23:21 2015 -0400
update_flash: Fix bad variable issue update_ flash: 185: local: FW830.00: bad variable name
Shells like dash throws error if we try to assign string with space
without double quote. ex:
local bug=ML FW830.00 FW830.00
Sample output without this patch:
update_flash -f 01SV840_016_016.img
/usr/sbin/
commit 62dc6d38de17758 8f205e01cec15b9 3b3e2b9a30
Author: Vasant Hegde <email address hidden>
Date: Wed Sep 2 10:26:23 2015 -0400
update_flash: Stop kexec service before starting firmware update
We run 'reboot' call before initiating firmware update. If kexec service
is enabled, then we endup booting into new kernel instead of starting
firmware update.
This patch validates kexec service and if required stops this service
before starting code update.
commit 8ff5144da07985c d84508465007f90 31840d4ecd
Author: Vasant Hegde <email address hidden>
Date: Tue Sep 8 11:33:24 2015 -0400
update_flash: Stop kexec service before starting firmware update on PowerVM LPAR
We run 'reboot' call before initiating firmware update. If kexec service
is enabled, then we endup booting into new kernel instead of starting
firmware update.
Commit 62dc6d38 fix this issue on PowerNV platform.. but missed to fix
PowerVM LPAR. This patch fixes above described issue on PowerVM LPAR.
Signed-off-by: Vasant Hegde <email address hidden>
-Vasant