From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH 1/2] sbuild: Schroot config logging
Date: Tue, 16 Jan 2024 13:52:04 +0200 [thread overview]
Message-ID: <20240116115205.537399-2-amikan@ilbers.de> (raw)
In-Reply-To: <20240116115205.537399-1-amikan@ilbers.de>
To have additional debugging information print out any schroot config
files creation and removing logs.
Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
meta/classes/sbuild.bbclass | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/classes/sbuild.bbclass b/meta/classes/sbuild.bbclass
index 995f7a54..f1193c20 100644
--- a/meta/classes/sbuild.bbclass
+++ b/meta/classes/sbuild.bbclass
@@ -16,6 +16,7 @@ SBUILD_CONFIG="${WORKDIR}/sbuild.conf"
schroot_create_configs() {
mkdir -p "${TMPDIR}/schroot-overlay"
+ echo "Creating ${SCHROOT_CONF_FILE}"
sudo -s <<'EOSUDO'
set -e
@@ -56,8 +57,10 @@ schroot_delete_configs() {
sudo -s <<'EOSUDO'
set -e
if [ -d "${SBUILD_CONF_DIR}" ]; then
+ echo "Removing ${SBUILD_CONF_DIR}"
rm -rf "${SBUILD_CONF_DIR}"
fi
+ echo "Removing ${SCHROOT_CONF_FILE}"
rm -f "${SCHROOT_CONF_FILE}"
EOSUDO
}
--
2.34.1
next prev parent reply other threads:[~2024-01-16 11:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-16 11:52 [PATCH 0/2] Improve Isar CI logging Anton Mikanovich
2024-01-16 11:52 ` Anton Mikanovich [this message]
2024-01-16 11:52 ` [PATCH 2/2] CI: Avoid removing logs from tmp Anton Mikanovich
2024-01-23 9:11 ` [PATCH 0/2] Improve Isar CI logging Uladzimir Bely
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=20240116115205.537399-2-amikan@ilbers.de \
--to=amikan@ilbers.de \
--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