public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/8] Make all sstate artifacts reproducible
@ 2026-08-20  8:30 'Felix Moessbauer' via isar-users
  2026-08-20  8:30 ` [PATCH 1/8] make bootstrap output reproducible 'Felix Moessbauer' via isar-users
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: 'Felix Moessbauer' via isar-users @ 2026-08-20  8:30 UTC (permalink / raw)
  To: isar-users; +Cc: quirin.gylstorff, Felix Moessbauer

Currently many artifacts we deploy to the sstate cache are not reproducible
by itself. By that, rebuilds of the same artifact result in different sstate hashes,
which leads to cache trashing.

As a preparation to use the hashequiv signature handler, we have to make all artifacts
reproducible, as this handler tracks which input hashes influence the output hash (hash
of the artifact).

As a result of this requirement, we can no longer split the do_rootfs_install task
(which is cached) and the do_rootfs_postprocess task which makes the rootfs reproducible.
Instead, we now fold the postprocess task into the install task, similar to how OE does it.

Best regards,
Felix Moessbauer
Siemens AG

Felix Moessbauer (8):
  make bootstrap output reproducible
  rootfs: fold do_rootfs_postprocess task into do_rootfs_install
  rootfs: make tarring of sstate artifact reproducible
  rootfs: split clean_package_cache command
  rootfs: make file timestamps reproducible
  repository: create isar-apt with a reproducible timestamp
  make our internal chroots bit-by-bit reproducible
  rootfs: make capture of apt state bit-by-bit reproducible

 RECIPE-API-CHANGELOG.md                       |  6 ++
 .../recipes-core/images/isar-rootfs-ci.bb     |  2 +-
 .../image-account-extension.bbclass           |  3 -
 meta/classes-recipe/image.bbclass             | 15 ++--
 meta/classes-recipe/initramfs.bbclass         |  5 +-
 meta/classes-recipe/repository.bbclass        | 19 +++++
 meta/classes-recipe/rootfs.bbclass            | 72 ++++++++++---------
 meta/classes-recipe/sdk.bbclass               |  2 +-
 .../isar-mmdebstrap/isar-mmdebstrap.inc       |  2 +
 9 files changed, 74 insertions(+), 52 deletions(-)

-- 
2.55.0

-- 
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/20260820083014.3377283-1-felix.moessbauer%40siemens.com.

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

end of thread, other threads:[~2026-08-20  8:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-20  8:30 [PATCH 0/8] Make all sstate artifacts reproducible 'Felix Moessbauer' via isar-users
2026-08-20  8:30 ` [PATCH 1/8] make bootstrap output reproducible 'Felix Moessbauer' via isar-users
2026-08-20  8:30 ` [PATCH 2/8] rootfs: fold do_rootfs_postprocess task into do_rootfs_install 'Felix Moessbauer' via isar-users
2026-08-20  8:30 ` [PATCH 3/8] rootfs: make tarring of sstate artifact reproducible 'Felix Moessbauer' via isar-users
2026-08-20  8:30 ` [PATCH 4/8] rootfs: split clean_package_cache command 'Felix Moessbauer' via isar-users
2026-08-20  8:30 ` [PATCH 5/8] rootfs: make file timestamps reproducible 'Felix Moessbauer' via isar-users
2026-08-20  8:30 ` [PATCH 6/8] repository: create isar-apt with a reproducible timestamp 'Felix Moessbauer' via isar-users
2026-08-20  8:30 ` [PATCH 7/8] make our internal chroots bit-by-bit reproducible 'Felix Moessbauer' via isar-users
2026-08-20  8:30 ` [PATCH 8/8] rootfs: make capture of apt state " 'Felix Moessbauer' via isar-users

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