public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Uladzimir Bely <ubely@ilbers.de>
To: Jan Kiszka <jan.kiszka@siemens.com>,
	isar-users <isar-users@googlegroups.com>
Subject: Re: [PATCH] essential: Update dependency to account for recipe-local isar-apt copy
Date: Tue, 18 Feb 2025 09:47:42 +0300	[thread overview]
Message-ID: <f23ad17be3d68789e327131fac166dde3c708183.camel@ilbers.de> (raw)
In-Reply-To: <538ec475-a06d-49ee-95bf-80d1685e3d5f@siemens.com>

On Sun, 2025-02-09 at 10:20 +0100, 'Jan Kiszka' via isar-users wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> We need the self-built deb already for do_local_isarapt, or we will
> cache a stale version of isar-apt.
> 
> Fixes: 21a05608d85b ("dpkg-base: Copy isar_apt to workdir in separate
> task")
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>  meta/classes/essential.bbclass | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/classes/essential.bbclass
> b/meta/classes/essential.bbclass
> index 2ae31b38..1ac5bc1f 100644
> --- a/meta/classes/essential.bbclass
> +++ b/meta/classes/essential.bbclass
> @@ -33,8 +33,8 @@ python() {
>  
>      # add dependencies to all packages from the essential list
>      for p in essential_packages:
> -        if d.getVar('do_prepare_build'):
> -            d.appendVarFlag('do_prepare_build', 'depends', f'
> {p}:do_deploy_deb')
> +        if d.getVar('do_local_isarapt'):
> +            d.appendVarFlag('do_local_isarapt', 'depends', f'
> {p}:do_deploy_deb')
>          if d.getVar('do_install_rootfs'):
>              d.appendVarFlag('do_install_rootfs', 'depends', f'
> {p}:do_deploy_deb')
>  }
> -- 
> 2.43.0
> 

Applied to next, thanks.

-- 
Best regards,
Uladzimir.



-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/f23ad17be3d68789e327131fac166dde3c708183.camel%40ilbers.de.

      reply	other threads:[~2025-02-18  6:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-09  9:20 'Jan Kiszka' via isar-users
2025-02-18  6:47 ` Uladzimir Bely [this message]

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=f23ad17be3d68789e327131fac166dde3c708183.camel@ilbers.de \
    --to=ubely@ilbers.de \
    --cc=isar-users@googlegroups.com \
    --cc=jan.kiszka@siemens.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