Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Peter Korsgaard <peter@korsgaard.com>
Cc: Thomas Petazzoni via buildroot <buildroot@buildroot.org>,
	 Francois Perrad <francois.perrad.86@gmail.com>
Subject: Re: [Buildroot] [PATCH 2/2] package/pkg-hare: move cache directory outside of $(HOME)
Date: Tue, 20 Oct 2026 20:19:38 +0200	[thread overview]
Message-ID: <atefMriQw5K-VNaX@windsurf> (raw)
In-Reply-To: <87tsmg8gqi.fsf@dell.be.48ers.dk>

On Tue, Oct 20, 2026 at 06:43:49PM +0200, Peter Korsgaard wrote:

> Do we have reasons to think that this environment variable will only
> ever be used by hare packages? If not, then we should perhaps rather do
> it globally / in pkg-generic.mk, similar to E.G. how we set GIT_DIR=. ?

That is certainly an option. Initially I only saw the problem on
host-hare, but then I saw that the hare packages themselves can be
affected as well. The question is of course whether there will be an
impact on other packages, but if we decide that $HOME should be
read-only, then it makes sense to divert XDG_CACHE_HOME to
BUILD_DIR/.cache, and see whether it causes issues for some packages.

Should I respin a patch in that direction?

Independently from that I believe
https://patchwork.buildroot.org/project/buildroot/patch/20261020120646.1306735-1-thomas.petazzoni@bootlin.com/
can still be a good small refactoring to merge.

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2026-10-20 18:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-20 12:06 [Buildroot] [PATCH 1/2] package/pkg-hare: refactor build command Thomas Petazzoni via buildroot
2026-10-20 12:06 ` [Buildroot] [PATCH 2/2] package/pkg-hare: move cache directory outside of $(HOME) Thomas Petazzoni via buildroot
2026-10-20 12:55   ` Fiona Klute via buildroot
2026-10-20 13:17     ` Thomas Petazzoni via buildroot
2026-10-20 16:43   ` Peter Korsgaard
2026-10-20 18:03     ` François PERRAD
2026-10-20 18:19     ` Thomas Petazzoni via buildroot [this message]
2026-10-20 18:32       ` Peter Korsgaard
2026-10-20 18:26 ` [Buildroot] [PATCH 1/2] package/pkg-hare: refactor build command François PERRAD
2026-10-20 18:34 ` Peter Korsgaard
2026-10-20 18:42 ` Peter Korsgaard

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=atefMriQw5K-VNaX@windsurf \
    --to=buildroot@buildroot.org \
    --cc=francois.perrad.86@gmail.com \
    --cc=peter@korsgaard.com \
    --cc=thomas.petazzoni@bootlin.com \
    /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