diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2018-10-17 13:34:59 +0800 |
---|---|---|
committer | Jia Zhang <zhang.jia@linux.alibaba.com> | 2018-10-17 16:55:13 +0800 |
commit | 1daba563d4e70654af5889f69f913985e38f90cb (patch) | |
tree | 3deb5de6a49679379023c9f8767fb509cf020d63 | |
parent | 45893433ad6a676b8a6f3227ec6f2b1f6663691e (diff) | |
download | meta-secure-core-1daba563d4e70654af5889f69f913985e38f90cb.tar.gz |
rpm: disable inhibit plugin for rpm-native
We have a bbappend file which enables plugins for rpm. We need to
ensure to also disable the inhibit plugin for rpm-native. Otherwise,
we get the following warning at rootfs time.
Unable to get systemd shutdown inhibition lock: Socket name too long
The inhibit plugin tries to inhibit shutdown during rpm operation. It
obviously makes no sense for rpm-native, as 1) we may not build on a
systemd based host and 2) the build process does not affect the package
management on host.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
-rw-r--r-- | meta-integrity/recipes-devtools/rpm/rpm-integrity.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-integrity/recipes-devtools/rpm/rpm-integrity.inc b/meta-integrity/recipes-devtools/rpm/rpm-integrity.inc index 1945cc2..3295a58 100644 --- a/meta-integrity/recipes-devtools/rpm/rpm-integrity.inc +++ b/meta-integrity/recipes-devtools/rpm/rpm-integrity.inc | |||
@@ -6,3 +6,4 @@ PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'ima', 'imaevm', '', d) | |||
6 | EXTRA_OECONF_remove += "\ | 6 | EXTRA_OECONF_remove += "\ |
7 | --disable-plugins \ | 7 | --disable-plugins \ |
8 | " | 8 | " |
9 | EXTRA_OECONF_append_class-native = " --disable-inhibit-plugin" | ||