On Mon, 21 Sep 2026 11:36:41 +0200, Ahmad Fatoum wrote:
> genenv copies the environment directories it is given into a temporary
> directory next to its output and removes that directory again when it is
> done. The copy is made with cp, which preserves the mode of what it copied,
> so building from a read-only source tree, e.g. a Nix store path leaves a
> temporary directory nothing can be deleted from:
> 
>   rm: cannot remove 
> '.../defaultenv-qemu_fw_cfg.bbenv.genenv.tmp/boot/qemu_fw_cfg': Permission 
> denied
>   make[7]: *** [scripts/Makefile.env:41: 
> common/boards/qemu/defaultenv-qemu_fw_cfg.bbenv] Error 1
> 
> [...]

Applied, thanks!

[1/1] scripts: genenv: make the temporary directory writable
      https://git.pengutronix.de/cgit/barebox/commit/?id=859a88435455 (link may 
not be stable)

Best regards,
-- 
Sascha Hauer <[email protected]>


Reply via email to