OSDN Git Service

More NVDIMM work.
authorPeter Jones <pjones@redhat.com>
Thu, 7 Dec 2017 16:37:41 +0000 (11:37 -0500)
committerPeter Jones <pjones@redhat.com>
Fri, 9 Feb 2018 16:06:14 +0000 (11:06 -0500)
commit1309b16cce2f2e5fbd145e9094e6f311dcf24a23
tree2574e1818795921f851f0c7c23658f1bfd98fe45
parente668fe9cea929c730ce496d6e7a4818370611ab1
More NVDIMM work.

With this, it works with efibootmgr:

[root@testbox pjones]# LD_LIBRARY_PATH=/root/pjones efibootmgr -b 000E -C -d /dev/pmem12.2 -L pjones-test -l /dax-screw-aeI12d -v
BootCurrent: 000D
Timeout: 1 seconds
BootOrder: 000D
Boot000D* Red Hat Enterprise Linux HD(1,GPT,727bbaeb-9766-4e3b-b374-d3f2dc9a0ab5,0x800,0x64000)/File(\EFI\redhat\shimx64.efi)
Boot000E* pjones-test NVDIMM(829c5205-89a5-4581-9819-df7d7754c622)/File(\dax-screw-aeI12d)

(obviously this won't actually boot because /mnt/test is not the ESP and
dax-screw-aeI12d is just some random file I found sitting around, but
the EFI boot variable appears to be correct.)

Signed-off-by: Peter Jones <pjones@redhat.com>
src/creator.c
src/linux.c