1 |
mgorny 14/02/25 15:07:13 |
2 |
|
3 |
Modified: systemd-9999.ebuild ChangeLog |
4 |
Added: systemd-210.ebuild |
5 |
Log: |
6 |
Version bump, bug #501860. |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.93 sys-apps/systemd/systemd-9999.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/systemd-9999.ebuild?rev=1.93&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/systemd-9999.ebuild?rev=1.93&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/systemd-9999.ebuild?r1=1.92&r2=1.93 |
16 |
|
17 |
Index: systemd-9999.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-9999.ebuild,v |
20 |
retrieving revision 1.92 |
21 |
retrieving revision 1.93 |
22 |
diff -u -r1.92 -r1.93 |
23 |
--- systemd-9999.ebuild 25 Feb 2014 14:40:21 -0000 1.92 |
24 |
+++ systemd-9999.ebuild 25 Feb 2014 15:07:13 -0000 1.93 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2014 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-9999.ebuild,v 1.92 2014/02/25 14:40:21 mgorny Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-9999.ebuild,v 1.93 2014/02/25 15:07:13 mgorny Exp $ |
30 |
|
31 |
EAPI=5 |
32 |
|
33 |
@@ -24,7 +24,7 @@ |
34 |
|
35 |
LICENSE="GPL-2 LGPL-2.1 MIT public-domain" |
36 |
SLOT="0/2" |
37 |
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
38 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
39 |
IUSE="acl audit cryptsetup doc +firmware-loader gcrypt gudev http introspection |
40 |
kdbus +kmod lzma pam policykit python qrcode +seccomp selinux tcpd |
41 |
test vanilla xattr" |
42 |
|
43 |
|
44 |
|
45 |
1.228 sys-apps/systemd/ChangeLog |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/ChangeLog?rev=1.228&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/ChangeLog?rev=1.228&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/ChangeLog?r1=1.227&r2=1.228 |
50 |
|
51 |
Index: ChangeLog |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v |
54 |
retrieving revision 1.227 |
55 |
retrieving revision 1.228 |
56 |
diff -u -r1.227 -r1.228 |
57 |
--- ChangeLog 25 Feb 2014 14:40:21 -0000 1.227 |
58 |
+++ ChangeLog 25 Feb 2014 15:07:13 -0000 1.228 |
59 |
@@ -1,6 +1,12 @@ |
60 |
# ChangeLog for sys-apps/systemd |
61 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
62 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.227 2014/02/25 14:40:21 mgorny Exp $ |
63 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.228 2014/02/25 15:07:13 mgorny Exp $ |
64 |
+ |
65 |
+*systemd-210 (25 Feb 2014) |
66 |
+ |
67 |
+ 25 Feb 2014; Michał Górny <mgorny@g.o> +systemd-210.ebuild, |
68 |
+ systemd-9999.ebuild: |
69 |
+ Version bump, bug #501860. |
70 |
|
71 |
25 Feb 2014; Michał Górny <mgorny@g.o> systemd-9999.ebuild: |
72 |
Install compat pkg-config files only, and not compat libs. Bump subslot |
73 |
|
74 |
|
75 |
|
76 |
1.1 sys-apps/systemd/systemd-210.ebuild |
77 |
|
78 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/systemd-210.ebuild?rev=1.1&view=markup |
79 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/systemd-210.ebuild?rev=1.1&content-type=text/plain |
80 |
|
81 |
Index: systemd-210.ebuild |
82 |
=================================================================== |
83 |
# Copyright 1999-2014 Gentoo Foundation |
84 |
# Distributed under the terms of the GNU General Public License v2 |
85 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-210.ebuild,v 1.1 2014/02/25 15:07:13 mgorny Exp $ |
86 |
|
87 |
EAPI=5 |
88 |
|
89 |
AUTOTOOLS_PRUNE_LIBTOOL_FILES=all |
90 |
PYTHON_COMPAT=( python{2_7,3_2,3_3} ) |
91 |
inherit autotools-utils bash-completion-r1 fcaps linux-info multilib \ |
92 |
multilib-minimal pam python-single-r1 systemd toolchain-funcs udev \ |
93 |
user |
94 |
|
95 |
DESCRIPTION="System and service manager for Linux" |
96 |
HOMEPAGE="http://www.freedesktop.org/wiki/Software/systemd" |
97 |
SRC_URI="http://www.freedesktop.org/software/systemd/${P}.tar.xz" |
98 |
|
99 |
LICENSE="GPL-2 LGPL-2.1 MIT public-domain" |
100 |
SLOT="0/2" |
101 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
102 |
IUSE="acl audit cryptsetup doc +firmware-loader gcrypt gudev http introspection |
103 |
kdbus +kmod lzma pam policykit python qrcode +seccomp selinux tcpd |
104 |
test vanilla xattr" |
105 |
|
106 |
MINKV="3.0" |
107 |
|
108 |
COMMON_DEPEND=">=sys-apps/util-linux-2.20:0= |
109 |
sys-libs/libcap:0= |
110 |
acl? ( sys-apps/acl:0= ) |
111 |
audit? ( >=sys-process/audit-2:0= ) |
112 |
cryptsetup? ( >=sys-fs/cryptsetup-1.6:0= ) |
113 |
gcrypt? ( >=dev-libs/libgcrypt-1.4.5:0= ) |
114 |
gudev? ( dev-libs/glib:2=[${MULTILIB_USEDEP}] ) |
115 |
http? ( net-libs/libmicrohttpd:0= ) |
116 |
introspection? ( >=dev-libs/gobject-introspection-1.31.1:0= ) |
117 |
kmod? ( >=sys-apps/kmod-15:0= ) |
118 |
lzma? ( app-arch/xz-utils:0=[${MULTILIB_USEDEP}] ) |
119 |
pam? ( virtual/pam:= ) |
120 |
python? ( |
121 |
${PYTHON_DEPS} |
122 |
dev-python/lxml[${PYTHON_USEDEP}] |
123 |
) |
124 |
qrcode? ( media-gfx/qrencode:0= ) |
125 |
seccomp? ( sys-libs/libseccomp:0= ) |
126 |
selinux? ( sys-libs/libselinux:0= ) |
127 |
tcpd? ( sys-apps/tcp-wrappers:0= ) |
128 |
xattr? ( sys-apps/attr:0= ) |
129 |
abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r9 |
130 |
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )" |
131 |
|
132 |
# baselayout-2.2 has /run |
133 |
RDEPEND="${COMMON_DEPEND} |
134 |
>=sys-apps/baselayout-2.2 |
135 |
|| ( |
136 |
>=sys-apps/util-linux-2.22 |
137 |
<sys-apps/sysvinit-2.88-r4 |
138 |
) |
139 |
!sys-auth/nss-myhostname |
140 |
!<sys-libs/glibc-2.14 |
141 |
!sys-fs/udev" |
142 |
|
143 |
# sys-apps/daemon: the daemon only (+ build-time lib dep for tests) |
144 |
PDEPEND=">=sys-apps/dbus-1.6.8-r1:0 |
145 |
>=sys-apps/hwids-20130717-r1[udev] |
146 |
>=sys-fs/udev-init-scripts-25 |
147 |
policykit? ( sys-auth/polkit ) |
148 |
!vanilla? ( sys-apps/gentoo-systemd-integration )" |
149 |
|
150 |
# Newer linux-headers needed by ia64, bug #480218 |
151 |
DEPEND="${COMMON_DEPEND} |
152 |
app-arch/xz-utils:0 |
153 |
dev-util/gperf |
154 |
>=dev-util/intltool-0.50 |
155 |
>=sys-devel/binutils-2.23.1 |
156 |
>=sys-devel/gcc-4.6 |
157 |
>=sys-kernel/linux-headers-${MINKV} |
158 |
ia64? ( >=sys-kernel/linux-headers-3.9 ) |
159 |
virtual/pkgconfig |
160 |
doc? ( >=dev-util/gtk-doc-1.18 ) |
161 |
test? ( >=sys-apps/dbus-1.6.8-r1:0 )" |
162 |
|
163 |
src_prepare() { |
164 |
if use doc; then |
165 |
gtkdocize --docdir docs/ || die |
166 |
else |
167 |
echo 'EXTRA_DIST =' > docs/gtk-doc.make |
168 |
fi |
169 |
|
170 |
# Bug 463376 |
171 |
sed -i -e 's/GROUP="dialout"/GROUP="uucp"/' rules/*.rules || die |
172 |
|
173 |
autotools-utils_src_prepare |
174 |
} |
175 |
|
176 |
pkg_pretend() { |
177 |
local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS ~DEVTMPFS ~DMIID |
178 |
~EPOLL ~FANOTIFY ~FHANDLE ~INOTIFY_USER ~IPV6 ~NET ~PROC_FS |
179 |
~SECCOMP ~SIGNALFD ~SYSFS ~TIMERFD |
180 |
~!IDE ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2 |
181 |
~!GRKERNSEC_PROC" |
182 |
|
183 |
use acl && CONFIG_CHECK+=" ~TMPFS_POSIX_ACL" |
184 |
use pam && CONFIG_CHECK+=" ~AUDITSYSCALL" |
185 |
use xattr && CONFIG_CHECK+=" ~TMPFS_XATTR" |
186 |
kernel_is -lt 3 7 && CONFIG_CHECK+=" ~HOTPLUG" |
187 |
use firmware-loader || CONFIG_CHECK+=" ~!FW_LOADER_USER_HELPER" |
188 |
|
189 |
if linux_config_exists; then |
190 |
local uevent_helper_path=$(linux_chkconfig_string UEVENT_HELPER_PATH) |
191 |
if [ -n "${uevent_helper_path}" ] && [ "${uevent_helper_path}" != '""' ]; then |
192 |
ewarn "It's recommended to set an empty value to the following kernel config option:" |
193 |
ewarn "CONFIG_UEVENT_HELPER_PATH=${uevent_helper_path}" |
194 |
fi |
195 |
fi |
196 |
|
197 |
if [[ ${MERGE_TYPE} != binary ]]; then |
198 |
if [[ $(gcc-major-version) -lt 4 |
199 |
|| ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ) ]] |
200 |
then |
201 |
eerror "systemd requires at least gcc 4.6 to build. Please switch the active" |
202 |
eerror "gcc version using gcc-config." |
203 |
die "systemd requires at least gcc 4.6" |
204 |
fi |
205 |
fi |
206 |
|
207 |
if [[ ${MERGE_TYPE} != buildonly ]]; then |
208 |
if kernel_is -lt ${MINKV//./ }; then |
209 |
ewarn "Kernel version at least ${MINKV} required" |
210 |
fi |
211 |
|
212 |
if ! use firmware-loader && kernel_is -lt 3 8; then |
213 |
ewarn "You seem to be using kernel older than 3.8. Those kernel versions" |
214 |
ewarn "require systemd with USE=firmware-loader to support loading" |
215 |
ewarn "firmware. Missing this flag may cause some hardware not to work." |
216 |
fi |
217 |
|
218 |
check_extra_config |
219 |
fi |
220 |
} |
221 |
|
222 |
pkg_setup() { |
223 |
use python && python-single-r1_pkg_setup |
224 |
} |
225 |
|
226 |
multilib_src_configure() { |
227 |
local myeconfargs=( |
228 |
--disable-maintainer-mode |
229 |
--localstatedir=/var |
230 |
--with-pamlibdir=$(getpam_mod_dir) |
231 |
# avoid bash-completion dep |
232 |
--with-bashcompletiondir="$(get_bashcompdir)" |
233 |
# make sure we get /bin:/sbin in $PATH |
234 |
--enable-split-usr |
235 |
# disable sysv compatibility |
236 |
--with-sysvinit-path= |
237 |
--with-sysvrcnd-path= |
238 |
# no deps |
239 |
--enable-efi |
240 |
--enable-ima |
241 |
# optional components/dependencies |
242 |
$(use_enable acl) |
243 |
$(use_enable audit) |
244 |
$(use_enable cryptsetup libcryptsetup) |
245 |
$(use_enable doc gtk-doc) |
246 |
$(use_enable gcrypt) |
247 |
$(use_enable gudev) |
248 |
$(use_enable http microhttpd) |
249 |
$(use_enable introspection) |
250 |
$(use_enable kdbus) |
251 |
$(use_enable kmod) |
252 |
$(use_enable lzma xz) |
253 |
$(use_enable pam) |
254 |
$(use_enable policykit polkit) |
255 |
$(use_with python) |
256 |
$(use_enable python python-devel) |
257 |
$(use_enable qrcode qrencode) |
258 |
$(use_enable seccomp) |
259 |
$(use_enable selinux) |
260 |
$(use_enable tcpd tcpwrap) |
261 |
$(use_enable test tests) |
262 |
$(use_enable xattr) |
263 |
|
264 |
# not supported (avoid automagic deps in the future) |
265 |
--disable-chkconfig |
266 |
|
267 |
# hardcode a few paths to spare some deps |
268 |
QUOTAON=/usr/sbin/quotaon |
269 |
QUOTACHECK=/usr/sbin/quotacheck |
270 |
) |
271 |
|
272 |
# Keep using the one where the rules were installed. |
273 |
MY_UDEVDIR=$(get_udevdir) |
274 |
|
275 |
if use firmware-loader; then |
276 |
myeconfargs+=( |
277 |
--with-firmware-path="/lib/firmware/updates:/lib/firmware" |
278 |
) |
279 |
fi |
280 |
|
281 |
if ! multilib_is_native_abi; then |
282 |
myeconfargs+=( |
283 |
ac_cv_search_cap_init= |
284 |
ac_cv_header_sys_capability_h=yes |
285 |
DBUS_CFLAGS=' ' |
286 |
DBUS_LIBS=' ' |
287 |
|
288 |
--disable-acl |
289 |
--disable-audit |
290 |
--disable-gcrypt |
291 |
--disable-gtk-doc |
292 |
--disable-introspection |
293 |
--disable-kmod |
294 |
--disable-libcryptsetup |
295 |
--disable-microhttpd |
296 |
--disable-networkd |
297 |
--disable-pam |
298 |
--disable-polkit |
299 |
--disable-qrencode |
300 |
--disable-seccomp |
301 |
--disable-selinux |
302 |
--disable-tcpwrap |
303 |
--disable-tests |
304 |
--disable-xattr |
305 |
--disable-xz |
306 |
--disable-python-devel |
307 |
) |
308 |
fi |
309 |
|
310 |
# Work around bug 463846. |
311 |
tc-export CC |
312 |
|
313 |
autotools-utils_src_configure |
314 |
} |
315 |
|
316 |
multilib_src_compile() { |
317 |
local mymakeopts=( |
318 |
udevlibexecdir="${MY_UDEVDIR}" |
319 |
) |
320 |
|
321 |
if multilib_is_native_abi; then |
322 |
emake "${mymakeopts[@]}" |
323 |
else |
324 |
# prerequisites for gudev |
325 |
use gudev && emake src/gudev/gudev{enumtypes,marshal}.{c,h} |
326 |
|
327 |
echo 'gentoo: $(BUILT_SOURCES)' | \ |
328 |
emake "${mymakeopts[@]}" -f Makefile -f - gentoo |
329 |
echo 'gentoo: $(lib_LTLIBRARIES) $(pkgconfiglib_DATA)' | \ |
330 |
emake "${mymakeopts[@]}" -f Makefile -f - gentoo |
331 |
fi |
332 |
} |
333 |
|
334 |
multilib_src_test() { |
335 |
multilib_is_native_abi || continue |
336 |
|
337 |
default |
338 |
} |
339 |
|
340 |
multilib_src_install() { |
341 |
local mymakeopts=( |
342 |
# automake fails with parallel libtool relinking |
343 |
# https://bugs.gentoo.org/show_bug.cgi?id=491398 |
344 |
-j1 |
345 |
|
346 |
udevlibexecdir="${MY_UDEVDIR}" |
347 |
dist_udevhwdb_DATA= |
348 |
DESTDIR="${D}" |
349 |
) |
350 |
|
351 |
if multilib_is_native_abi; then |
352 |
emake "${mymakeopts[@]}" install |
353 |
# Even with --enable-networkd, it's not right to have this running by default |
354 |
# when it's unconfigured. |
355 |
rm -f "${D}"/etc/systemd/system/multi-user.target.wants/systemd-networkd.service |
356 |
|
357 |
# install compat pkg-config files |
358 |
local pcfiles=( src/compat-libs/libsystemd-{daemon,id128,journal,login}.pc ) |
359 |
emake "${mymakeopts[@]}" install-pkgconfiglibDATA \ |
360 |
pkgconfiglib_DATA="${pcfiles[*]}" |
361 |
else |
362 |
mymakeopts+=( |
363 |
install-libLTLIBRARIES |
364 |
install-pkgconfiglibDATA |
365 |
install-includeHEADERS |
366 |
# safe to call unconditionally, 'installs' empty list |
367 |
install-libgudev_includeHEADERS |
368 |
install-pkgincludeHEADERS |
369 |
) |
370 |
|
371 |
emake "${mymakeopts[@]}" |
372 |
fi |
373 |
} |
374 |
|
375 |
multilib_src_install_all() { |
376 |
prune_libtool_files --modules |
377 |
einstalldocs |
378 |
|
379 |
# we just keep sysvinit tools, so no need for the mans |
380 |
rm "${D}"/usr/share/man/man8/{halt,poweroff,reboot,runlevel,shutdown,telinit}.8 \ |
381 |
|| die |
382 |
rm "${D}"/usr/share/man/man1/init.1 || die |
383 |
|
384 |
# Disable storing coredumps in journald, bug #433457 |
385 |
mv "${D}"/usr/lib/sysctl.d/50-coredump.conf{,.disabled} || die |
386 |
|
387 |
# Preserve empty dirs in /etc & /var, bug #437008 |
388 |
keepdir /etc/binfmt.d /etc/modules-load.d /etc/tmpfiles.d \ |
389 |
/etc/systemd/ntp-units.d /etc/systemd/user /var/lib/systemd |
390 |
|
391 |
# Symlink /etc/sysctl.conf for easy migration. |
392 |
dosym ../sysctl.conf /etc/sysctl.d/99-sysctl.conf |
393 |
} |
394 |
|
395 |
migrate_locale() { |
396 |
local envd_locale_def="${EROOT%/}/etc/env.d/02locale" |
397 |
local envd_locale=( "${EROOT%/}"/etc/env.d/??locale ) |
398 |
local locale_conf="${EROOT%/}/etc/locale.conf" |
399 |
|
400 |
if [[ ! -L ${locale_conf} && ! -e ${locale_conf} ]]; then |
401 |
# If locale.conf does not exist... |
402 |
if [[ -e ${envd_locale} ]]; then |
403 |
# ...either copy env.d/??locale if there's one |
404 |
ebegin "Moving ${envd_locale} to ${locale_conf}" |
405 |
mv "${envd_locale}" "${locale_conf}" |
406 |
eend ${?} || FAIL=1 |
407 |
else |
408 |
# ...or create a dummy default |
409 |
ebegin "Creating ${locale_conf}" |
410 |
cat > "${locale_conf}" <<-EOF |
411 |
# This file has been created by the sys-apps/systemd ebuild. |
412 |
# See locale.conf(5) and localectl(1). |
413 |
|
414 |
# LANG=${LANG} |
415 |
EOF |
416 |
eend ${?} || FAIL=1 |
417 |
fi |
418 |
fi |
419 |
|
420 |
if [[ ! -L ${envd_locale} ]]; then |
421 |
# now, if env.d/??locale is not a symlink (to locale.conf)... |
422 |
if [[ -e ${envd_locale} ]]; then |
423 |
# ...warn the user that he has duplicate locale settings |
424 |
ewarn |
425 |
ewarn "To ensure consistent behavior, you should replace ${envd_locale}" |
426 |
ewarn "with a symlink to ${locale_conf}. Please migrate your settings" |
427 |
ewarn "and create the symlink with the following command:" |
428 |
ewarn "ln -s -n -f ../locale.conf ${envd_locale}" |
429 |
ewarn |
430 |
else |
431 |
# ...or just create the symlink if there's nothing here |
432 |
ebegin "Creating ${envd_locale_def} -> ../locale.conf symlink" |
433 |
ln -n -s ../locale.conf "${envd_locale_def}" |
434 |
eend ${?} || FAIL=1 |
435 |
fi |
436 |
fi |
437 |
} |
438 |
|
439 |
pkg_postinst() { |
440 |
enewgroup systemd-journal |
441 |
if use http; then |
442 |
enewgroup systemd-journal-gateway |
443 |
enewuser systemd-journal-gateway -1 -1 -1 systemd-journal-gateway |
444 |
fi |
445 |
systemd_update_catalog |
446 |
|
447 |
# Keep this here in case the database format changes so it gets updated |
448 |
# when required. Despite that this file is owned by sys-apps/hwids. |
449 |
if has_version "sys-apps/hwids[udev]"; then |
450 |
udevadm hwdb --update --root="${ROOT%/}" |
451 |
fi |
452 |
|
453 |
udev_reload || FAIL=1 |
454 |
|
455 |
# Bug 468876 |
456 |
fcaps cap_dac_override,cap_sys_ptrace=ep usr/bin/systemd-detect-virt |
457 |
|
458 |
# Bug 465468, make sure locales are respect, and ensure consistency |
459 |
# between OpenRC & systemd |
460 |
migrate_locale |
461 |
|
462 |
if [[ ${FAIL} ]]; then |
463 |
eerror "One of the postinst commands failed. Please check the postinst output" |
464 |
eerror "for errors. You may need to clean up your system and/or try installing" |
465 |
eerror "systemd again." |
466 |
eerror |
467 |
fi |
468 |
|
469 |
if [[ ! -L "${ROOT}"/etc/mtab ]]; then |
470 |
ewarn "Upstream mandates the /etc/mtab file should be a symlink to /proc/mounts." |
471 |
ewarn "Not having it is not supported by upstream and will cause tools like 'df'" |
472 |
ewarn "and 'mount' to not work properly. Please run:" |
473 |
ewarn " # ln -sf '${ROOT}proc/self/mounts' '${ROOT}etc/mtab'" |
474 |
ewarn |
475 |
fi |
476 |
|
477 |
if ! has_version sys-apps/systemd-ui; then |
478 |
elog "To get additional features, a number of optional runtime dependencies may" |
479 |
elog "be installed:" |
480 |
elog "- sys-apps/systemd-ui: for GTK+ systemadm UI and gnome-ask-password-agent" |
481 |
fi |
482 |
} |
483 |
|
484 |
pkg_prerm() { |
485 |
# If removing systemd completely, remove the catalog database. |
486 |
if [[ ! ${REPLACED_BY_VERSION} ]]; then |
487 |
rm -f -v "${EROOT}"/var/lib/systemd/catalog/database |
488 |
fi |
489 |
} |