[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#759657: console-setup w/ systemd forgets font setting



Am 16.12.2015 um 15:28 schrieb Anton Zinoviev:
> On Wed, Dec 16, 2015 at 03:21:22PM +0100, Michael Biebl wrote:

>> I don't see why this check would make it init system dependend or
>> dependend on Debian specifics.
> 
> I was talking about the following check: whether initrd has configured 
> the console yet or not.  I haven't figured out how exactly to 
> communicate this information from the initrd to the main init scripts, 
> but however I implement it, I suppose this will be Debian-specific.

/run is guaranteed to be transitioned over from the initramfs to the
running system. So you could just write a flag file to /run and check
for that.
The other guarantee you get from /run is that it is cleaned on reboot
(it's a tmpfs after all).
So it should have all the semantics you need.

-- 
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 to: