You are not logged in.
Hi everybody,
currently I am writing a preseed.cfg that can be used by the debian/devuan installer for automatic installation of Ascii on my notebook (and some other devices later on too). I started with the Debian stretch example preseed file and besides some fights with the partitioning I was wondering about how to preseed for usage of OpenRC.
I did a manual 'expert' installation which allowed me to choose OpenRC during installation. After asking in the IRC channel, some kind replies from fsmithred, checking the output of debconf-get-selections --installer and looking at the source of the choose-init module at https://git.devuan.org/devuan-packages/choose-init/ now I got following solution (but did not test it yet):
What should be needed for preseeding the choose-init module are following two additional options in the presseed.cfg:
# load additional debian installer module 'choose-init'
# (or use multiselect in case of additional modules needed)
d-i anna/choose_modules string choose-init
# select openrc as the init system to use
choose-init choose-init/select_init select openrc
I am pretty sure about that the preseeding as shown above will work, but since from the sourcode of the choose-init module I only found
in-target sh -c "debconf-apt-progress --from 900 --to 950 --logstderr -- apt-get -q -y install -- openrc" || aptfailed fi
to be run, I wonder if simply adding the openrc package to the "d-i pkgsel/include string " does the same job. I think I will test both cases and see ...
Kind regards,
RustyR.
Offline
Not an answer to the question, just a quick note. I was looking for a way to do this on the new beowulf release and it worked for me:
# load additional debian installer module 'choose-init'
# (or use multiselect in case of additional modules needed)
d-i anna/choose_modules string choose-init
# select openrc as the init system to use
choose-init choose-init/select_init select openrc
Offline
Note that Devuan's beowulf installer will only set OpenRC as the service manager, sysvinit will still be used as PID1.
To use openrc-init as PID1 see https://dev1galaxy.org/viewtopic.php?id=2788
Brianna Ghey — Rest In Power
Offline