diff --git a/editbootinstall_rpi.sh b/editbootinstall_rpi.sh index 107cfee..5e5cd40 100644 --- a/editbootinstall_rpi.sh +++ b/editbootinstall_rpi.sh @@ -1,10 +1,9 @@ #!/bin/bash - -set -x +set -euxo pipefail diskname=$1 devname="$2" -loopname="${devname%*p2}" +loopname="${devname%*p?}" loopdev=/dev/${loopname#/dev/mapper/*} #========================================== diff --git a/kiwi-templates-JeOS.changes b/kiwi-templates-JeOS.changes index d32888a..ef91725 100644 --- a/kiwi-templates-JeOS.changes +++ b/kiwi-templates-JeOS.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 3 15:31:37 UTC 2019 - Fabian Vogt + +- Fix editbootinstall_rpi.sh with newer kiwi + ------------------------------------------------------------------- Tue Nov 26 13:11:12 UTC 2019 - Fabian Vogt diff --git a/kiwi-templates-JeOS.spec b/kiwi-templates-JeOS.spec index d53290d..9e4ca33 100644 --- a/kiwi-templates-JeOS.spec +++ b/kiwi-templates-JeOS.spec @@ -1,7 +1,7 @@ # # spec file for package kiwi-templates-JeOS # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ #