summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/openembedded-layer
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2021-11-05 23:40:40 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2021-11-05 23:49:29 +0800
commit99fd5cb683eb31b144f20126497d574c6031fa49 (patch)
tree2927e84b2ca97ee8fcb9cf37bbc17d81c6adbc46 /dynamic-layers/openembedded-layer
parentc4ba0f18c2685d192dc956ea81e54e256c336381 (diff)
downloadmeta-intel-99fd5cb683eb31b144f20126497d574c6031fa49.tar.gz
ipmctl: dont install /var/log/ipmctl
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 <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers/openembedded-layer')
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/ipmctl/ipmctl_03.00.00.0387.bb6
1 files changed, 6 insertions, 0 deletions
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() {
37 ln -sf edk2/${dir} ${S} 37 ln -sf edk2/${dir} ${S}
38 done 38 done
39} 39}
40
41do_install:append() {
42 # Remove /var/log/ipmctl as anything created in /var/log will not be
43 # available when tmpfs is mounted at /var/volatile/log.
44 rm -rf ${D}${localstatedir}/log
45}