path: root/classes
diff options
authorPatrick Ohly <>2017-11-15 09:36:17 (GMT)
committerSaul Wold <>2017-11-17 18:54:21 (GMT)
commit5adbf6df4fd89e7531ccccfb9cec7a5314d635f0 (patch)
tree6f6cd65c5854fb72a173f0183bd4400bd022a50a /classes
parentc664a4479500930a349faad086cfc5e70d1eb59c (diff)
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 <> Signed-off-by: Saul Wold <>
Diffstat (limited to 'classes')
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/uefi-comboapp.bbclass b/classes/uefi-comboapp.bbclass
index 5c3ca8c..4ecc553 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