From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: Re: [PATCH] scripts: genenv: make the temporary directory writable
Date: Wed, 23 Sep 2026 08:26:57 +0200 [thread overview]
Message-ID: <179014481707.2819724.12866022677566305052.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20260921093646.882466-1-a.fatoum@pengutronix.de>
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 <s.hauer@pengutronix.de>
prev parent reply other threads:[~2026-09-23 6:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-21 9:36 Ahmad Fatoum
2026-09-23 6:26 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179014481707.2819724.12866022677566305052.b4-ty@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox