]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Application/CapsuleApp/CapsuleApp.c
MdeModulePkg CapsuleApp: Add directory support
authorStar Zeng <star.zeng@intel.com>
Tue, 11 Apr 2017 01:55:51 +0000 (09:55 +0800)
committerStar Zeng <star.zeng@intel.com>
Fri, 14 Apr 2017 05:47:39 +0000 (13:47 +0800)
commit8b17683a27cfef7e70008dfccbc17a358ae33df1
treeb0148d909f35f2d83bf4ade201905e4478a797e6
parent9c0e4db3db8d102812ca57f6225290c7ba079ad8
MdeModulePkg CapsuleApp: Add directory support

Current CapsuleApp only supports input/output file from rootdirectory.
If the CapsuleApp and related file are put into subdirectory,
below message will be shown when running the CapsuleApp in shell.

"CapsuleApp: capsule image (Capsule image file name) is not found."

This patch is to add directory support for CapsuleApp
by using shell protocol.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
MdeModulePkg/Application/CapsuleApp/AppSupport.c
MdeModulePkg/Application/CapsuleApp/CapsuleApp.c
MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf