Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/systemd: systemd-9999.ebuild ChangeLog
Date: Tue, 26 Mar 2013 17:20:02
Message-Id: 20130326171957.EAA022171D@flycatcher.gentoo.org
1 mgorny 13/03/26 17:19:57
2
3 Modified: systemd-9999.ebuild ChangeLog
4 Log:
5 Warn users who use compatibility symlinks for init=.
6
7 (Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!)
8
9 Revision Changes Path
10 1.29 sys-apps/systemd/systemd-9999.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/systemd-9999.ebuild?rev=1.29&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/systemd-9999.ebuild?rev=1.29&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/systemd-9999.ebuild?r1=1.28&r2=1.29
15
16 Index: systemd-9999.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-9999.ebuild,v
19 retrieving revision 1.28
20 retrieving revision 1.29
21 diff -u -r1.28 -r1.29
22 --- systemd-9999.ebuild 26 Mar 2013 16:35:45 -0000 1.28
23 +++ systemd-9999.ebuild 26 Mar 2013 17:19:57 -0000 1.29
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2013 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-9999.ebuild,v 1.28 2013/03/26 16:35:45 mgorny Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-9999.ebuild,v 1.29 2013/03/26 17:19:57 mgorny Exp $
29
30 EAPI=5
31
32 @@ -242,6 +242,19 @@
33 elog "be installed:"
34 optfeature 'for GTK+ systemadm UI and gnome-ask-password-agent' \
35 'sys-apps/systemd-ui'
36 +
37 + # read null-terminated argv[0] from PID 1
38 + # and see which path to systemd was used (if any)
39 + local init_path
40 + IFS= read -r -d '' init_path < /proc/1/cmdline
41 + if [[ ${init_path} == */bin/systemd ]]; then
42 + ewarn
43 + ewarn "You are using a compatibility symlink to run systemd. The symlink"
44 + ewarn "will be removed in near future. Please update your bootloader"
45 + ewarn "to use:"
46 + ewarn
47 + ewarn " init=/usr/lib/systemd/systemd"
48 + fi
49 }
50
51 pkg_prerm() {
52
53
54
55 1.98 sys-apps/systemd/ChangeLog
56
57 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/ChangeLog?rev=1.98&view=markup
58 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/ChangeLog?rev=1.98&content-type=text/plain
59 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/ChangeLog?r1=1.97&r2=1.98
60
61 Index: ChangeLog
62 ===================================================================
63 RCS file: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v
64 retrieving revision 1.97
65 retrieving revision 1.98
66 diff -u -r1.97 -r1.98
67 --- ChangeLog 26 Mar 2013 16:35:45 -0000 1.97
68 +++ ChangeLog 26 Mar 2013 17:19:57 -0000 1.98
69 @@ -1,6 +1,9 @@
70 # ChangeLog for sys-apps/systemd
71 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
72 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.97 2013/03/26 16:35:45 mgorny Exp $
73 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.98 2013/03/26 17:19:57 mgorny Exp $
74 +
75 + 26 Mar 2013; Michał Górny <mgorny@g.o> systemd-9999.ebuild:
76 + Warn users who use compatibility symlinks for init=.
77
78 26 Mar 2013; Michał Górny <mgorny@g.o> systemd-9999.ebuild:
79 Depend on baselayout to handle /run. Remove old warnings.