From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>
Subject: [RFC 0/5] Debian dependencies investigation
Date: Fri, 25 Feb 2022 10:40:35 +0300 [thread overview]
Message-ID: <20220225074040.20975-1-amikan@ilbers.de> (raw)
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
next reply other threads:[~2022-02-25 7:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-25 7:40 Anton Mikanovich [this message]
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
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=20220225074040.20975-1-amikan@ilbers.de \
--to=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