Closed ajensenwaud closed 9 months ago
Hi,
Yes this needs some more refactor, but in general those are put in there so I don't forget them on clean system :)
The commands like mount
and kldload
and service linux start
are one-time-needed and can be run by hand as root
user - I just keep them around when doing new build/releases
Hello. Thanks for making this important patch set. It's unclear from the documentation whether
init.sh
,build_runtime.sh
etc should be run asroot
or not. It clearly states in README.md thatinstall_tools.sh
should be run as root. If I proceed to runinit.sh
as a normal user, I get the following error fromkldload
, which requiresroot
privileges to run:Running
init.sh
asroot
unsurprisingly solves the problem, but it means code is checked out asroot
, which is suboptimal for compiling the code itself (root
shouldn't be required for this step). See below: