public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [RFC 0/5] Debian dependencies investigation
@ 2022-02-25  7:40 Anton Mikanovich
  2022-02-25  7:40 ` [RFC 1/5] dpkg-base: Cover do_apt_unpack task by lock Anton Mikanovich
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Anton Mikanovich @ 2022-02-25  7:40 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

Isar do not jet use Build-Depends field from control files to call
recipes building. DEPENDS field should be used instead in every single
case.

We can use additional source package management to fix that: build
source packages at first stage, obtain dependencies on second and build
final target on third.

It is not something to be used as-is, but just proof of concept to show
possible way for implementation. Proposed logic can't be implemented by
bitbake currently because all the dependencies are calculated before the
build, so we should try to work with upstream to find integration
possibilities.

Anton Mikanovich (5):
  dpkg-base: Cover do_apt_unpack task by lock
  meta: Implement two stage build
  libhello: Declare provided packages
  hello-isar: Remove duplicated dependency
  isar: Add external builder

 isar_builder.py                               | 142 ++++++++++++++++++
 .../recipes-app/hello-isar/hello-isar.bb      |   4 -
 meta-isar/recipes-app/libhello/libhello.bb    |   2 +
 meta/classes/dpkg-base.bbclass                |  36 ++++-
 meta/classes/dpkg-gbp.bbclass                 |   6 +-
 meta/classes/dpkg-prebuilt.bbclass            |   7 +
 meta/classes/dpkg.bbclass                     |  21 ++-
 meta/classes/rootfs.bbclass                   |   2 +
 .../buildchroot/buildchroot.inc               |   2 +
 .../buildchroot/files/build-source.sh         |  16 ++
 .../buildchroot/files/build.sh                |   2 +-
 11 files changed, 222 insertions(+), 18 deletions(-)
 create mode 100755 isar_builder.py
 create mode 100644 meta/recipes-devtools/buildchroot/files/build-source.sh

-- 
2.25.1


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

end of thread, other threads:[~2022-02-25 17:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-25  7:40 [RFC 0/5] Debian dependencies investigation Anton Mikanovich
2022-02-25  7:40 ` [RFC 1/5] dpkg-base: Cover do_apt_unpack task by lock Anton Mikanovich
2022-02-25 17:30   ` Jan Kiszka
2022-02-25  7:40 ` [RFC 2/5] meta: Implement two stage build Anton Mikanovich
2022-02-25  7:40 ` [RFC 3/5] libhello: Declare provided packages Anton Mikanovich
2022-02-25  7:40 ` [RFC 4/5] hello-isar: Remove duplicated dependency Anton Mikanovich
2022-02-25  7:40 ` [RFC 5/5] isar: Add external builder Anton Mikanovich

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