On Wed, Dec 16, 2015 at 03:21:22PM +0100, Michael Biebl wrote: > Am 16.12.2015 um 15:16 schrieb Anton Zinoviev: > > On Wed, Dec 16, 2015 at 02:22:49PM +0100, Michael Biebl wrote: > >> > >> Wouldn't be hard to add this check to setupcon itself. > > > > Setupcon is a portable script that can be used on any distribution --- > > Debian or not, on Linux or FreeBSD, with systemd or without systemd. > > Although currently console-setup is packaged as a Debian specific package > > I prefer to maintain it as a non-Debian package. Everything outside the > > debian/ directory in the source package (and this includes setupcon) > > belongs to the "upstream" part of the package. We can not/should not > > ask from the upstream to depend on Debian specifics (such as the way > > systemd and initrd are implemented). > > 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. Anyway, the things will work even without such checks, so maybe your proposed solution can be used unchanged after all... Anton Zinoviev