public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Uladzimir Bely <ubely@ilbers.de>
To: Anton Mikanovich <amikan@ilbers.de>, isar-users@googlegroups.com
Subject: Re: [PATCH] sbuild-chroot: Add apt-utils for compat
Date: Thu, 20 Jul 2023 07:12:47 +0300	[thread overview]
Message-ID: <5e9d331565b8679a46891d2d3761440a98819c7d.camel@ilbers.de> (raw)
In-Reply-To: <20230714182613.760063-1-amikan@ilbers.de>

On Fri, 2023-07-14 at 21:26 +0300, Anton Mikanovich wrote:
> Compat packages are built as cross arch packages which requires
> /usr/lib/apt/solvers/apt. In case of amd64 resolver from host was
> used
> which is not correct in case of different distros. Install apt-utils
> into chroot to provide apt-based resolver.
> 
> This fixes building qemuamd64-bullseye:libhello-compat on Bookworm.
> 
> Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
> ---
>  meta/recipes-devtools/sbuild-chroot/sbuild-chroot-target.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-devtools/sbuild-chroot/sbuild-chroot-
> target.bb b/meta/recipes-devtools/sbuild-chroot/sbuild-chroot-
> target.bb
> index 8f2da720..ce985df2 100644
> --- a/meta/recipes-devtools/sbuild-chroot/sbuild-chroot-target.bb
> +++ b/meta/recipes-devtools/sbuild-chroot/sbuild-chroot-target.bb
> @@ -11,4 +11,5 @@ require sbuild-chroot.inc
>  
>  SBUILD_CHROOT_PREINSTALL ?= " \
>      ${SBUILD_CHROOT_PREINSTALL_COMMON} \
> +    ${@' apt-utils' if d.getVar('ISAR_ENABLE_COMPAT_ARCH') == '1'
> else ''} \
>      "
> -- 
> 2.34.1
> 

Applied to next.

      reply	other threads:[~2023-07-20  4:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-14 18:26 Anton Mikanovich
2023-07-20  4:12 ` 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=5e9d331565b8679a46891d2d3761440a98819c7d.camel@ilbers.de \
    --to=ubely@ilbers.de \
    --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