aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2023-05-02 23:23:22 +0900
committerNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2023-05-09 08:13:10 +0900
commitbf1617a36fe4e1932772a12604e13fd4f5c463f4 (patch)
treefd190a959ef7819cb025f48a2932dd41f6aacf07
parent445bebc668e39da6ff531382ecd99fa42ab0b3c4 (diff)
Remove python dependency from packagegroup-selinux-minimal
A meta-selinux has issue for force install many packages. A packagegroup-selinux-minimal may support desktop and server runtime use case, may not match AGL (embedded) runtime use case. One of the big issue, that force install unnecessarily python runtime to image. It's caused by backward compatibility for policycoreutils package, maybe. This patch fix this issue temporally. Shall fix at meta-agl layer at SPEC-4778. Bug-AGL: SPEC-4777 Change-Id: I2b844cd928448b024e4a6830ea98e7dc76f0832b Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
-rw-r--r--meta-agl-ic-container/conf/layer.conf2
-rw-r--r--meta-agl-ic-container/dynamic-layers/meta-selinux/recipes-security/selinux/policycoreutils_%.bbappend3
2 files changed, 5 insertions, 0 deletions
diff --git a/meta-agl-ic-container/conf/layer.conf b/meta-agl-ic-container/conf/layer.conf
index 7b4552a5..9c13ee33 100644
--- a/meta-agl-ic-container/conf/layer.conf
+++ b/meta-agl-ic-container/conf/layer.conf
@@ -14,6 +14,8 @@ BBFILES_DYNAMIC += " \
rcar-gen3:${LAYERDIR}/dynamic-layers/meta-rcar-gen3/*/*/*.bbappend \
raspberrypi:${LAYERDIR}/dynamic-layers/meta-raspberrypi/*/*/*.bb \
raspberrypi:${LAYERDIR}/dynamic-layers/meta-raspberrypi/*/*/*.bbappend \
+ selinux:${LAYERDIR}/dynamic-layers/meta-selinux/*/*/*.bb \
+ selinux:${LAYERDIR}/dynamic-layers/meta-selinux/*/*/*.bbappend \
"
LAYERSERIES_COMPAT_aglcontainermc = "kirkstone"
diff --git a/meta-agl-ic-container/dynamic-layers/meta-selinux/recipes-security/selinux/policycoreutils_%.bbappend b/meta-agl-ic-container/dynamic-layers/meta-selinux/recipes-security/selinux/policycoreutils_%.bbappend
new file mode 100644
index 00000000..778e4964
--- /dev/null
+++ b/meta-agl-ic-container/dynamic-layers/meta-selinux/recipes-security/selinux/policycoreutils_%.bbappend
@@ -0,0 +1,3 @@
+# Remove selinux-python dependency from policycoreutils to fix force install python runtime issue.
+
+RDEPENDS:${BPN}:remove = "selinux-python"