diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2020-10-14 01:17:37 -0700 |
---|---|---|
committer | Jia Zhang <zhang.jia@linux.alibaba.com> | 2020-10-14 19:40:03 +0800 |
commit | 696ee1495caa0e1a52a0c212cbdf8d6bb206d9a1 (patch) | |
tree | 23e2919d6d6a978100666d3af48e5877c8535532 | |
parent | 02334372249b81fa53077f60876d786054691f8c (diff) | |
download | meta-secure-core-696ee1495caa0e1a52a0c212cbdf8d6bb206d9a1.tar.gz |
grub-efi-efi-secure-boot.inc: Adapt to potential psuedo changes
If we do adopt path filtering for pseudo, we may filter out ${DEPLOY_DIR}
as not needing to be tracked for "root" permissions. but we do track
the data in ${D} though, when we copy file from ${D} to ${DEPLOY_DIR},
pseudo report a failure
...
|cp: failed to preserve ownership for 'tmp-glibc/work/corei7-64-wrs-linux/
grub-efi/2.04-r0/deploy-grub-efi/efi-unsigned/x86_64-efi/fdt.lst'
: Operation not permitted
...
Disable pseudo for the copy operation
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
-rw-r--r-- | meta-efi-secure-boot/recipes-bsp/grub/grub-efi-efi-secure-boot.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-efi-secure-boot/recipes-bsp/grub/grub-efi-efi-secure-boot.inc b/meta-efi-secure-boot/recipes-bsp/grub/grub-efi-efi-secure-boot.inc index f172e08..c944207 100644 --- a/meta-efi-secure-boot/recipes-bsp/grub/grub-efi-efi-secure-boot.inc +++ b/meta-efi-secure-boot/recipes-bsp/grub/grub-efi-efi-secure-boot.inc | |||
@@ -196,7 +196,7 @@ do_deploy_append_class-target() { | |||
196 | 196 | ||
197 | install -d "${DEPLOYDIR}/efi-unsigned" | 197 | install -d "${DEPLOYDIR}/efi-unsigned" |
198 | install -m 0644 "${B}/${GRUB_IMAGE}" "${DEPLOYDIR}/efi-unsigned" | 198 | install -m 0644 "${B}/${GRUB_IMAGE}" "${DEPLOYDIR}/efi-unsigned" |
199 | cp -af "${D}${EFI_BOOT_PATH}/${GRUB_TARGET}-efi" "${DEPLOYDIR}/efi-unsigned" | 199 | PSEUDO_DISABLED=1 cp -af "${D}${EFI_BOOT_PATH}/${GRUB_TARGET}-efi" "${DEPLOYDIR}/efi-unsigned" |
200 | } | 200 | } |
201 | 201 | ||
202 | FILES_${PN} += "${EFI_BOOT_PATH}" | 202 | FILES_${PN} += "${EFI_BOOT_PATH}" |