Integrate meta-seco-clea-os/ap/fix-initrd-panic-sr0
requested to merge integrate/meta-seco-clea-os/ap/fix-initrd-panic-sr0/into/scarthgap into scarthgap
Commit: clea-os/layers/seco/meta-seco-clea-os@179d33f1
[INITRAMFS] don't panic when searching by partuuid on some blk devices
blkid -o value -s PARTUUID "$device"
can fail on some block devices
(such as the CD-ROM/DVD-ROM drive /dev/sr0 in qemux86, which doesn't
contain a GPT partition table).
Because the init script is run with set -e
, this causes the script to
terminate and a kernel panic.
Add || true
to prevent that.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com