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

Re: If Linux Is About Choice, Why Then ...



On Mon, 03 Apr 2017, The Wanderer wrote:
> What you don't have is a choice *in the installer* of which init system
> to *start out with*. The installer will always set up systemd (possible
> unusual situations involving preseeding aside); if you want sysvinit
> instead, you have to break out of the do-things-for-you friendly install
> process and do some package installs + uninstalls by hand.

You can just append:

preseed/late_command="in-target apt-get install -y sysvinit-core"

to the installer command line.

Or you can roll your own install media with its own syslinux.cfg which
adds that or something more complicated in a preseed file.

You don't need to fork the installer, or submit any patches upstream.

If you want something more complicated, like not installing systemd at
all, you'll have to pass --include and --exclude options to debootstrap
using the base-installer/includes and base-installer/excludes preseed
options; something like:

base-installer/includes=sysvinit-core base-installer/excludes=systemd-sysv

but that's totally untested.

-- 
Don Armstrong                      https://www.donarmstrong.com

No amount of force can control a free man, a man whose mind is free
[...] You can't conquer a free man; the most you can do is kill him.
 -- Robert Heinlein _Revolt in 2010_ p54


Reply to: