public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] sbuild: fix cross-building packages on bookworm host
@ 2023-06-07  4:46 Uladzimir Bely
  2023-06-07  5:36 ` Jan Kiszka
  2023-06-13  6:08 ` Uladzimir Bely
  0 siblings, 2 replies; 4+ messages in thread
From: Uladzimir Bely @ 2023-06-07  4:46 UTC (permalink / raw)
  To: isar-users

Bookworm uses more version of sbuild that requires from target rootfs
to include apt resolver (/usr/lib/apt/solvers/apt).

This is automatically provided by 'bookworm' target, but not by older
'buster' or 'bullseye' that don't strictly depend on apt-utils package
that provides this solver.

Add `apt-utils` to host sbuild chroot in order to fix build issues.

See https://groups.google.com/g/isar-users/c/OIIp6qF3C8I for details.

Signed-off-by: Uladzimir Bely <ubely@ilbers.de>
---
 meta/recipes-devtools/sbuild-chroot/sbuild-chroot-host.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/sbuild-chroot/sbuild-chroot-host.bb b/meta/recipes-devtools/sbuild-chroot/sbuild-chroot-host.bb
index d2e23d56..255d6937 100644
--- a/meta/recipes-devtools/sbuild-chroot/sbuild-chroot-host.bb
+++ b/meta/recipes-devtools/sbuild-chroot/sbuild-chroot-host.bb
@@ -16,6 +16,7 @@ ROOTFS_BASE_DISTRO = "${HOST_BASE_DISTRO}"
 SBUILD_CHROOT_PREINSTALL ?= " \
     ${SBUILD_CHROOT_PREINSTALL_COMMON} \
     crossbuild-essential-${DISTRO_ARCH} \
+    apt-utils \
     "
 
 SBUILD_CHROOT_PREINSTALL:riscv64 ?= " \
-- 
2.20.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-06-13  6:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-07  4:46 [PATCH] sbuild: fix cross-building packages on bookworm host Uladzimir Bely
2023-06-07  5:36 ` Jan Kiszka
2023-06-07  6:45   ` Uladzimir Bely
2023-06-13  6:08 ` Uladzimir Bely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox