OpenRC with PREFIX='/usr' set in make doesn't create runlevels in /etc/runlevels/*
sysinit dir is empty, boot only contains tmpfiles.setup, shutdown savecache
I am not running Gentoo, but ported OpenRC to Arch linux.
Steps to Reproduce:
1. set PREFIX to /usr
2. resulting package has runlevels missing
leaves system in poor condition after reboot
make should create runlevels with PREFIX too I assume
arch linux i686/x86_64
This is just a note to myself. After looking at the initial description
of this, it appears to be an issue in the runlevels Makefile. I'll look
over this in a little while, today or tomorrow.
Created attachment 331364 [details, diff]
In my view useless stuff commented out
and the resulting pkg contains runlevels
But I have not installed it yet
Test system boots with patch and installed runlevels.
I was being too enthusiastic, no additional runlevels will be recognized by openrc at boot. Only the default runlevels work
Created attachment 331442 [details, diff]
will make prefixed runlevels
Not quite solved yet.
With the last patch, the make creates almost all runlevels, but:
boot: bootmisc,consolefont, hostname, mtab missing
sysinit: devfs missing
shutdown: killprocs missing
Very strange. The involved init.d *.in files look ok
This is resolved with commit a9272f5.
The first patch fixes the empty runlevel dir issue with prefix make, I just realized, indeed the grep in runlevels makefile is not necessary.
It produces somehow more problems.