]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/UefiBootManagerLib: Skip the DNS device path node check.
authorJiaxin Wu <jiaxin.wu@intel.com>
Tue, 23 Jan 2018 07:06:52 +0000 (15:06 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Thu, 25 Jan 2018 05:36:56 +0000 (13:36 +0800)
commit6945837e4c30231b82c85d71df69f8aaab88f352
treee640fefa79750bb06c988c956dc761cf98f9b2a9
parent4faf5340467a9595b1df7f4faf43f78ec59d3157
MdeModulePkg/UefiBootManagerLib: Skip the DNS device path node check.

After HTTP boot successfully in home mode, the HTTP device path will be
updated accordingly. So, the new device path may be appended with a DNS
device path node. When executing home mode boot again, the original HTTP
device path will mismatch with the new updated one, which will cause the
HTTP boot failure. So, we need update the current match algorithm to match
the correct FilePath. Since the DNS device path is an optional, we can skip
it check.

This patch is to fix above issue.

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c