Date: Mon, 22 Apr 2024 16:25:25 +0000 From: Brooks Davis <brooks@freebsd.org> To: Lexi Winter <lexi@le-fay.org> Cc: hackers@freebsd.org Subject: Re: building memstick without root Message-ID: <ZiaPdQH8NLdXw4rH@spindle.one-eyed-alien.net> In-Reply-To: <ZiVewtvXGYM2Oa5O@ilythia.eden.le-fay.org> References: <ZiVewtvXGYM2Oa5O@ilythia.eden.le-fay.org>
next in thread | 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?ZiaPdQH8NLdXw4rH>