On Mon, 2024-01-08 at 07:50 +0100, 'Jan Kiszka' via isar-users wrote: > From: Jan Kiszka > > During the migration to sbuild, support for using self-built packages > in > the build environment was lost if those were already part of the > sbuild-chroot. This restores it by adding --apt-distupgrade to the > sbuild call. But that is not enough because sbuild will only upgrade > packages from already configured sources, not those specified via > --extra-repository. We therefore have to switch back to configuring > isar-apt during sbuild-chroot creation. > > As rootfs_configure_isar_apt configures the isar repo under > /isar-apt, we bind-mount the one in /home/builder/${PN} to that > folder. > Another difference is that we now need to run apt-get update > explicitly, > but only for isar-apt. > > And because the sbuild-chroots are now left behind with isar-apt > configured, the configuration in imager_run can be removed (credits > to > Srinuvasan Arjunan). > > Signed-off-by: Jan Kiszka > --- > The patch for now doesn't pass full CI and fails with similar errors in several tests (repro and container related). I've attached some log files. In addition to the logs, I have to say that isar-apt copy in workdir (e.g. "hello/1.0-r0/isar-apt/...") does not contain required file in the pool (e.g. "/isar-apt/pool/main/h/hello/hello_2.10- 3+isar.dsc"). I'm still debugging it for the reason of the build issue, but probably the logs attached could be useful for understanding what is wrong. For now, the simplest way to reproduce the issue is running CI limited to repro_unsigned test (target list can also be reduced up to mc:qemuamd64-bullseye:isar-image-base only).