From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH 2/2] u-boot-script: Split packages by kernel
Date: Tue, 11 Jan 2022 12:36:56 +0300 [thread overview]
Message-ID: <20220111093656.220514-3-amikan@ilbers.de> (raw)
In-Reply-To: <20220111093656.220514-1-amikan@ilbers.de>
u-boot-script package depends on linux-image which is different for the
machines with different KERNEL_NAME. In case of the same distro and
arch those u-boot-script packages will conflict, so we need to set
different versions (based on machine) to allow building in parallel.
Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
meta/recipes-bsp/u-boot-script/u-boot-script_1.1.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-bsp/u-boot-script/u-boot-script_1.1.bb b/meta/recipes-bsp/u-boot-script/u-boot-script_1.1.bb
index e07deee..33ed70f 100644
--- a/meta/recipes-bsp/u-boot-script/u-boot-script_1.1.bb
+++ b/meta/recipes-bsp/u-boot-script/u-boot-script_1.1.bb
@@ -16,6 +16,9 @@ SRC_URI = " \
DEBIAN_DEPENDS = "u-boot-tools, linux-image-${KERNEL_NAME}"
+# Package version should be machine specific to separate kernel deps
+PV .= "-${MACHINE}"
+
do_install() {
install -v -d ${D}/usr/sbin
install -v -m 755 ${WORKDIR}/update-u-boot-script ${D}/usr/sbin/
--
2.25.1
next prev parent reply other threads:[~2022-01-11 9:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-11 9:36 [PATCH 0/2] Fix u-boot-script packages conflict Anton Mikanovich
2022-01-11 9:36 ` [PATCH 1/2] dpkg: Allow parallel build of different package versions Anton Mikanovich
2022-01-11 9:48 ` Henning Schild
2022-01-11 9:36 ` Anton Mikanovich [this message]
2022-01-11 9:50 ` [PATCH 2/2] u-boot-script: Split packages by kernel Henning Schild
2022-01-11 12:03 ` Jan Kiszka
2022-01-11 15:05 ` Anton Mikanovich
2022-01-11 15:56 ` Jan Kiszka
2022-01-12 13:34 ` Anton Mikanovich
2022-01-12 13:51 ` Schmidt, Adriaan
2022-01-12 13:59 ` Jan Kiszka
2022-01-12 13:58 ` Jan Kiszka
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=20220111093656.220514-3-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