• Alexander Graf's avatar
    efi_loader: Revert device_handle to disk after net boot · 3fb97e26
    Alexander Graf authored
    When you boot an efi payload from network, then exit that payload
    and load another payload from disk afterwords, the disk payload will
    currently see the network device as its boot path.
    
    This breaks grub2 for example which tries to find its modules based
    on the path it was loaded from.
    
    This patch fixes that issue by always reverting to disk paths if we're
    not in the network boot. That way the data structures after a network
    boot look the same as before.
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    3fb97e26
Name
Last commit
Last update
..
fastboot Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
aes.c Loading commit data...
ambapp.c Loading commit data...
armflash.c Loading commit data...
bdinfo.c Loading commit data...
bedbug.c Loading commit data...
blkcache.c Loading commit data...
blob.c Loading commit data...
bmp.c Loading commit data...
boot.c Loading commit data...
bootefi.c Loading commit data...
booti.c Loading commit data...
bootldr.c Loading commit data...
bootm.c Loading commit data...
bootmenu.c Loading commit data...
bootstage.c Loading commit data...
bootz.c Loading commit data...
cache.c Loading commit data...
cbfs.c Loading commit data...
clk.c Loading commit data...
console.c Loading commit data...
cplbinfo.c Loading commit data...
cpu.c Loading commit data...
cramfs.c Loading commit data...
cros_ec.c Loading commit data...
dataflash_mmc_mux.c Loading commit data...
date.c Loading commit data...
dcr.c Loading commit data...
demo.c Loading commit data...
dfu.c Loading commit data...
diag.c Loading commit data...
disk.c Loading commit data...
display.c Loading commit data...
dtt.c Loading commit data...
echo.c Loading commit data...
eeprom.c Loading commit data...
efi.c Loading commit data...
elf.c Loading commit data...
ethsw.c Loading commit data...
exit.c Loading commit data...
ext2.c Loading commit data...
ext4.c Loading commit data...
fastboot.c Loading commit data...
fat.c Loading commit data...
fdc.c Loading commit data...
fdt.c Loading commit data...
fitupd.c Loading commit data...
flash.c Loading commit data...
fpga.c Loading commit data...
fpgad.c Loading commit data...
fs.c Loading commit data...
fs_uuid.c Loading commit data...
fuse.c Loading commit data...
gettime.c Loading commit data...
gpio.c Loading commit data...
gpt.c Loading commit data...
hash.c Loading commit data...
help.c Loading commit data...
host.c Loading commit data...
i2c.c Loading commit data...
ide.c Loading commit data...
immap.c Loading commit data...
ini.c Loading commit data...
io.c Loading commit data...
iotrace.c Loading commit data...
irq.c Loading commit data...
itest.c Loading commit data...
jffs2.c Loading commit data...
ldrinfo.c Loading commit data...
led.c Loading commit data...
license.c Loading commit data...
load.c Loading commit data...
log.c Loading commit data...
lzmadec.c Loading commit data...
mac.c Loading commit data...
md5sum.c Loading commit data...
mdio.c Loading commit data...
mem.c Loading commit data...
mfsl.c Loading commit data...
mii.c Loading commit data...
misc.c Loading commit data...
mmc.c Loading commit data...
mmc_spi.c Loading commit data...
mp.c Loading commit data...
mtdparts.c Loading commit data...
nand.c Loading commit data...
net.c Loading commit data...
nvedit.c Loading commit data...
onenand.c Loading commit data...
otp.c Loading commit data...
part.c Loading commit data...
pci.c Loading commit data...
pcmcia.c Loading commit data...
pmic.c Loading commit data...
portio.c Loading commit data...
pxe.c Loading commit data...
qfw.c Loading commit data...
read.c Loading commit data...
reginfo.c Loading commit data...
regulator.c Loading commit data...
reiser.c Loading commit data...
remoteproc.c Loading commit data...
sata.c Loading commit data...
scsi.c Loading commit data...
setexpr.c Loading commit data...
sf.c Loading commit data...
sha1sum.c Loading commit data...
softswitch.c Loading commit data...
sound.c Loading commit data...
source.c Loading commit data...
spi.c Loading commit data...
spibootldr.c Loading commit data...
spl.c Loading commit data...
strings.c Loading commit data...
terminal.c Loading commit data...
test.c Loading commit data...
thordown.c Loading commit data...
time.c Loading commit data...
tpm.c Loading commit data...
tpm_test.c Loading commit data...
trace.c Loading commit data...
tsi148.c Loading commit data...
ubi.c Loading commit data...
ubifs.c Loading commit data...
universe.c Loading commit data...
unzip.c Loading commit data...
usb.c Loading commit data...
usb_mass_storage.c Loading commit data...
version.c Loading commit data...
ximg.c Loading commit data...
yaffs2.c Loading commit data...
zfs.c Loading commit data...
zip.c Loading commit data...