[systemd-devel] getty at .service.m4 and serial-getty at .service.m4
Kay Sievers
kay.sievers at vrfy.org
Thu Nov 11 02:22:41 PST 2010
On Thu, Nov 11, 2010 at 00:37, Lennart Poettering
<lennart at poettering.net> wrote:
> On Wed, 03.11.10 22:49, Andrew Edmunds (Andrew.Edmunds at yahoo.com.au) wrote:
>> A few points about these two source files.
>>
>> 1. getty at .service.m4 has:
>> > m4_ifdef(`TARGET_FEDORA', `m4_define(`GETTY', `/sbin/agetty 38400')')m4_dnl
>> > m4_ifdef(`TARGET_SUSE', `m4_define(`GETTY', `/sbin/agetty 38400')')m4_dnl
>> > m4_ifdef(`TARGET_DEBIAN', `m4_define(`GETTY', `/sbin/getty 38400')')m4_dnl
>> > m4_ifdef(`TARGET_UBUNTU', `m4_define(`GETTY', `/sbin/getty 38400')')m4_dnl
>> > m4_ifdef(`TARGET_GENTOO', `m4_define(`GETTY', `/sbin/agetty 38400')')m4_dnl
>> > m4_ifdef(`TARGET_ARCH', `m4_define(`GETTY', `/sbin/agetty -8 38400')')m4_dnl
>>
>> This code should be duplicated into serial-getty at .service.m4, or
>> pulled out into configure.ac so that it can be used by both units.
>> Currently serial-getty at .service tries to invoke /sbin/agetty on
>> Debian/Ubuntu, which doesn't exist.
>
> Fixed this now. Ideally Debian/Ubuntu would stop renaming agetty like
> this, or at least do it via symlink only. I'd love to get rid of the
> differences between the distros here.
Michael, any chance to check if it's possible to avoid the mangling of
common util-linux tool names, and get a symlink in Debian package?
After that we can drop the ifdef stuff here.
Thanks,
Kay
More information about the systemd-devel
mailing list