pe-binary: .initrd section is optional for UKI
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 15 May 2024 21:08:27 +0000 (06:08 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 16 May 2024 10:56:22 +0000 (12:56 +0200)
commit2e93331605e6b6a919121fd957a852431b0b8a19
tree7a8306aaaaac4d8efa23bf53b3b229da75845a31
parentb3aa88a475c94948ce106a807d382fa341852c36
pe-binary: .initrd section is optional for UKI

.osrel is also optional, but sd-boot and bootctl requires it.
So, let's keep .osrel section at least now.

Fixes #32774.
src/shared/pe-binary.c