Skip site navigation (1)Skip section navigation (2)
In-Reply-To: <ZiVewtvXGYM2Oa5O@ilythia.eden.le-fay.org>

| previous in thread | raw e-mail | index | archive | help
On Sun, Apr 21, 2024 at 07:45:22PM +0100, Lexi Winter wrote:
> hello,
> 
> is it expected that running 'make -C release memstick' requires root?
> the build fails for me with:
> 
> install: /src/obj/src/freebsd/src/main/riscv.riscv64/release/dist/kernel/boot/kernel/kernel: chown/chgrp: Operation not permitted
> 
> as i understand it, makefs should be able to build images as a non-root
> user using mtree, but i'm not sure if this is hooked up to the build
> system, or if i'm doing something else wrong - maybe i need a
> make.conf/src.conf option set?

You'll need to define NO_ROOT.  I think that's sufficent, but I'm not
100% certain.  We build CheriBSD releases without root on Linux hosts.

-- Brooks



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>