From 86a1c4c03abf5ab4fe9b3425444977b099d31f36 Mon Sep 17 00:00:00 2001 From: Wayne Ren Date: Wed, 9 Mar 2022 20:00:04 +0800 Subject: [PATCH] openeuler: disable update-alternatives mechanism * for embedded case, the mechnisim of update-alternatives is not enabled to only allow just one copy of binary, to save memory footprint. Therefore, if multiple packages provide the same file, conflict error will be reported * As update-alternatives is disabled, no need to do qa check of missing-update-alternatives Signed-off-by: Wayne Ren --- meta-openeuler/conf/distro/openeuler.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/meta-openeuler/conf/distro/openeuler.conf b/meta-openeuler/conf/distro/openeuler.conf index 129891979ce..5d4e8b302af 100644 --- a/meta-openeuler/conf/distro/openeuler.conf +++ b/meta-openeuler/conf/distro/openeuler.conf @@ -49,6 +49,15 @@ svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n" #WARN_QA_remove = "${WARN_TO_ERROR_QA}" #ERROR_QA_append = " ${WARN_TO_ERROR_QA}" +# for embedded case, the mechanism of update-alternatives is not +# enabled to only allow just one copy of binary, to save memory +# footprint. Therefore, if multiple packages provide the same file, +# conflict error will be reported +INHERIT_remove += "update-alternatives" +# As update-alternatives is disabled, no need to do qa check of +# missing-update-alternatives +WARN_QA_remove += "missing-update-alternatives" + INHERIT += "uninative" INHERIT += "reproducible_build" -- Gitee