public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [RFC 00/15] Sbuild/Schroot migration
@ 2021-07-26 13:46 Anton Mikanovich
  2021-07-26 13:46 ` [RFC 01/15] dpkg: Install raw package files to source root Anton Mikanovich
                   ` (14 more replies)
  0 siblings, 15 replies; 20+ messages in thread
From: Anton Mikanovich @ 2021-07-26 13:46 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

This is temporary patchset showing how sbuild/schroot tools can be
integrated into Isar build system. It is not jet finished functionaly
and architectually, also it do not cover all the targets.
Currently isar-bootstrap is exported as base schroot image. Buildchroot
is also used somewhere, removing it still in progress. There are also
several restrictions, like not fully supported parallel build.
To use this changes you need to have sbuild and schroot installed and
configured. Current user should be added to sbuild group.
At least qemuarm-buster target can be build for testing.

TODO:
- Separate schroot prepare from isar-bootstrap.
- Remove buildchroot usage.
- Finish chroot removing.
- Add documentation updates.

Anton Mikanovich (15):
  dpkg: Install raw package files to source root
  dpkg-gbp: Use separate export-orig command
  isar-bootstrap: Export bootstrap to schroot config
  linux-module: Do not use shell environment
  u-boot: Do not use shell environment
  trusted-firmware: Do not use shell environment
  optee-os: Do not use shell environment
  kselftest: Do not use shell environment
  dpkg: Build packages with sbuild
  sbuild: Introduce environment variables export API
  dpkg: Remove builddeps install task
  dpkg-gbp: Migrate to schroot
  img: Use schroot for image prepare
  linux-mainline: Move cfg fragment test to debian/rules
  linux-custom: Prepare kernel config inside sbuild

 .../optee-os/optee-os-stm32mp15x_3.11.0.bb    |  2 +-
 .../linux/linux-mainline_5.4.70.bb            | 16 ++--
 meta/classes/dpkg-gbp.bbclass                 | 19 ++---
 meta/classes/dpkg-raw.bbclass                 |  8 +-
 meta/classes/dpkg.bbclass                     | 38 +++------
 meta/classes/ext4-img.bbclass                 |  8 +-
 meta/classes/fit-img.bbclass                  | 11 +--
 meta/classes/image-tools-extension.bbclass    | 14 +---
 meta/classes/image.bbclass                    | 19 +----
 meta/classes/sbuild.bbclass                   | 78 +++++++++++++++++++
 meta/classes/ubi-img.bbclass                  | 11 +--
 meta/classes/ubifs-img.bbclass                | 11 +--
 .../files/debian/{rules => rules.tmpl}        |  4 +-
 meta/recipes-bsp/optee-os/optee-os-custom.inc | 10 +--
 .../files/debian/{rules => rules.tmpl}        |  4 +-
 .../trusted-firmware-a-custom.inc             | 10 +--
 .../u-boot/files/debian/{rules => rules.tmpl} |  2 +-
 meta/recipes-bsp/u-boot/u-boot-custom.inc     | 10 +--
 .../isar-bootstrap/isar-bootstrap.inc         | 54 ++++++++++++-
 .../kselftest/files/{rules => rules.tmpl}     |  0
 meta/recipes-kernel/kselftest/kselftest.inc   | 21 ++---
 .../files/debian/{rules => rules.tmpl}        | 10 ++-
 meta/recipes-kernel/linux-module/module.inc   | 23 ++----
 meta/recipes-kernel/linux/linux-custom.inc    |  7 +-
 24 files changed, 225 insertions(+), 165 deletions(-)
 create mode 100644 meta/classes/sbuild.bbclass
 rename meta/recipes-bsp/optee-os/files/debian/{rules => rules.tmpl} (75%)
 rename meta/recipes-bsp/trusted-firmware-a/files/debian/{rules => rules.tmpl} (77%)
 rename meta/recipes-bsp/u-boot/files/debian/{rules => rules.tmpl} (93%)
 rename meta/recipes-kernel/kselftest/files/{rules => rules.tmpl} (100%)
 rename meta/recipes-kernel/linux-module/files/debian/{rules => rules.tmpl} (55%)

-- 
2.25.1


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

end of thread, other threads:[~2021-07-26 14:50 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-26 13:46 [RFC 00/15] Sbuild/Schroot migration Anton Mikanovich
2021-07-26 13:46 ` [RFC 01/15] dpkg: Install raw package files to source root Anton Mikanovich
2021-07-26 13:46 ` [RFC 02/15] dpkg-gbp: Use separate export-orig command Anton Mikanovich
2021-07-26 13:46 ` [RFC 03/15] isar-bootstrap: Export bootstrap to schroot config Anton Mikanovich
2021-07-26 13:46 ` [RFC 04/15] linux-module: Do not use shell environment Anton Mikanovich
2021-07-26 14:40   ` Jan Kiszka
2021-07-26 13:46 ` [RFC 05/15] u-boot: " Anton Mikanovich
2021-07-26 14:50   ` Jan Kiszka
2021-07-26 13:46 ` [RFC 06/15] trusted-firmware: " Anton Mikanovich
2021-07-26 13:46 ` [RFC 07/15] optee-os: " Anton Mikanovich
2021-07-26 13:46 ` [RFC 08/15] kselftest: " Anton Mikanovich
2021-07-26 13:46 ` [RFC 09/15] dpkg: Build packages with sbuild Anton Mikanovich
2021-07-26 13:46 ` [RFC 10/15] sbuild: Introduce environment variables export API Anton Mikanovich
2021-07-26 14:47   ` Jan Kiszka
2021-07-26 13:46 ` [RFC 11/15] dpkg: Remove builddeps install task Anton Mikanovich
2021-07-26 13:46 ` [RFC 12/15] dpkg-gbp: Migrate to schroot Anton Mikanovich
2021-07-26 13:46 ` [RFC 13/15] img: Use schroot for image prepare Anton Mikanovich
2021-07-26 13:46 ` [RFC 14/15] linux-mainline: Move cfg fragment test to debian/rules Anton Mikanovich
2021-07-26 14:48   ` Jan Kiszka
2021-07-26 13:46 ` [RFC 15/15] linux-custom: Prepare kernel config inside sbuild Anton Mikanovich

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