public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/6] Fix essentials rebuild and cover with CI
@ 2025-02-21 15:48 Anton Mikanovich
  2025-02-21 15:48 ` [PATCH 1/6] CI: Add API for checking package version in rootfs Anton Mikanovich
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Anton Mikanovich @ 2025-02-21 15:48 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

Add sed package as an example of rebuiled essential package to be used
during the build inside sbuild chroot.

This patchset fixes the following use case:

$ bitbake -c build sed
$ echo -e "\npython do_rootfs_install:append() {\n\n}" >> /work/meta/classes/rootfs.bbclass
$ bitbake -c build sed

Cover it with full CI, also cover f62de6792 with the following case:

$ bitbake -c local_isarapt cowsay
$ bitbake -c build sed
$ bitbake -c cleansstate sbuild-chroot-target
$ bitbake -c build cowsay

Also introduce new CI APIs:
- Obtaining of package version installed in rootfs.
- Inserting custom sbuild hooks during test case.

Anton Mikanovich (6):
  CI: Add API for checking package version in rootfs
  CI: Add API for sbuild hook insertion
  CI: Add sed as essential rebuild test package
  CI: Add essential packages rebuild test case
  CI: Fix getVars API on fast recalling
  meta: Do not update isar-apt during sbuild chroot prepare

 meta-test/recipes-extended/sed/sed.bb         |  15 +++
 .../sbuild-chroot/sbuild-chroot.inc           |   8 +-
 testsuite/cibase.py                           | 101 ++++++++++++++++++
 testsuite/cibuilder.py                        |  26 ++++-
 testsuite/citest.py                           |  25 ++++-
 testsuite/utils.py                            |   6 ++
 6 files changed, 178 insertions(+), 3 deletions(-)
 create mode 100644 meta-test/recipes-extended/sed/sed.bb

-- 
2.34.1

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20250221154843.515037-1-amikan%40ilbers.de.

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

end of thread, other threads:[~2025-03-03 15:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-21 15:48 [PATCH 0/6] Fix essentials rebuild and cover with CI Anton Mikanovich
2025-02-21 15:48 ` [PATCH 1/6] CI: Add API for checking package version in rootfs Anton Mikanovich
2025-02-21 15:48 ` [PATCH 2/6] CI: Add API for sbuild hook insertion Anton Mikanovich
2025-02-21 15:48 ` [PATCH 3/6] CI: Add sed as essential rebuild test package Anton Mikanovich
2025-02-21 15:48 ` [PATCH 4/6] CI: Add essential packages rebuild test case Anton Mikanovich
2025-02-21 15:48 ` [PATCH 5/6] CI: Fix getVars API on fast recalling Anton Mikanovich
2025-02-21 15:48 ` [PATCH 6/6] meta: Do not update isar-apt during sbuild chroot prepare Anton Mikanovich
2025-02-21 16:34   ` 'Jan Kiszka' via isar-users
2025-03-03 10:13     ` Anton Mikanovich
2025-03-03 14:32       ` 'Jan Kiszka' via isar-users
2025-03-03 15:16         ` Anton Mikanovich

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