From: Henning Schild <henning.schild@siemens.com>
To: Anton Mikanovich <amikan@ilbers.de>
Cc: <isar-users@googlegroups.com>
Subject: Re: [PATCH 2/2] u-boot-script: Split packages by kernel
Date: Tue, 11 Jan 2022 10:50:26 +0100 [thread overview]
Message-ID: <20220111105026.51c8f942@md1za8fc.ad001.siemens.net> (raw)
In-Reply-To: <20220111093656.220514-3-amikan@ilbers.de>
Am Tue, 11 Jan 2022 12:36:56 +0300
schrieb Anton Mikanovich <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}"
Doing this in PV is strange, it should be done in PN .. maybe with
KERNEL_NAME and not MACHINE
Henning
> do_install() {
> install -v -d ${D}/usr/sbin
> install -v -m 755 ${WORKDIR}/update-u-boot-script
> ${D}/usr/sbin/
next prev parent reply other threads:[~2022-01-11 9:50 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 ` [PATCH 2/2] u-boot-script: Split packages by kernel Anton Mikanovich
2022-01-11 9:50 ` Henning Schild [this message]
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=20220111105026.51c8f942@md1za8fc.ad001.siemens.net \
--to=henning.schild@siemens.com \
--cc=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