boot: clean up unified boot loader entry name/version extraction
authorLennart Poettering <lennart@poettering.net>
Tue, 9 Nov 2021 22:54:10 +0000 (23:54 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 11 Nov 2021 16:22:31 +0000 (17:22 +0100)
commit18fde343a845a909260e3443f0a0734ba00cabe0
tree96f198230e660caae4d7183c3e62499d5773c438
parent31f7765762105f82eacecfc6f510dc68b070fef7
boot: clean up unified boot loader entry name/version extraction

Let's make sure IMAGE_ID/IMAGE_VERSION are properly honoured, and
explain in a long comment why.

Let's also use ID= field again, which was lost by accident.

(While we are at it do some minimal OOM checks wherever we touch
something)
src/boot/efi/boot.c
src/fundamental/bootspec-fundamental.c [new file with mode: 0644]
src/fundamental/bootspec-fundamental.h [new file with mode: 0644]
src/fundamental/meson.build