From: Christian Melki <christian.melki@t2data.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] barebox: Remove all images from multi-image installs.
Date: Sat, 26 Feb 2022 18:28:57 +0100 [thread overview]
Message-ID: <20220226172857.4008318-1-christian.melki@t2data.com> (raw)
The multi-image install is a bit peculiar.
It installs several target images and decides to softlink
the last image to barebox-image, which is then used for image installs etc.
The barebox-image only by chance pointing at the desired image.
When removing images, only the softlink is removed.
We could go with removal of barebox* but I find that a bit
too indiscriminating. So add removal of anything called barebox-*.img.
Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
rules/barebox.make | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rules/barebox.make b/rules/barebox.make
index 1c8463e63..dc37e7a62 100644
--- a/rules/barebox.make
+++ b/rules/barebox.make
@@ -212,7 +212,7 @@ $(STATEDIR)/barebox.clean:
@$(call clean_pkg, BAREBOX)
@$(foreach prog, $(BAREBOX_PROGS_HOST), \
rm -vf $(PTXDIST_SYSROOT_HOST)/bin/$(notdir $(prog))$(ptx/nl))
- @rm -vf $(IMAGEDIR)/barebox-image $(IMAGEDIR)/barebox-default-environment
+ @rm -vf $(IMAGEDIR)/barebox-image $(IMAGEDIR)/barebox-*.img $(IMAGEDIR)/barebox-default-environment
# ----------------------------------------------------------------------------
# oldconfig / menuconfig
--
2.30.2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next reply other threads:[~2022-02-26 17:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-26 17:28 Christian Melki [this message]
2022-03-04 7:38 ` Michael Olbrich
2022-03-11 10:27 ` Michael Olbrich
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=20220226172857.4008318-1-christian.melki@t2data.com \
--to=christian.melki@t2data.com \
--cc=ptxdist@pengutronix.de \
/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