public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* sbuild migration problem: how to jump into SBUILD_CHROOT with build dependencies installed
@ 2022-08-19  8:25 Florian Bezdeka
  2022-08-19  8:30 ` Anton Mikanovich
  0 siblings, 1 reply; 6+ messages in thread
From: Florian Bezdeka @ 2022-08-19  8:25 UTC (permalink / raw)
  To: isar-users

Hi all,

I'm trying to update Isar to the latest next version in one of our
downstream layers. This is the first version for this layer that uses
sbuild.

One of the recipes has the following dpkg_runbuild_prepend() defined:

dpkg_runbuild_prepend() {
    sudo chroot --userspec=$( id -u ):$( id -g ) ${BUILDCHROOT_DIR} \
        sh -c "autoreconf -fi"
}

In the pre-sbuild times this task was executed *after* the build
dependencies have been installed but *before* the dpkg_runbild task.

With sbuild:
- There is no "install build dependencies" task anymore
  Installation of build dependencies is done by sbuild internally
- The task is now executed *before* build dependencies are installed
- I still could chroot into ${SBUILD_CHROOT}, but the build dependencies
  will not be there

Is there any possibility to jump into the ${SBUILD_CHROOT} after build
dependencies are installed but before the actual packet build?

Best regards,
Florian

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

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

end of thread, other threads:[~2022-08-27  8:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-19  8:25 sbuild migration problem: how to jump into SBUILD_CHROOT with build dependencies installed Florian Bezdeka
2022-08-19  8:30 ` Anton Mikanovich
2022-08-19  8:36   ` Florian Bezdeka
2022-08-19 10:32     ` Baurzhan Ismagulov
2022-08-19 13:05       ` Florian Bezdeka
2022-08-27  8:44         ` Henning Schild

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