From: Felix Moessbauer <felix.moessbauer@siemens.com>
To: isar-users@googlegroups.com
Cc: florian.bezdeka@siemens.com,
Felix Moessbauer <felix.moessbauer@siemens.com>
Subject: [PATCH] override HOME to isolate sbuild configuration
Date: Tue, 20 Sep 2022 11:26:54 +0200 [thread overview]
Message-ID: <20220920092654.1314022-1-felix.moessbauer@siemens.com> (raw)
This patch sets the HOME env var to the package build path
to avoid conflicts with an existing .sbuildrc configuration
in the users homedir.
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
meta/classes/dpkg.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/dpkg.bbclass b/meta/classes/dpkg.bbclass
index c92ea7db..70f8e772 100644
--- a/meta/classes/dpkg.bbclass
+++ b/meta/classes/dpkg.bbclass
@@ -17,6 +17,8 @@ dpkg_runbuild() {
E="${@ isar_export_ccache(d)}"
export DEB_BUILD_OPTIONS="${@ isar_deb_build_options(d)}"
export PARALLEL_MAKE="${PARALLEL_MAKE}"
+ # override HOME to not interfer with users .sbuildrc
+ export HOME="${PP}"
rm -f ${SBUILD_CONFIG}
--
2.30.2
next reply other threads:[~2022-09-20 9:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-20 9:26 Felix Moessbauer [this message]
2022-09-20 10:58 ` Henning Schild
2022-09-20 11:22 ` Moessbauer, Felix
2022-09-23 9:17 ` Anton Mikanovich
2022-09-25 8:13 ` Moessbauer, Felix
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=20220920092654.1314022-1-felix.moessbauer@siemens.com \
--to=felix.moessbauer@siemens.com \
--cc=florian.bezdeka@siemens.com \
--cc=isar-users@googlegroups.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