On 26.11.2012 19:10, David Paleino wrote:
> On Mon, 26 Nov 2012 18:34:27 +0100, Michael Biebl wrote:

>> Until we ship the necessary helper tool, systemd units need to be
>> enabled manually via systemctl enable <foo.service>
> 
> Am I supposed to run that in postinst/prerm (disable)? Or should I just
> document it in README.Debian? Or is it common knowledge among systemd users?

For the time being, I wouldn't advise adding those calls manually to the
maintainer scripts. Since systemctl is not guaranteed to be around, you
would either have to add a hard dependency on systemd or make the
systemctl calls conditional. Neither of those options is ideal.

Adding this to README.Debian certainly doesn't hurt.
Once we have the necessary support in debhelper etc. (which should land
as in jessie), you can drop that note again.

>> David, as for this particular case, when you ship a sysv init script,
>> please consider naming it after the native systemd service file (i.e
>> bootchart-done).

Thanks.

Btw, having initramfs integration as Steve pointed out, would be really
nice.
On my system loading the kernel and the initramfs already takes longer
then booting the userspace. So having a chart of the initramfs would be
really helpful.

Cheers,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to