efi_loader: do not install NULL as device path
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 26 Jan 2018 05:50:54 +0000 (06:50 +0100)
committerAlexander Graf <agraf@suse.de>
Sun, 28 Jan 2018 20:37:13 +0000 (21:37 +0100)
commit7df5af6f3acb7dc4a4b96d55d1f8c0cd83a527f6
tree2200377dab4595268b522271063b07108473d8ec
parent5f1ce1d4ca4decef688fe0dd71b11927d6a18845
efi_loader: do not install NULL as device path

In an image is loaded from memory we do not have a device path.
Do not install NULL as device path in this case.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_boottime.c