[Bug 1491977] [NEW] update_flash fails on Ubuntu in PowerVM mode

Launchpad Bug Tracker 1491977 at bugs.launchpad.net
Thu Sep 3 19:19:06 UTC 2015


You have been subscribed to a public bug:

---Problem Description---
update_flash (PowerVM mode) from Ubuntu fails with a 'bad variable name'.
  
---uname output---
Linux neo33-2 3.19.0-21-generic #21-Ubuntu SMP Sun Jun 14 19:33:37 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
 
Machine Type = type_model=8247-22L
  
---Steps to Reproduce---
 # update_flash -f 01SV840_016_016.img 
/usr/sbin/update_flash: 185: local: FW830.00: bad variable name

If I comment out line 252 and run it again, things do work (but there is
checking that doesn't happen in that case)

#        echo_validate_return_status "$output"


Upstream commit ID :

commit 546174be41c74894126414515644888ed8b31584
Author: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
Date:   Wed Sep 2 10:23:21 2015 -0400

    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


> [PATCH] update_flash: Stop kexec service before starting firmware update on
> PowerVM LPAR

I've posted this patch to upstream today...

-Vasant

** Affects: powerpc-ibm-utils (Ubuntu)
     Importance: Undecided
     Assignee: Taco Screen team (taco-screen-team)
         Status: New


** Tags: architecture-ppc64le bugnameltc-126660 severity-critical targetmilestone-inin1504
-- 
update_flash fails on Ubuntu in PowerVM mode
https://bugs.launchpad.net/bugs/1491977
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to powerpc-ibm-utils in Ubuntu.



More information about the foundations-bugs mailing list