Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] gentoo-systemd-only deprecation
Date: Thu, 01 Aug 2013 10:24:32
Message-Id: 20130801102417.GB29423@waltdnes.org
In Reply to: Re: [gentoo-user] gentoo-systemd-only deprecation by Yohan Pereira
1 On Wed, Jul 31, 2013 at 06:11:02PM +0530, Yohan Pereira wrote
2 > On 31/07/13 at 08:30am, Tanstaafl wrote:
3 > > So, how should this be used to 'opt out of systemd completely'?
4 >
5 > from main make.conf
6 > "Use this variable if you want to selectively prevent certain
7 > files from being copied into your file system tree. .."
8 >
9 > You can use it to prevent ebuilds from installing unit files
10 > or open-rc scripts from doing so (based on what you want to opt-out of).
11
12 From the man page...
13 > INSTALL_MASK = [space delimited list of file names]
14
15 I do not want to input umpteen files names, or even extensions. The
16 man page says nothing about masking out directories. Here's what I had
17 on my system a few minutes ago before executing
18 "rm -rf /usr/lib/systemd/"
19
20 [i660][waltdnes][/usr/lib] ll -ogR /usr/lib/systemd
21 /usr/lib/systemd:
22 total 56
23 drwxr-xr-x 3 4096 May 12 20:42 .
24 drwxr-xr-x 53 45056 Jul 28 03:18 ..
25 drwxr-xr-x 4 4096 Jun 14 02:45 system
26
27 /usr/lib/systemd/system:
28 total 44
29 drwxr-xr-x 4 4096 Jun 14 02:45 .
30 drwxr-xr-x 3 4096 May 12 20:42 ..
31 -rw-r--r-- 1 155 Jun 14 02:45 acpid.service
32 -rw-r--r-- 1 119 Jun 14 02:45 acpid.socket
33 -rw-r--r-- 1 220 Jun 14 02:45 alsa-restore.service
34 -rw-r--r-- 1 168 Jun 14 02:45 alsa-store.service
35 drwxr-xr-x 2 4096 Jun 14 02:45 basic.target.wants
36 drwxr-xr-x 2 4096 Jun 14 02:45 shutdown.target.wants
37 -rw-r--r-- 1 242 May 12 19:27 sshd.service
38 -rw-r--r-- 1 136 May 12 19:27 sshd.socket
39 -rw-r--r-- 1 176 May 12 19:27 sshd@.service
40
41 /usr/lib/systemd/system/basic.target.wants:
42 total 8
43 drwxr-xr-x 2 4096 Jun 14 02:45 .
44 drwxr-xr-x 4 4096 Jun 14 02:45 ..
45 lrwxrwxrwx 1 23 Jun 14 02:45 alsa-restore.service -> ../alsa-restore.service
46
47 /usr/lib/systemd/system/shutdown.target.wants:
48 total 8
49 drwxr-xr-x 2 4096 Jun 14 02:45 .
50 drwxr-xr-x 4 4096 Jun 14 02:45 ..
51 lrwxrwxrwx 1 21 Jun 14 02:45 alsa-store.service -> ../alsa-store.service
52
53 Maybe I should simply make a wrapper script that throws in...
54 "rm -rf /usr/lib/systemd/" at the end of an emerge.
55
56 --
57 Walter Dnes <waltdnes@××××××××.org>
58 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] gentoo-systemd-only deprecation Neil Bothwick <neil@××××××××××.uk>