netkit-jh / netkit-jh-build

Build scripts for the kernel, filesystem and assisting scripts/programs for Netkit-JH.
https://netkit-jh.github.io/
GNU General Public License v3.0
22 stars 12 forks source link

Make build process only elevate privileges when required #123

Open AdamBromiley opened 2 years ago

AdamBromiley commented 2 years ago

Is your feature request related to a problem? Please describe. Currently, building Netkit-JH (sudo make) uses the root user for the entire process. This makes a large portion of the build directory owned by root.

Describe the solution you'd like The build command should be just make, where sudo is only used as and when required by specific commands in the Makefiles.