[meta-arm] arm-autonomy/xenguest-network: fix for unbound variable in network-bridge.sh

Submitted by Kamil Dziezyk on Nov. 9, 2020, 10:08 a.m. | Patch ID: 178104

Details

Message ID 20201109100849.11401-1-kamil.dziezyk@arm.com
State New
Headers show

Commit Message

Kamil Dziezyk Nov. 9, 2020, 10:08 a.m.
Undefined 'XENGUEST_NETWORK_TYPE' caused an error during guest start.

Change-Id: I5b0adea523f884cd4b649e3b85ae7e8860eb019a
Issue-Id: SCM-1633
Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>

---
 .../recipes-extended/xenguest/files/network-bridge.sh.in        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#1344): https://lists.yoctoproject.org/g/meta-arm/message/1344
Mute This Topic: https://lists.yoctoproject.org/mt/78132540/1003190
Group Owner: meta-arm+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [mhalstead@linuxfoundation.org]
-=-=-=-=-=-=-=-=-=-=-=-

Patch hide | download patch | download mbox

diff --git a/meta-arm-autonomy/recipes-extended/xenguest/files/network-bridge.sh.in b/meta-arm-autonomy/recipes-extended/xenguest/files/network-bridge.sh.in
index 46d230e..967c245 100755
--- a/meta-arm-autonomy/recipes-extended/xenguest/files/network-bridge.sh.in
+++ b/meta-arm-autonomy/recipes-extended/xenguest/files/network-bridge.sh.in
@@ -8,7 +8,7 @@ 
 
 BRIDGE_NAME="###BRIDGE_NAME###"
 
-case "${XENGUEST_NETWORK_TYPE:-}" in
+case "${XENGUEST_NETWORK_TYPE:=}" in
     nat)
         echo "vif = ['script=vif-nat']" >> ${guestcfgfile}
         ;;