summaryrefslogtreecommitdiffstats
path: root/classes/uefi-comboapp.bbclass
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2017-11-15 10:36:17 +0100
committerSaul Wold <sgw@linux.intel.com>2017-11-17 10:54:21 -0800
commit5adbf6df4fd89e7531ccccfb9cec7a5314d635f0 (patch)
tree6f6cd65c5854fb72a173f0183bd4400bd022a50a /classes/uefi-comboapp.bbclass
parentc664a4479500930a349faad086cfc5e70d1eb59c (diff)
downloadmeta-intel-5adbf6df4fd89e7531ccccfb9cec7a5314d635f0.tar.gz
uefi-comboapp.bbclass: install files under pseudo
do_uefiapp_deploy copies files into the /boot directory of the rootfs and thus, like do_rootfs, should run under pseudo so that the files end up being owned by root. This did not trigger the uid leak check, perhaps because the task runs later. For some (still unknown reason), sometimes the installed files did end up being owned by root, which tripped up a swupd test because the system update randomly included unexpected changes to bootx64.efi or rmc.db. With this change, they are owned by root consistently. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'classes/uefi-comboapp.bbclass')
-rw-r--r--classes/uefi-comboapp.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/uefi-comboapp.bbclass b/classes/uefi-comboapp.bbclass
index 5c3ca8c9..4ecc5535 100644
--- a/classes/uefi-comboapp.bbclass
+++ b/classes/uefi-comboapp.bbclass
@@ -101,14 +101,14 @@ uefiapp_deploy_at() {
101 done 101 done
102} 102}
103 103
104do_uefiapp_deploy() { 104fakeroot do_uefiapp_deploy() {
105 rm -rf ${IMAGE_ROOTFS}/boot/* 105 rm -rf ${IMAGE_ROOTFS}/boot/*
106 dest=${IMAGE_ROOTFS}/boot/EFI/BOOT 106 dest=${IMAGE_ROOTFS}/boot/EFI/BOOT
107 mkdir -p $dest 107 mkdir -p $dest
108 uefiapp_deploy_at $dest 108 uefiapp_deploy_at $dest
109} 109}
110 110
111do_uefiapp_deploy[depends] += "${PN}:do_uefiapp" 111do_uefiapp_deploy[depends] += "${PN}:do_uefiapp virtual/fakeroot-native:do_populate_sysroot"
112 112
113 113
114# This decides when/how we add our tasks to the image 114# This decides when/how we add our tasks to the image