On 2017-04-04 at 12:11, Don Armstrong wrote: > 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.
Thanks. I've never investigated preseeding, but it's good to know that there's a short-and-simple solution for achieving this one-off without needing to do manual break-out or (as you put it) roll your own install media. -- The Wanderer The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw
signature.asc
Description: OpenPGP digital signature