arpa2 / mkroot

InternetWide Architecture Component Builders
1 stars 0 forks source link

The need for root privileges #17

Open vanrein opened 4 years ago

vanrein commented 4 years ago

Running of the Quick Start assumes root privileges. The use of debootstrap is the leading cause, probably because of the need to mount /dev and /sys and /proc under the target directory.

This should at least be documented in the README. Also, the loosened requirement of a mkhere symbolic link should be clarified. The link is now just one way of feeding the build system with a BUILDROOT_MKHERE setting, which is then used instead of the symbolic link.

vanrein commented 4 years ago

Maybe this article can help. It mentions fakeroot, fakechroot and a new tool, polystrap, that may also be useful.