public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [RFC][PATCH 0/3] Experiments with .dsc backend
@ 2018-04-23 13:21 Alexander Smirnov
  2018-04-23 13:21 ` [RFC][PATCH 1/3] buildchroot: Include texinfo to base system Alexander Smirnov
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Alexander Smirnov @ 2018-04-23 13:21 UTC (permalink / raw)
  To: isar-users; +Cc: Alexander Smirnov

Hi everybody,

as it was planned initially, one of the Isar feature is the ability to
rebuild original Debian packages with/without customizations. Doing
this manually in classical Yocto/OE style requires manual setting of
lots of variables and having a copy of Debian patch (*.debian.tar.xz)
for this package in your recipe's folder. Maintenance of this system
becomes very complicated.

I performed a small research regarding bitbake capabilities and found
an interesting trick: during bitbake parsing stage (in anonymous tasks)
we could re-construct whole recipe (including tasks and variable), and
this snapshot will be stored in recipe's dynamic context, that is used
during pipeline execution.

This series is just a PoC, lots of issues are still open, like:
 - Patching upstream packages
 - Automatic cross-recipe dependency detection to avoid duplications in
   recipe and debian/control files
 - etc...

To test this series just run:

 $ bitbake hello

After build, in hello workdir there will be a newly-baked identical copy of
upstream package :-)

Feedbacks, ideas, proposals are welcome!

With best regards,
Alex

Alexander Smirnov (3):
  buildchroot: Include texinfo to base system
  classes/dsc: Basic Debian .dsc backend implementation
  recipes-debian: Add example recipe to test Debian .dsc support

 meta-isar/recipes-debian/hello/hello.bb          |  10 ++
 meta/classes/debian-dsc.bbclass                  | 112 +++++++++++++++++++++++
 meta/recipes-devtools/buildchroot/buildchroot.bb |   3 +-
 3 files changed, 124 insertions(+), 1 deletion(-)
 create mode 100644 meta-isar/recipes-debian/hello/hello.bb
 create mode 100644 meta/classes/debian-dsc.bbclass

-- 
2.9.5


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

end of thread, other threads:[~2018-05-09  7:37 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-23 13:21 [RFC][PATCH 0/3] Experiments with .dsc backend Alexander Smirnov
2018-04-23 13:21 ` [RFC][PATCH 1/3] buildchroot: Include texinfo to base system Alexander Smirnov
2018-04-23 13:21 ` [RFC][PATCH 2/3] classes/dsc: Basic Debian .dsc backend implementation Alexander Smirnov
2018-04-23 15:04   ` Henning Schild
2018-04-23 16:11     ` Alexander Smirnov
2018-04-23 17:27       ` Henning Schild
2018-04-25 10:11         ` Jan Kiszka
2018-05-08 17:40   ` Henning Schild
2018-04-23 13:21 ` [RFC][PATCH 3/3] recipes-debian: Add example recipe to test Debian .dsc support Alexander Smirnov
2018-04-23 14:36 ` [RFC][PATCH 0/3] Experiments with .dsc backend Henning Schild
2018-04-23 15:26   ` Alexander Smirnov
2018-04-23 16:03     ` Henning Schild
2018-04-27 15:46       ` Alexander Smirnov
2018-05-02  8:19         ` Henning Schild
2018-05-08 17:37 ` Henning Schild
2018-05-08 18:31   ` Alexander Smirnov
2018-05-09  7:37     ` Henning Schild

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