public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Anton Mikanovich <amikan@ilbers.de>, <isar-users@googlegroups.com>
Subject: Re: [PATCH 2/2] u-boot-script: Split packages by kernel
Date: Tue, 11 Jan 2022 13:03:59 +0100	[thread overview]
Message-ID: <3c29f616-f248-7171-1cd9-07554c01790d@siemens.com> (raw)
In-Reply-To: <20220111093656.220514-3-amikan@ilbers.de>

On 11.01.22 10:36, Anton Mikanovich wrote:
> 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.
> 

It makes no sense to build the same package with the same content 
multiple times. We likely rather need to make it depend on a generic 
kernel package / create a generic kernel package name.

Jan

> 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/

-- 
Siemens AG, Technology
Competence Center Embedded Linux

  parent reply	other threads:[~2022-01-11 12:04 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
2022-01-11 12:03   ` Jan Kiszka [this message]
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=3c29f616-f248-7171-1cd9-07554c01790d@siemens.com \
    --to=jan.kiszka@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