From: Adriaan Schmidt <adriaan.schmidt@siemens.com>
To: <isar-users@googlegroups.com>
Cc: Adriaan Schmidt <adriaan.schmidt@siemens.com>
Subject: [PATCH] fix: break dependency on sbuild_chroot for dpkg-prebuilt packages
Date: Fri, 9 Dec 2022 15:46:27 +0100 [thread overview]
Message-ID: <20221209144627.1087911-1-adriaan.schmidt@siemens.com> (raw)
This is an optimization of dpkg-prebuilt, removing an unneccessary dependency
on the sbuild_chroot.
Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
---
meta/classes/dpkg-prebuilt.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/dpkg-prebuilt.bbclass b/meta/classes/dpkg-prebuilt.bbclass
index 97e1e2de..f0341526 100644
--- a/meta/classes/dpkg-prebuilt.bbclass
+++ b/meta/classes/dpkg-prebuilt.bbclass
@@ -19,6 +19,8 @@ python do_unpack_prepend() {
# break dependencies on do_patch, etc... but still support sstate caching
deltask dpkg_build
addtask dpkg_build after do_unpack before do_deploy_deb
+# break inherited (from dpkg-base) dependency on sbuild_chroot
+do_dpkg_build[depends] = ""
do_dpkg_build() {
true
}
--
2.30.2
next reply other threads:[~2022-12-09 14:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-09 14:46 Adriaan Schmidt [this message]
2022-12-10 18:21 ` Henning Schild
2022-12-14 7:25 ` Anton Mikanovich
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=20221209144627.1087911-1-adriaan.schmidt@siemens.com \
--to=adriaan.schmidt@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