]> git.ipfire.org Git - thirdparty/systemd.git/commit
EFI stub: add LoaderImageIdentifier if non-existant
authorДамјан Георгиевски <gdamjan@gmail.com>
Mon, 15 Jan 2018 16:59:33 +0000 (17:59 +0100)
committerДамјан Георгиевски <gdamjan@gmail.com>
Mon, 15 Jan 2018 16:59:33 +0000 (17:59 +0100)
commit19e0e60a577cd0e2d79b2871cbcc2a2946ad1d54
tree83659d7b56fec7263b07fc882d8c1c3e40c0d75d
parent01816fee337f7899b7d196f5847e4a2e6a738437
EFI stub: add LoaderImageIdentifier if non-existant

when an image with the stub is booted directly from UEFI, bootctl status
shows this:
```
Current Loader:
      Product: n/a
          ESP: /dev/disk/by-partuuid/b0a0807d-0592-40e9-adac-3bb724e9e305
         File: └─n/a
```

After this change, the stub reports the image itself:
```
Current Loader:
      Product: n/a
          ESP: /dev/disk/by-partuuid/b0a0807d-0592-40e9-adac-3bb724e9e305
         File: └─/EFI/Secure/secure-boot-4.14.8+.efi
```
src/boot/efi/stub.c