OE-Core now has a QA check to see if /var/log is empty. Since
/var/log is usually a symlink to /var/volatile/log, anything
installed here won't actually be available.

Remove the directory.

Signed-off-by: Anuj Mittal <[email protected]>
---
 .../recipes-support/ipmctl/ipmctl_03.00.00.0387.bb          | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/dynamic-layers/openembedded-layer/recipes-support/ipmctl/ipmctl_03.00.00.0387.bb
 
b/dynamic-layers/openembedded-layer/recipes-support/ipmctl/ipmctl_03.00.00.0387.bb
index 1eb48f37..0ab2f231 100644
--- 
a/dynamic-layers/openembedded-layer/recipes-support/ipmctl/ipmctl_03.00.00.0387.bb
+++ 
b/dynamic-layers/openembedded-layer/recipes-support/ipmctl/ipmctl_03.00.00.0387.bb
@@ -37,3 +37,9 @@ do_configure:prepend() {
         ln -sf edk2/${dir} ${S}
     done
 }
+
+do_install:append() {
+    # Remove /var/log/ipmctl as anything created in /var/log will not be
+    # available when tmpfs is mounted at /var/volatile/log.
+    rm -rf ${D}${localstatedir}/log
+} 
-- 
2.33.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7344): 
https://lists.yoctoproject.org/g/meta-intel/message/7344
Mute This Topic: https://lists.yoctoproject.org/mt/86844059/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to