Accepting request 1084026 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1084026 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s390-tools?expand=0&rev=60
This commit is contained in:
commit
330df351c2
@ -65,17 +65,17 @@
|
|||||||
+# KEY=VALUE separated by commas.
|
+# KEY=VALUE separated by commas.
|
||||||
+
|
+
|
||||||
+zdev_enable="--persistent --enable"
|
+zdev_enable="--persistent --enable"
|
||||||
+zdev_base_args="--force --yes --no-root-update --no-settle"
|
+zdev_base_args="--yes --no-root-update --no-settle"
|
||||||
+
|
+
|
||||||
+for zdev in $(getargs rd.zdev -d 'rd_ZDEV=') ; do
|
+for zdevs in $(getargs rd.zdev) ; do
|
||||||
+ IFS=, read -r z_drv z_chan z_opts <<< "$zdev"
|
+ IFS=',' read -r -a zdev <<< "$zdevs"
|
||||||
+ if [ -n "$z_drv" ] && [ "$z_drv" = "no-auto" -o "$z_drv" = "auto" ] ; then
|
+ if [ -n "$zdev" ] && [ "$zdev" = "no-auto" -o "$zdev" = "auto" ] ; then
|
||||||
+ : # ignore, as it's handled by 95zdev
|
+ : # ignore, as it's handled by 95zdev
|
||||||
+ elif [ -z "$z_drv" ] || [ -z "$z_chan" ] ; then
|
+ elif [ -z "$zdev" ] || [ -z "${zdev[1]}" ] ; then
|
||||||
+ warn "Unsupported arguments for rd.zdev="
|
+ warn "Unsupported usage of rd.zdev=$zdevs"
|
||||||
+ else
|
+ else
|
||||||
+ info "+ chzdev $zdev_enable [...] $z_drv $z_chan $z_opts"
|
+ info "+ chzdev $zdev_enable [...] ${zdev[@]}"
|
||||||
+ chzdev $zdev_enable $zdev_base_args $z_drv $z_chan $z_opts
|
+ chzdev $zdev_enable $zdev_base_args "${zdev[@]}"
|
||||||
+ fi
|
+ fi
|
||||||
+done
|
+done
|
||||||
+
|
+
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 2 11:40:12 UTC 2023 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
|
||||||
|
|
||||||
|
- Applies a fix, splitting of rd.zdev-parameters, in
|
||||||
|
* s390-tools-ALP-zdev-live.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 19 11:59:50 UTC 2023 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
|
Wed Apr 19 11:59:50 UTC 2023 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user