2011-09-13 20:39:31 +04:00
use/cleanup :
2011-11-16 19:58:42 +04:00
@$( call add_feature)
2017-05-03 16:57:03 +03:00
@$( call xport,GLOBAL_LIVE_NO_CLEANUPDB)
2012-06-26 02:10:12 +04:00
@$( call xport,CLEANUP_PACKAGES)
2016-04-01 19:14:11 +03:00
@$( call xport,CLEANUP_BASE_PACKAGES)
2011-09-13 20:39:31 +04:00
2015-02-25 00:41:23 +03:00
use/cleanup/libs :
@$( call add,BASE_PACKAGES,apt-scripts)
@$( call add,INSTALL2_PACKAGES,installer-feature-cleanup-libs-stage3)
2011-09-13 20:39:31 +04:00
use/cleanup/installer : use /cleanup
2016-04-01 19:14:11 +03:00
@$( call add,CLEANUP_BASE_PACKAGES,'installer-*' )
2011-09-13 20:39:31 +04:00
2015-02-25 00:41:23 +03:00
use/cleanup/x11 : use /cleanup use /cleanup /libs
2015-02-19 20:02:01 +03:00
@$( call add,CLEANUP_PACKAGES,libICE libSM libxcb 'libX*' )
2011-09-13 20:39:31 +04:00
# as some alterator modules are installed into stage3 (the destination
# root filesystem) to perform actions like bootloader setup, we might
# have to remove them (contrary to the usual build-up)...
use/cleanup/alterator : use /cleanup
@$( call add,CLEANUP_PACKAGES,'alterator*' rpm-macros-alterator)
2016-03-10 21:23:24 +03:00
@$( call add,CLEANUP_PACKAGES,'guile*' libvhttpd autologin-sh-functions)
2011-09-13 20:39:31 +04:00
# for lightweight server distros
use/cleanup/x11-alterator : use /cleanup /x 11 use /cleanup /alterator
2020-02-16 22:39:21 +03:00
@$( call add,CLEANUP_PACKAGES,libmng qt4-common qt5-base-common)
2016-01-29 21:56:18 +03:00
2020-09-05 22:49:22 +03:00
i f e q ( , $( filter -out i 586 x 86_ 64,$ ( ARCH ) ) )
2016-01-29 21:56:18 +03:00
# "basically everything else"; this *will* change with branches and distros
use/cleanup/jeos : use /cleanup /x 11-alterator
2019-12-30 14:51:16 +03:00
@$( call add,CLEANUP_PACKAGES,liblcms libjpeg 'libtiff*' )
2016-01-29 21:56:18 +03:00
@$( call add,CLEANUP_PACKAGES,avahi-autoipd iw wpa_supplicant)
@$( call add,CLEANUP_PACKAGES,openssl libpcsclite)
@# a *lot* of stray things get pulled in by alterator modules
2019-12-30 14:51:16 +03:00
@$( call add,CLEANUP_PACKAGES,fontconfig)
@$( call add,CLEANUP_PACKAGES,liblcms libjpeg 'libtiff*' )
2016-01-29 21:56:18 +03:00
@$( call add,CLEANUP_PACKAGES,openssl libpcsclite)
# mostly non-interactive system
use/cleanup/jeos/full : use /cleanup /jeos
@$( call add,CLEANUP_PACKAGES,interactivesystem 'groff*' man stmpclean)
@$( call add,CLEANUP_PACKAGES,console-scripts console-vt-tools 'kbd*' )
@$( call add,CLEANUP_PACKAGES,libsystemd-journal libsystemd-login)
@$( call add,CLEANUP_PACKAGES,dbus libdbus)
2020-09-05 22:49:22 +03:00
e l s e
# 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 : ; @:
e n d i f