Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd/
Date: Sat, 28 Oct 2017 18:58:40
Message-Id: 1509217109.28ad0aabd31344f79997089dedae9f33cec6d24c.floppym@gentoo
1 commit: 28ad0aabd31344f79997089dedae9f33cec6d24c
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 28 18:58:21 2017 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 28 18:58:29 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28ad0aab
7
8 sys-apps/systemd: remove old
9
10 Package-Manager: Portage-2.3.12_p5, Repoman-2.3.3_p75
11
12 sys-apps/systemd/Manifest | 1 -
13 sys-apps/systemd/systemd-234-r4.ebuild | 450 ---------------------------------
14 2 files changed, 451 deletions(-)
15
16 diff --git a/sys-apps/systemd/Manifest b/sys-apps/systemd/Manifest
17 index 0bfb021bca2..800a79b82c3 100644
18 --- a/sys-apps/systemd/Manifest
19 +++ b/sys-apps/systemd/Manifest
20 @@ -1,4 +1,3 @@
21 DIST systemd-233-man.tar.gz 31386 SHA256 825e62eb82c4e23997061fc8f56f7ec9bb1e6ac1111d279c76c926cc2bfbf1dc SHA512 cc5215d3590ffc3c9203a64c14d6adeb0148c421c1396b8c1e43dcb58763b687ce99bdee327dd8a00abab7198171e73b22109a3f2032e4cec6adf2dcc85acf40 WHIRLPOOL ff1f36beff377f675047271df38503e8b71d615ea73c5fdfebf465edaf1fe29b4f89e3194d65cdf84eec9b7c3156de597627fdaffa4b86018520aaa127a7a159
22 DIST systemd-233.tar.gz 4660737 SHA256 8b3e99da3d4164b66581830a7f2436c0c8fe697b5fbdc3927bdb960646be0083 SHA512 5ad5329ea116d973cf67096f7e7ad28e9ea0905696e9451291f1d25e5064f4a9bfcfae87e912996c6a38397e9f4a148d4ccecfa9b70f7ecdf04deadb61784c8e WHIRLPOOL ce19f6a546b8f899cfa952e49d47f063fd29186be4a53391bc30ea2c487eb2c140a74ad843a1dc499bb61bba3e9ca055613852291e38b85af5d79c59409dc176
23 -DIST systemd-234.tar.gz 4800186 SHA256 da3e69d10aa1c983d33833372ad4929037b411ac421fb085c8cee79ae1d80b6a SHA512 762336a7d96c6583cf71cad62efce95a0ed93cd0a0d7251f128d10dba8200c0c8df0e5a7d168179ababa5b221295a231e73b7e7ea2697cb3fb5c1b33538efa68 WHIRLPOOL 9ff9f25ce82514db969a427eee51c0483b2bcaaa611f93c1fc17c356ea25eee712217708c54101ecaafd835cd8ac988b16e8ad411b48541a32442b9a0d148f07
24 DIST systemd-235.tar.gz 6586406 SHA256 25811f96f5a027bf2a4c9383495cf5b623e385d84da31e473cf375932b3e9c52 SHA512 243f2eb5340fa37dd1286eaa63e83387bda9e03953af266cd6196a37535a13491482caf14c6ab10608bba4ed23b6c41923608e52017e0c26988ed72ddd2b9993 WHIRLPOOL 05e50b31f7b3b1cd756abd1580dddae0e114953857564133784fc43b9ecd0e203ee534aaf76531ca7af5c43b03b9b73c6cbbbb1caf5afb17502555cc52fe06cd
25
26 diff --git a/sys-apps/systemd/systemd-234-r4.ebuild b/sys-apps/systemd/systemd-234-r4.ebuild
27 deleted file mode 100644
28 index a4c94bd3a96..00000000000
29 --- a/sys-apps/systemd/systemd-234-r4.ebuild
30 +++ /dev/null
31 @@ -1,450 +0,0 @@
32 -# Copyright 1999-2017 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -if [[ ${PV} == 9999 ]]; then
38 - EGIT_REPO_URI="https://github.com/systemd/systemd.git"
39 - inherit git-r3
40 -else
41 - SRC_URI="https://github.com/systemd/systemd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 - KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
43 -fi
44 -
45 -PYTHON_COMPAT=( python{3_4,3_5,3_6} )
46 -
47 -inherit bash-completion-r1 linux-info meson multilib-minimal ninja-utils pam python-any-r1 systemd toolchain-funcs udev user
48 -
49 -DESCRIPTION="System and service manager for Linux"
50 -HOMEPAGE="https://www.freedesktop.org/wiki/Software/systemd"
51 -
52 -LICENSE="GPL-2 LGPL-2.1 MIT public-domain"
53 -SLOT="0/2"
54 -IUSE="acl apparmor audit build cryptsetup curl elfutils +gcrypt gnuefi http
55 - idn importd +kmod libidn2 +lz4 lzma nat pam policykit
56 - qrcode +seccomp selinux ssl sysv-utils test vanilla xkb"
57 -
58 -REQUIRED_USE="importd? ( curl gcrypt lzma )"
59 -
60 -MINKV="3.11"
61 -
62 -COMMON_DEPEND=">=sys-apps/util-linux-2.27.1:0=[${MULTILIB_USEDEP}]
63 - sys-libs/libcap:0=[${MULTILIB_USEDEP}]
64 - !<sys-libs/glibc-2.16
65 - acl? ( sys-apps/acl:0= )
66 - apparmor? ( sys-libs/libapparmor:0= )
67 - audit? ( >=sys-process/audit-2:0= )
68 - cryptsetup? ( >=sys-fs/cryptsetup-1.6:0= )
69 - curl? ( net-misc/curl:0= )
70 - elfutils? ( >=dev-libs/elfutils-0.158:0= )
71 - gcrypt? ( >=dev-libs/libgcrypt-1.4.5:0=[${MULTILIB_USEDEP}] )
72 - http? (
73 - >=net-libs/libmicrohttpd-0.9.33:0=
74 - ssl? ( >=net-libs/gnutls-3.1.4:0= )
75 - )
76 - idn? (
77 - libidn2? ( net-dns/libidn2 )
78 - !libidn2? ( net-dns/libidn )
79 - )
80 - importd? (
81 - app-arch/bzip2:0=
82 - sys-libs/zlib:0=
83 - )
84 - kmod? ( >=sys-apps/kmod-15:0= )
85 - lz4? ( >=app-arch/lz4-0_p131:0=[${MULTILIB_USEDEP}] )
86 - lzma? ( >=app-arch/xz-utils-5.0.5-r1:0=[${MULTILIB_USEDEP}] )
87 - nat? ( net-firewall/iptables:0= )
88 - pam? ( virtual/pam:=[${MULTILIB_USEDEP}] )
89 - qrcode? ( media-gfx/qrencode:0= )
90 - seccomp? ( >=sys-libs/libseccomp-2.3.1:0= )
91 - selinux? ( sys-libs/libselinux:0= )
92 - sysv-utils? (
93 - !sys-apps/systemd-sysv-utils
94 - !sys-apps/sysvinit )
95 - xkb? ( >=x11-libs/libxkbcommon-0.4.1:0= )
96 - abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r9
97 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
98 -
99 -# baselayout-2.2 has /run
100 -RDEPEND="${COMMON_DEPEND}
101 - >=sys-apps/baselayout-2.2
102 - selinux? ( sec-policy/selinux-base-policy[systemd] )
103 - !build? ( || (
104 - sys-apps/util-linux[kill(-)]
105 - sys-process/procps[kill(+)]
106 - sys-apps/coreutils[kill(-)]
107 - ) )
108 - !sys-auth/nss-myhostname
109 - !<sys-kernel/dracut-044
110 - !sys-fs/eudev
111 - !sys-fs/udev"
112 -
113 -# sys-apps/dbus: the daemon only (+ build-time lib dep for tests)
114 -PDEPEND=">=sys-apps/dbus-1.9.8[systemd]
115 - >=sys-apps/hwids-20150417[udev]
116 - >=sys-fs/udev-init-scripts-25
117 - policykit? ( sys-auth/polkit )
118 - !vanilla? ( sys-apps/gentoo-systemd-integration )"
119 -
120 -# Newer linux-headers needed by ia64, bug #480218
121 -DEPEND="${COMMON_DEPEND}
122 - app-arch/xz-utils:0
123 - dev-util/gperf
124 - >=dev-util/intltool-0.50
125 - >=sys-apps/coreutils-8.16
126 - >=sys-kernel/linux-headers-${MINKV}
127 - virtual/pkgconfig
128 - gnuefi? ( >=sys-boot/gnu-efi-3.0.2 )
129 - test? ( sys-apps/dbus )
130 - app-text/docbook-xml-dtd:4.2
131 - app-text/docbook-xml-dtd:4.5
132 - app-text/docbook-xsl-stylesheets
133 - dev-libs/libxslt:0
134 - $(python_gen_any_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
135 -"
136 -
137 -pkg_pretend() {
138 - if [[ ${MERGE_TYPE} != buildonly ]]; then
139 - local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS
140 - ~CHECKPOINT_RESTORE ~DEVTMPFS ~EPOLL ~FANOTIFY ~FHANDLE
141 - ~INOTIFY_USER ~IPV6 ~NET ~NET_NS ~PROC_FS ~SIGNALFD ~SYSFS
142 - ~TIMERFD ~TMPFS_XATTR ~UNIX
143 - ~CRYPTO_HMAC ~CRYPTO_SHA256 ~CRYPTO_USER_API_HASH
144 - ~!FW_LOADER_USER_HELPER ~!GRKERNSEC_PROC ~!IDE ~!SYSFS_DEPRECATED
145 - ~!SYSFS_DEPRECATED_V2"
146 -
147 - use acl && CONFIG_CHECK+=" ~TMPFS_POSIX_ACL"
148 - use seccomp && CONFIG_CHECK+=" ~SECCOMP ~SECCOMP_FILTER"
149 - kernel_is -lt 3 7 && CONFIG_CHECK+=" ~HOTPLUG"
150 - kernel_is -lt 4 7 && CONFIG_CHECK+=" ~DEVPTS_MULTIPLE_INSTANCES"
151 -
152 - if linux_config_exists; then
153 - local uevent_helper_path=$(linux_chkconfig_string UEVENT_HELPER_PATH)
154 - if [[ -n ${uevent_helper_path} ]] && [[ ${uevent_helper_path} != '""' ]]; then
155 - ewarn "It's recommended to set an empty value to the following kernel config option:"
156 - ewarn "CONFIG_UEVENT_HELPER_PATH=${uevent_helper_path}"
157 - fi
158 - if linux_chkconfig_present X86; then
159 - CONFIG_CHECK+=" ~DMIID"
160 - fi
161 - fi
162 -
163 - if kernel_is -lt ${MINKV//./ }; then
164 - ewarn "Kernel version at least ${MINKV} required"
165 - fi
166 -
167 - check_extra_config
168 - fi
169 -}
170 -
171 -pkg_setup() {
172 - :
173 -}
174 -
175 -src_unpack() {
176 - default
177 - [[ ${PV} != 9999 ]] || git-r3_src_unpack
178 -}
179 -
180 -src_prepare() {
181 - local PATCHES=(
182 - "${FILESDIR}"/234-0002-cryptsetup-fix-infinite-timeout-6486.patch
183 - "${FILESDIR}"/234-0003-resolved-make-sure-idn2-conversions-are-roundtrippab.patch
184 - "${FILESDIR}"/234-0004-logind-make-sure-we-don-t-process-the-same-method-ca.patch
185 - )
186 -
187 - if ! use vanilla; then
188 - PATCHES+=(
189 - "${FILESDIR}/218-Dont-enable-audit-by-default.patch"
190 - "${FILESDIR}/228-noclean-tmp.patch"
191 - "${FILESDIR}/233-systemd-user-pam.patch"
192 - "${FILESDIR}/234-uucp-group.patch"
193 - "${FILESDIR}/generator-path.patch"
194 - )
195 - fi
196 -
197 - [[ -d "${WORKDIR}"/patches ]] && PATCHES+=( "${WORKDIR}"/patches )
198 -
199 - default
200 -}
201 -
202 -src_configure() {
203 - # Prevent conflicts with i686 cross toolchain, bug 559726
204 - tc-export AR CC NM OBJCOPY RANLIB
205 -
206 - python_setup
207 -
208 - multilib-minimal_src_configure
209 -}
210 -
211 -meson_use() {
212 - usex "$1" true false
213 -}
214 -
215 -meson_multilib() {
216 - if multilib_is_native_abi; then
217 - echo true
218 - else
219 - echo false
220 - fi
221 -}
222 -
223 -meson_multilib_native_use() {
224 - if multilib_is_native_abi && use "$1"; then
225 - echo true
226 - else
227 - echo false
228 - fi
229 -}
230 -
231 -multilib_src_configure() {
232 - local myconf=(
233 - --localstatedir="${EPREFIX}/var"
234 - -Dpamlibdir="$(getpam_mod_dir)"
235 - # avoid bash-completion dep
236 - -Dbashcompletiondir="$(get_bashcompdir)"
237 - # make sure we get /bin:/sbin in $PATH
238 - -Dsplit-usr=true
239 - -Drootprefix="${EPREFIX}${ROOTPREFIX}"
240 - -Dsysvinit-path=
241 - -Dsysvrcnd-path=
242 - # no deps
243 - -Defi=$(meson_multilib)
244 - -Dima=true
245 - # Optional components/dependencies
246 - -Dacl=$(meson_multilib_native_use acl)
247 - -Dapparmor=$(meson_multilib_native_use apparmor)
248 - -Daudit=$(meson_multilib_native_use audit)
249 - -Dlibcryptsetup=$(meson_multilib_native_use cryptsetup)
250 - -Dlibcurl=$(meson_multilib_native_use curl)
251 - -Delfutils=$(meson_multilib_native_use elfutils)
252 - -Dgcrypt=$(meson_use gcrypt)
253 - -Dgnu-efi=$(meson_multilib_native_use gnuefi)
254 - -Defi-libdir="/usr/$(get_libdir)"
255 - -Dmicrohttpd=$(meson_multilib_native_use http)
256 - $(usex http -Dgnutls=$(meson_multilib_native_use ssl) -Dgnutls=false)
257 - -Dimportd=$(meson_multilib_native_use importd)
258 - -Dbzip2=$(meson_multilib_native_use importd)
259 - -Dzlib=$(meson_multilib_native_use importd)
260 - -Dkmod=$(meson_multilib_native_use kmod)
261 - -Dlz4=$(meson_use lz4)
262 - -Dxz=$(meson_use lzma)
263 - -Dlibiptc=$(meson_multilib_native_use nat)
264 - -Dpam=$(meson_use pam)
265 - -Dpolkit=$(meson_multilib_native_use policykit)
266 - -Dqrencode=$(meson_multilib_native_use qrcode)
267 - -Dseccomp=$(meson_multilib_native_use seccomp)
268 - -Dselinux=$(meson_multilib_native_use selinux)
269 - #-Dtests=$(meson_multilib_native_use test)
270 - -Ddbus=$(meson_multilib_native_use test)
271 - -Dxkbcommon=$(meson_multilib_native_use xkb)
272 - # hardcode a few paths to spare some deps
273 - -Dpath-kill=/bin/kill
274 - -Dntp-servers="0.gentoo.pool.ntp.org 1.gentoo.pool.ntp.org 2.gentoo.pool.ntp.org 3.gentoo.pool.ntp.org"
275 - # Breaks screen, tmux, etc.
276 - -Ddefault-kill-user-processes=false
277 -
278 - # multilib options
279 - -Dbacklight=$(meson_multilib)
280 - -Dbinfmt=$(meson_multilib)
281 - -Dcoredump=$(meson_multilib)
282 - -Denvironment-d=$(meson_multilib)
283 - -Dfirstboot=$(meson_multilib)
284 - -Dhibernate=$(meson_multilib)
285 - -Dhostnamed=$(meson_multilib)
286 - -Dhwdb=$(meson_multilib)
287 - -Dldconfig=$(meson_multilib)
288 - -Dlocaled=$(meson_multilib)
289 - -Dman=$(meson_multilib)
290 - -Dnetworkd=$(meson_multilib)
291 - -Dquotacheck=$(meson_multilib)
292 - -Drandomseed=$(meson_multilib)
293 - -Drfkill=$(meson_multilib)
294 - -Dsysusers=$(meson_multilib)
295 - -Dtimedated=$(meson_multilib)
296 - -Dtimesyncd=$(meson_multilib)
297 - -Dtmpfiles=$(meson_multilib)
298 - -Dvconsole=$(meson_multilib)
299 - )
300 -
301 - if multilib_is_native_abi && use idn; then
302 - myconf+=(
303 - -Dlibidn2=$(usex libidn2 true false)
304 - -Dlibidn=$(usex libidn2 false true)
305 - )
306 - else
307 - myconf+=(
308 - -Dlibidn2=false
309 - -Dlibidn=false
310 - )
311 - fi
312 -
313 - meson_src_configure "${myconf[@]}"
314 -}
315 -
316 -multilib_src_compile() {
317 - eninja
318 -}
319 -
320 -multilib_src_test() {
321 - eninja test
322 -}
323 -
324 -multilib_src_install() {
325 - DESTDIR="${D}" eninja install
326 -}
327 -
328 -multilib_src_install_all() {
329 - # meson doesn't know about docdir
330 - mv "${ED%/}"/usr/share/doc/{systemd,${PF}} || die
331 -
332 - einstalldocs
333 - dodoc "${FILESDIR}"/nsswitch.conf
334 -
335 - if use sysv-utils; then
336 - for app in halt poweroff reboot runlevel shutdown telinit; do
337 - dosym "${EPREFIX}${ROOTPREFIX%/}/bin/systemctl" /sbin/${app}
338 - done
339 - dosym "${EPREFIX}${ROOTPREFIX%/}/lib/systemd/systemd" /sbin/init
340 - else
341 - # we just keep sysvinit tools, so no need for the mans
342 - rm "${ED%/}"/usr/share/man/man8/{halt,poweroff,reboot,runlevel,shutdown,telinit}.8 \
343 - || die
344 - rm "${ED%/}"/usr/share/man/man1/init.1 || die
345 - fi
346 -
347 - # Preserve empty dirs in /etc & /var, bug #437008
348 - keepdir /etc/binfmt.d /etc/modules-load.d /etc/tmpfiles.d \
349 - /etc/systemd/ntp-units.d /etc/systemd/user /var/lib/systemd \
350 - /var/log/journal/remote
351 -
352 - # Symlink /etc/sysctl.conf for easy migration.
353 - dosym ../sysctl.conf /etc/sysctl.d/99-sysctl.conf
354 -
355 - # If we install these symlinks, there is no way for the sysadmin to remove them
356 - # permanently.
357 - rm "${ED%/}"/etc/systemd/system/multi-user.target.wants/systemd-networkd.service || die
358 - rm -f "${ED%/}"/etc/systemd/system/multi-user.target.wants/systemd-resolved.service || die
359 - rm -r "${ED%/}"/etc/systemd/system/network-online.target.wants || die
360 - rm -r "${ED%/}"/etc/systemd/system/sockets.target.wants || die
361 - rm -r "${ED%/}"/etc/systemd/system/sysinit.target.wants || die
362 -
363 - rm -r "${ED%/}${ROOTPREFIX%/}/lib/udev/hwdb.d" || die
364 -
365 - if [[ ! -e "${ED%/}"/usr/lib/systemd/systemd ]]; then
366 - # Avoid breaking boot/reboot
367 - dosym "../../..${ROOTPREFIX%/}/lib/systemd/systemd" /usr/lib/systemd/systemd
368 - dosym "../../..${ROOTPREFIX%/}/lib/systemd/systemd-shutdown" /usr/lib/systemd/systemd-shutdown
369 - fi
370 -}
371 -
372 -migrate_locale() {
373 - local envd_locale_def="${EROOT%/}/etc/env.d/02locale"
374 - local envd_locale=( "${EROOT%/}"/etc/env.d/??locale )
375 - local locale_conf="${EROOT%/}/etc/locale.conf"
376 -
377 - if [[ ! -L ${locale_conf} && ! -e ${locale_conf} ]]; then
378 - # If locale.conf does not exist...
379 - if [[ -e ${envd_locale} ]]; then
380 - # ...either copy env.d/??locale if there's one
381 - ebegin "Moving ${envd_locale} to ${locale_conf}"
382 - mv "${envd_locale}" "${locale_conf}"
383 - eend ${?} || FAIL=1
384 - else
385 - # ...or create a dummy default
386 - ebegin "Creating ${locale_conf}"
387 - cat > "${locale_conf}" <<-EOF
388 - # This file has been created by the sys-apps/systemd ebuild.
389 - # See locale.conf(5) and localectl(1).
390 -
391 - # LANG=${LANG}
392 - EOF
393 - eend ${?} || FAIL=1
394 - fi
395 - fi
396 -
397 - if [[ ! -L ${envd_locale} ]]; then
398 - # now, if env.d/??locale is not a symlink (to locale.conf)...
399 - if [[ -e ${envd_locale} ]]; then
400 - # ...warn the user that he has duplicate locale settings
401 - ewarn
402 - ewarn "To ensure consistent behavior, you should replace ${envd_locale}"
403 - ewarn "with a symlink to ${locale_conf}. Please migrate your settings"
404 - ewarn "and create the symlink with the following command:"
405 - ewarn "ln -s -n -f ../locale.conf ${envd_locale}"
406 - ewarn
407 - else
408 - # ...or just create the symlink if there's nothing here
409 - ebegin "Creating ${envd_locale_def} -> ../locale.conf symlink"
410 - ln -n -s ../locale.conf "${envd_locale_def}"
411 - eend ${?} || FAIL=1
412 - fi
413 - fi
414 -}
415 -
416 -pkg_preinst() {
417 - # If /lib/systemd and /usr/lib/systemd are the same directory, remove the
418 - # symlinks we created in src_install.
419 - if [[ $(realpath "${EROOT%/}${ROOTPREFIX}/lib/systemd") == $(realpath "${EROOT%/}/usr/lib/systemd") ]]; then
420 - if [[ -L ${ED%/}/usr/lib/systemd/systemd ]]; then
421 - rm "${ED%/}/usr/lib/systemd/systemd" || die
422 - fi
423 - if [[ -L ${ED%/}/usr/lib/systemd/systemd-shutdown ]]; then
424 - rm "${ED%/}/usr/lib/systemd/systemd-shutdown" || die
425 - fi
426 - fi
427 -}
428 -
429 -pkg_postinst() {
430 - newusergroup() {
431 - enewgroup "$1"
432 - enewuser "$1" -1 -1 -1 "$1"
433 - }
434 -
435 - enewgroup input
436 - enewgroup kvm 78
437 - enewgroup systemd-journal
438 - newusergroup systemd-bus-proxy
439 - newusergroup systemd-coredump
440 - newusergroup systemd-journal-gateway
441 - newusergroup systemd-journal-remote
442 - newusergroup systemd-journal-upload
443 - newusergroup systemd-network
444 - newusergroup systemd-resolve
445 - newusergroup systemd-timesync
446 -
447 - systemd_update_catalog
448 -
449 - # Keep this here in case the database format changes so it gets updated
450 - # when required. Despite that this file is owned by sys-apps/hwids.
451 - if has_version "sys-apps/hwids[udev]"; then
452 - udevadm hwdb --update --root="${EROOT%/}"
453 - fi
454 -
455 - udev_reload || FAIL=1
456 -
457 - # Bug 465468, make sure locales are respect, and ensure consistency
458 - # between OpenRC & systemd
459 - migrate_locale
460 -
461 - systemd_reenable systemd-networkd.service systemd-resolved.service
462 -
463 - if [[ ${FAIL} ]]; then
464 - eerror "One of the postinst commands failed. Please check the postinst output"
465 - eerror "for errors. You may need to clean up your system and/or try installing"
466 - eerror "systemd again."
467 - eerror
468 - fi
469 -
470 - if [[ -e "${EROOT%/}"/usr/lib/systemd/system-generators ]]; then
471 - ewarn "Please rebuild any packages which install system generators."
472 - ewarn " emerge --oneshot --usepkg=n /usr/lib/systemd/system-generators"
473 - fi
474 -}
475 -
476 -pkg_prerm() {
477 - # If removing systemd completely, remove the catalog database.
478 - if [[ ! ${REPLACED_BY_VERSION} ]]; then
479 - rm -f -v "${EROOT}"/var/lib/systemd/catalog/database
480 - fi
481 -}