[arch-releng] [PATCH 2/5] [configs/releng] Enable systemd services

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Wed Sep 12 19:02:44 EDT 2012


On 09/12/2012 07:15 PM, Gerardo Exequiel Pozzi wrote:
> On 09/12/2012 05:57 PM, Thomas Bächler wrote:
>> Am 12.09.2012 21:03, schrieb Gerardo Exequiel Pozzi:
>>>> Am 12.09.2012 17:32, schrieb Gerardo Exequiel Pozzi:
>>>>>> This should go to /etc directly.
>>>>> Nope, I want to maintain few files as posible.
>>>> This is not a system file from a package, but a site-specific file 
>>>> - it
>>>> belongs to /etc/systemd/system/.
>>>>
>>>>
>>> Sorry, I do not understand what are trying to say here.
>>>
>>> I do not want to maintain a whole copy of a file with modification 
>>> if I can keep with a simple serach/replace from original file.
>> You put the file to /usr/lib/systemd/system, while it should be in
>> /etc/systemd/system.
> Nope. See it again:
>
> + ${work_dir}/root-image/usr/lib/systemd/system/getty at .service > 
> ${work_dir}/root-image/etc/systemd/system/autologin at .service

maybe you are confused with pacman-init.service, I will move it to /etc. 
(also tmpfiles.d)
>>
>>>>>> Do you actually want to autologin on all TTYs? Won't there be a 
>>>>>> conflict
>>>>>> between autologin and getty?
>>>>> Only on tty1 is enabled (see Install section, there is and Alias to
>>>>> tty1). Sure I can add @tty1 but is reduntant like for dhcpcd 
>>>>> adding eth0
>>>>> on enable command. (different case is when start command is used)
>>>> I see now - but don't autologin at tty1 and getty at tty1 conflict?
>>>>
>>>>
>>> Nope, -f is used, so currently getty at tty1 symlink is removed.
>> Oh, I see now - it uses the same alias as getty at .service. I 
>> overlooked that.
>>
>>
> exactly!
>


-- 
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1



More information about the arch-releng mailing list