On Fri, Jul 1, 2011 at 10:11 AM, Koen Kooi <[email protected]> wrote:
>
> Op 1 jul 2011, om 18:19 heeft Chris Ferron het volgende geschreven:
>
>> MeeGo will use several consoles depending on the hardware adaptations.
>> This patch adds the most common to the serial-getty unit Install section so 
>> when systemd is built for MeeGo as its distribution, you get the most common 
>> Aliased for installation by the user.
>>
>>
>>
>> From c50559ea74069061401c8a218d73d515d7b9cd09 Mon Sep 17 00:00:00 2001
>> From: Chris Ferron <[email protected]>
>> Date: Fri, 1 Jul 2011 08:54:37 -0700
>> Subject: [PATCH] Add the most common consoles that MeeGo as a distribution
>>  will need.
>>
>> ---
>>  units/[email protected] |    9 +++++++++
>>  1 files changed, 9 insertions(+), 0 deletions(-)
>>
>> diff --git a/units/[email protected] b/units/[email protected]
>> index 082290c..aea47be 100644
>> --- a/units/[email protected]
>> +++ b/units/[email protected]
>> @@ -9,6 +9,9 @@
>>  Description=Serial Getty on %I
>>  BindTo=dev-%i.device
>>  After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
>> +m4_ifdef(`TARGET_MEEGO',
>> +After=dev-%i.device systemd-user-sessions.service
>> +)m4_dnl
>>  m4_ifdef(`TARGET_FEDORA',
>>  After=rc-local.service
>>  )m4_dnl
>> @@ -44,3 +47,9 @@ KillMode=process
>>  # Some login implementations ignore SIGTERM, so we send SIGHUP
>>  # instead, to ensure that login terminates cleanly.
>>  KillSignal=SIGHUP
>> +
>> +m4_ifdef(`TARGET_MEEGO',
>> +[Install]
>> +Alias=sysinit.target.wants/[email protected] 
>> sysinit.target.wants/[email protected] 
>> sysinit.target.wants/[email protected] 
>> sysinit.target.wants/[email protected]
>> +)m4_dnl
>
> An a lot of OMAP systems ttyO1 is hooked up to the bluetooth UART, so I don't 
> know how usefull running a getty on that is.

Note that just adding the Alias doesn't actually make a serial console
spawn on ttyO1 in the first place. The alias is there because on some
devices, ttyO1 *is* the serial console, and this is just a reference.

Auke
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to