From 99fd5cb683eb31b144f20126497d574c6031fa49 Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Fri, 5 Nov 2021 23:40:40 +0800 Subject: 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 --- .../recipes-support/ipmctl/ipmctl_03.00.00.0387.bb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'dynamic-layers/openembedded-layer/recipes-support/ipmctl') 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 +} -- cgit v1.2.3-54-g00ecf