From af95749d67d32d6a1a4503cefb118de307ef3c3d Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Sat, 5 Sep 2020 22:49:22 +0300 Subject: [PATCH] cleanup: avoid crippling non-x86 badly This is a controversial feature right from the start, but keeping jeos alive on non-x86 (that is, catching every case when a removed removed package would bring something critical along with it) is somewhat harder so just skip this part there for now. --- features.in/cleanup/config.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/features.in/cleanup/config.mk b/features.in/cleanup/config.mk index 72a47591..35e98732 100644 --- a/features.in/cleanup/config.mk +++ b/features.in/cleanup/config.mk @@ -25,6 +25,7 @@ use/cleanup/alterator: use/cleanup use/cleanup/x11-alterator: use/cleanup/x11 use/cleanup/alterator @$(call add,CLEANUP_PACKAGES,libmng qt4-common qt5-base-common) +ifeq (,$(filter-out i586 x86_64,$(ARCH))) # "basically everything else"; this *will* change with branches and distros use/cleanup/jeos: use/cleanup/x11-alterator @$(call add,CLEANUP_PACKAGES,liblcms libjpeg 'libtiff*') @@ -41,3 +42,9 @@ use/cleanup/jeos/full: use/cleanup/jeos @$(call add,CLEANUP_PACKAGES,console-scripts console-vt-tools 'kbd*') @$(call add,CLEANUP_PACKAGES,libsystemd-journal libsystemd-login) @$(call add,CLEANUP_PACKAGES,dbus libdbus) + +else +# non-x86 systems are much more prone to critical package removals, +# just avoid those for now => stub it +use/cleanup/jeos use/cleanup/jeos/full:; @: +endif