OSInside / kiwi

KIWI - Appliance Builder Next Generation
https://osinside.github.io/kiwi
GNU General Public License v3.0
300 stars 152 forks source link

Fix displaying the image verification failure dialog #2570

Closed Vogtinator closed 3 months ago

Vogtinator commented 3 months ago

Kiwi must wait for the previous dialog to finish before showing another one as it's the same systemd service behind it.

Without this, the failure dialog fails (how ironic):

-------------+---------------------------------------------------------------+|
Verifying /dev/disk/by-path/ccw-0.0.0160                      ||
                                               ||  +----------------------------
-----------------------------+  ||  |                            0%
              |  ||  +---------------------------------------------------------+
  |+---------------------------------------------------------------+
                9                      1                 2           3     4857%
  67%        76%             86%                   95%                        10
0%                            [ [0;32m  OK   [0m] Finished  [0;1;39mDracut Run I
nteractive [0m.
[   52.852546] dracut-pre-mount[1120]: cat: /tmp/dialog_code: No such file or di
rectory
[   52.852789] dracut-pre-mount[716]: /lib/kiwi-dialog-lib.sh: line 21: return:
: numeric argument required

(Ignore the screwed up display, running in an x3270)

schaefi commented 3 months ago

Without this, the failure dialog fails (how ironic):

LOL, cool, thanks for fixing it