Gentoo Archives: gentoo-dev

From: Alexandre Rostovtsev <tetromino@g.o>
To: gentoo-dev@l.g.o
Cc: systemd@g.o
Subject: Re: [gentoo-dev] [PATCH systemd.eclass] Introduce systemd_is_booted().
Date: Wed, 24 Jul 2013 14:33:42
Message-Id: 1374676416.7436.15.camel@rook
In Reply to: Re: [gentoo-dev] [PATCH systemd.eclass] Introduce systemd_is_booted(). by Ulrich Mueller
1 On Wed, 2013-07-24 at 16:17 +0200, Ulrich Mueller wrote:
2 > >>>>> On Wed, 24 Jul 2013, Michał Górny wrote:
3 >
4 > > Pacho requested that to be able to warn users in GNOME packages that
5 > > do not work anymore without systemd.
6 >
7 > Why is the host where the package is built required to run systemd?
8 > Wouldn't a warning at runtime better suit the purpose?
9
10 The purpose of systemd_is_booted() is to provide helpful postinst
11 messages to users depending on whether or not they are running systemd,
12 and for the vast majority of users, the machine where the package is
13 built is the machine where the package will be run.
14
15 Runtime warnings would require non-trivial patching of the packages in
16 question, so it's not a realistic alternative.
17
18 Those who have separate build hosts are probably sufficiently
19 technically proficient to understand if the message does not apply to
20 their case.

Replies