diff mbox series

[isar-cip-core] Enable APT snapshot for reproducible builds

Message ID 94e8b177-e56e-48d8-b5d2-880758658b6a@siemens.com (mailing list archive)
State New
Headers show
Series [isar-cip-core] Enable APT snapshot for reproducible builds | expand

Commit Message

Jan Kiszka May 10, 2024, 11:19 a.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

Ensures that rebuilding this image later on, maybe outside of CI, will
still give the same result.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 kas/opt/reproducible.yml | 1 +
 1 file changed, 1 insertion(+)

Comments

Felix Moessbauer May 10, 2024, 12:19 p.m. UTC | #1
On Fri, 2024-05-10 at 13:19 +0200, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> Ensures that rebuilding this image later on, maybe outside of CI,
> will
> still give the same result.

Shall we port the sid snapshot logic over to the new
ISAR_USE_APT_SNAPSHOT=1 as well? There, we need to pin the snapshot
version to a fixed value, though.

Felix

> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>  kas/opt/reproducible.yml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/kas/opt/reproducible.yml b/kas/opt/reproducible.yml
> index bc71f28c..a14d59c2 100644
> --- a/kas/opt/reproducible.yml
> +++ b/kas/opt/reproducible.yml
> @@ -14,3 +14,4 @@ header:
>  local_conf_header:
>    reproducible-builds: |
>      WIC_DEPLOY_PARTITIONS = "1"
> +    ISAR_USE_APT_SNAPSHOT = "1"
Jan Kiszka May 10, 2024, 12:28 p.m. UTC | #2
On 10.05.24 14:19, Moessbauer, Felix (T CED OES-DE) wrote:
> On Fri, 2024-05-10 at 13:19 +0200, Jan Kiszka wrote:
>> From: Jan Kiszka <jan.kiszka@siemens.com>
>>
>> Ensures that rebuilding this image later on, maybe outside of CI,
>> will
>> still give the same result.
> 
> Shall we port the sid snapshot logic over to the new
> ISAR_USE_APT_SNAPSHOT=1 as well? There, we need to pin the snapshot
> version to a fixed value, though.

Not stopping you. ;)

Jan
diff mbox series

Patch

diff --git a/kas/opt/reproducible.yml b/kas/opt/reproducible.yml
index bc71f28c..a14d59c2 100644
--- a/kas/opt/reproducible.yml
+++ b/kas/opt/reproducible.yml
@@ -14,3 +14,4 @@  header:
 local_conf_header:
   reproducible-builds: |
     WIC_DEPLOY_PARTITIONS = "1"
+    ISAR_USE_APT_SNAPSHOT = "1"