Bug#700597: Re: live-config-systemd: fails to install: post-installation script returned error exit status 1
Daniel Baumann wrote (15 Feb 2013 11:19:09 GMT) :
> On 02/15/2013 11:49 AM, Andreas Beckmann wrote:
>> It's the only package with such a requirement (i.e. host is running
>> systemd, just depending on systemd is fine) making it untestable by
>> piuparts :-(
> unavoidable with current systemd it seems.
I believe that checking for /sys/fs/cgroup/systemd existence is enough
to know if the system is currently running systemd. Is it an option to
wrap such a check around the "systemctl enable" call?
Digression: does this bug mean that the build system must itself be
running systemd in order to successfully build a Debian Live system
that uses systemd?
| GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
| OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc