public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v2 0/9] Add support for automatic partial rebuilds on recipe changes
@ 2018-02-13 20:05 Jan Kiszka
  2018-02-13 20:05 ` [PATCH v2 1/9] dpkg-raw: Install hooks automatically Jan Kiszka
                   ` (10 more replies)
  0 siblings, 11 replies; 45+ messages in thread
From: Jan Kiszka @ 2018-02-13 20:05 UTC (permalink / raw)
  To: isar-users

Yeah, finally Yocto/OE-like usability: This ensures for many cases that
changes to recipes lead to rebuilds of dependent recipes, including the
final image. Some extra measures are needed so that those rebuilds work
with clean dirs.

And if the change detection should not work, e.g. changes to file://
resources are not detected, then a clean or cleanall task is now
available and ensures a proper manual rebuild.

This massively increases the fun factor when developing Isar projects.

Changes in v2:
- include patch 1 (dpkg-raw: Install hooks automatically) to clarify
  that this is a dependency
- add patch 5 (Move buildchroot mounts into dpkg-base class) to fix
  broken mounts when doing rebuilds
- add patch 9 (buildchroot: Clean up rootfs prior to populating it),
  analogously to patch 7 and 8

Jan

Jan Kiszka (9):
  dpkg-raw: Install hooks automatically
  Fix indention of base_do_build
  Add clean and cleanall tasks
  Enable recipe caching
  Move buildchroot mounts into dpkg-base class
  Enable proper rebuilds on dependency changes
  dpkg-raw: Clean DEBIAN dir prior to filling it
  isar-image-base: Clean rootfs folder prior to building
  buildchroot: Clean up rootfs prior to populating it

 .../recipes-app/example-raw/example-raw_0.2.bb     |  8 -----
 meta-isar/recipes-app/example-raw/files/postinst   |  4 +++
 meta-isar/recipes-core/images/isar-image-base.bb   |  2 ++
 meta/classes/base.bbclass                          | 39 +++++++++++++++++++--
 meta/classes/dpkg-base.bbclass                     | 27 ++++++++++++++-
 meta/classes/dpkg-raw.bbclass                      | 10 +++---
 meta/conf/isar-bitbake.conf                        | 18 ++++++++--
 meta/recipes-devtools/buildchroot/buildchroot.bb   | 40 +++++-----------------
 8 files changed, 99 insertions(+), 49 deletions(-)

-- 
2.13.6


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

end of thread, other threads:[~2018-02-26 12:30 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-13 20:05 [PATCH v2 0/9] Add support for automatic partial rebuilds on recipe changes Jan Kiszka
2018-02-13 20:05 ` [PATCH v2 1/9] dpkg-raw: Install hooks automatically Jan Kiszka
2018-02-13 20:05 ` [PATCH v2 2/9] Fix indention of base_do_build Jan Kiszka
2018-02-13 20:05 ` [PATCH v2 3/9] Add clean and cleanall tasks Jan Kiszka
2018-02-14 15:14   ` [PATCH v3 " Jan Kiszka
2018-02-13 20:05 ` [PATCH v2 4/9] Enable recipe caching Jan Kiszka
2018-02-13 20:05 ` [PATCH v2 5/9] Move buildchroot mounts into dpkg-base class Jan Kiszka
2018-02-13 20:17   ` Alexander Smirnov
2018-02-13 20:47     ` Jan Kiszka
2018-02-14  5:54       ` Alexander Smirnov
2018-02-14  8:37         ` Jan Kiszka
2018-02-14  8:52   ` [PATCH v3 " Jan Kiszka
2018-02-14  9:09     ` Alexander Smirnov
2018-02-14  9:16       ` Jan Kiszka
2018-02-13 20:05 ` [PATCH v2 6/9] Enable proper rebuilds on dependency changes Jan Kiszka
2018-02-13 20:05 ` [PATCH v2 7/9] dpkg-raw: Clean DEBIAN dir prior to filling it Jan Kiszka
2018-02-15  9:14   ` Claudius Heine
2018-02-15  9:18     ` Jan Kiszka
2018-02-15 10:26       ` Claudius Heine
2018-02-15 10:30         ` Alexander Smirnov
2018-02-15 10:53           ` [PATCH] dpkg-raw: Fix creation of DEBIAN folder Jan Kiszka
2018-02-15 15:39             ` Alexander Smirnov
2018-02-26 11:39             ` Andreas Reichel
2018-02-26 12:03               ` Jan Kiszka
2018-02-26 12:27               ` Andreas Reichel
2018-02-15 12:20           ` [PATCH v2 7/9] dpkg-raw: Clean DEBIAN dir prior to filling it Claudius Heine
2018-02-13 20:05 ` [PATCH v2 8/9] isar-image-base: Clean rootfs folder prior to building Jan Kiszka
2018-02-13 20:05 ` [PATCH v2 9/9] buildchroot: Clean up rootfs prior to populating it Jan Kiszka
2018-02-14 17:43   ` Alexander Smirnov
2018-02-14 17:48     ` Jan Kiszka
2018-02-14 11:33 ` [PATCH v2 0/9] Add support for automatic partial rebuilds on recipe changes Alexander Smirnov
2018-02-14 12:41   ` Jan Kiszka
2018-02-14 12:57     ` Alexander Smirnov
2018-02-14 13:10       ` Jan Kiszka
2018-02-14 13:29         ` Jan Kiszka
2018-02-14 13:38           ` Jan Kiszka
2018-02-14 13:49             ` Jan Kiszka
2018-02-14 14:06               ` Alexander Smirnov
2018-02-14 14:03             ` Alexander Smirnov
2018-02-14 14:10               ` Jan Kiszka
2018-02-14 17:51 ` Alexander Smirnov
2018-02-14 17:54   ` Jan Kiszka
2018-02-14 17:57     ` Alexander Smirnov
2018-02-14 18:02       ` Jan Kiszka
2018-02-14 18:34         ` Alexander Smirnov

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