From patchwork Fri Nov 29 12:50:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adithya Balakumar X-Patchwork-Id: 231 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 29 Nov 2024 13:44:53 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-oi1-f192.google.com (mail-oi1-f192.google.com [209.85.167.192]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4ATCipF2025210 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 29 Nov 2024 13:44:52 +0100 Received: by mail-oi1-f192.google.com with SMTP id 5614622812f47-3ea3f5aff1esf1187501b6e.0 for ; Fri, 29 Nov 2024 04:44:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1732884286; cv=pass; d=google.com; s=arc-20240605; b=CFMwNn1a5fIdF0M6RKfzDoxxbNryLxS6gHkfZRF+nhzivLi7D76QQWqYen4B4rkkhb USYG0D3P1tQCOcc47YIahr5Uc9jDB21UQqasvNrXFGe55cRvDpw2uPZINNp9Gs21I9wF 0wlhLyagaVPmnYeCbey69BwHu/TAhahWyRAliDKRsJoxfbv6LW+vevzti4vv5xX1ZlmK PUvLrwd87bnHz94cRLfnrM4GiVq+jXcXgQmfJQYb9oaC3wB4XFtvQY5TRlpB4ByVLyYz BhtWCCVZxOVA5muwo9EKd3vfaJoQdFlQP9FHj9+3qPnodYy18Fj+hd/Lp/xbU99USpq9 Mu7g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=L4dCWffCH7r/EYwSyrYaubpidyyjrT3cF7MCBNUyfAM=; fh=EO3/vhNF2cxytzY9jFrUBK/Q7GNgK8rcMP12Mz2ZAUI=; b=fZYyUtotKf0tB1uZjfgIhU+EsF5SdZ0Trlwi2oQNXnj+/LcGvrAxzN4hjP6J2Ae2ZB VLoLu4dqCTgQDVsrVH/Pg6oWltkph/8zcJpex/NkYNZayHzlsGGFcTkA7UW0dLOTyJVM wECKgzERIS+uz0UKtqGJ26KgR51TqNjhq3o5NNdqpJLADwtuRz+3jyesvI9LIfyaB6yI qyMFsoxzOgCMM14HFMVtWOwSdi/ns/CdwDqqKiP83q5vijwK0eh6CP9tiFxeg2PfWipt PGAuvwu9zpBzLLLx5Hd1nkYO2nP3P8xvMs2I2YJvd1AyPfARZ1BNKN16c8hfeBF6rdAr CQzA==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of adithya.balakumar@toshiba-tsip.com designates 210.130.202.132 as permitted sender) smtp.mailfrom=Adithya.Balakumar@toshiba-tsip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1732884286; x=1733489086; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=L4dCWffCH7r/EYwSyrYaubpidyyjrT3cF7MCBNUyfAM=; b=Chwfy8WMVXjEtOShRvT+QLA7RQ8pf2stcNCI6X+W0y/t/2QxWKjwu/GVqCuy/uB0o3 1PgHRdpy9ixo9EXfrMtOxVNMmIS6Ger1/LzsHc/sX4uGT1YeZqvCeJdc0hLJugg8bcsN 5/9MtSv7/0SdjdWtRCR+H2xznfpg2TDEf2ujK10OB5dIRPE6tleoHhNZq16/6UzxvQ40 v1rAClMXtfdikYbZI+thqCZD0nAmQcgzRPtIgdradcGcPJJ6XfogLU1Y9dFfNKIeXNk1 tbSX3h3JFGVzdOeOSGQOZnuE8m15rQjKAAacE+fsau6dY3/JcaG9W36uhA5ILZ/NcO1F eonw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732884286; x=1733489086; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=L4dCWffCH7r/EYwSyrYaubpidyyjrT3cF7MCBNUyfAM=; b=BxZDN7L7OF4DrLeqIxWvjtYIrgR90KhGjevZAQPA6Q1h4WSGV9k3Sepbwp3LuUsMAP qSaYQs6EkLucl+y8ygyYxYepj6ImDspjEtWkQm/+8Q3m+Xb25SC60rkppn6S3Zl+fa3V +uzB+wRiRyjzcN64BwCja+yVBZpxzyS0R8+MBm5H5kw7upDTOVqAM2mCqIjK3K9uQytZ wNvcJxDtgmBHAfY4i4241WgH0oOmRYE7HNtgypnxcBXDAUDdirtIKoj89DAOs1SZn/XA sA4OxjXrYHCSAtjk8AaSW0iyN+9i8zUzr+6gQEkc3ffdyTxy0Es9EYNEyc4tNVukcjQI FyiA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCXEuqAudrkxVfAk5gDxwsyYnvykPfu/fePTCoxzQJ0dxDPWtjMPlaAkPNemVuuYRnsR4WBagxs=@isar-build.org X-Gm-Message-State: AOJu0YyV85mwPItvd7xPX10A3BbsAPSyjhfqrYNGGLTEs0H6daBVsbRk 5+I7ElXagr7cOGuCkKDyrbXhn7bQkY4/FtBPX4OKUO+I2XHHMemw X-Google-Smtp-Source: AGHT+IHMwWMVp9m8AxL/DM30b9Iy0AzkQzhG9xAkzojUIIkvEhzKxR8HnDLVpIpzG1MdF1rUTJ7lTg== X-Received: by 2002:a05:6808:3a14:b0:3ea:695f:c064 with SMTP id 5614622812f47-3ea6db6de23mr9266079b6e.2.1732884286250; Fri, 29 Nov 2024 04:44:46 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6820:4c82:b0:5eb:6ac9:e863 with SMTP id 006d021491bc7-5f217b32f13ls933246eaf.1.-pod-prod-07-us; Fri, 29 Nov 2024 04:44:45 -0800 (PST) X-Received: by 2002:a4a:e845:0:b0:5ee:a5b:d172 with SMTP id 006d021491bc7-5f20a1ad53bmr8642512eaf.5.1732884285083; Fri, 29 Nov 2024 04:44:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732884285; cv=none; d=google.com; s=arc-20240605; b=AXaiS/b1/+FdKlikSYYWZoIEfpyuJxa6zKcAeKoEZDOuLuz801bghZvCOBcV2eSM08 5SImrrOWDln5fmtpA4N5z32P02OQQQWsksIhXj7/QRiADftcNhxsNU330QPrK+x0f/6Y ZpqJGpSsIjDdZVt+ta5BYcI68Dr9H/xMf90nPsXnZhu/BrPf+XrO2uJaYcg+8xT8KHlm xPmiAYtG9oJqC6uJ+MG+MIWVgaG1XTvR9rtvn5DHR1AhxFcbogAUMnUNRuHdIoiUGeA6 zEbfayB9yxVb6dhcbht/trlbhsGjwDKa7NXE96UN3GRbdpaqUG7ArtDX9/llg0fnO3sP PmKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=GQ/MFbOYZV0S9HyI2UM4wi2MnEOCEjTVIRVvMzQEXYM=; fh=95wLIF1hw/zIpqq2Ec+GyUgTsRZ8XfjQM59TjRw6kJk=; b=AbFaaHWAgLPUE7flXPCdoPSPg4Fy0WG5y6Jb2AvgfdzTfCpPT5jjvgEgpkIxAVZ3an QRFlPXSJIBQi4oQrWk4fYXDxShyR/19UCBzGVbJd1t5Fqbcx5Od7cxY7DafmMlkJQqPY f+OOjGYT0Lw7BHvnUTYcyNGuPlglV0UOerUIk0rj/EEJ1vk1L2iT6EnHvkcIsYFpsz4O QiCrYShfa02nJ6zn7oG52RqAxtQyP//pX1aK7CvwcLgy3QpbchFghNYUZAs+7FhlB9xG KrC70iahStuVUnd2XjPtAvdzmnb7Jsx0r/AkiA1Qi7x+0JQAwHheXvA2SdY1OpXt6AyH TOlg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of adithya.balakumar@toshiba-tsip.com designates 210.130.202.132 as permitted sender) smtp.mailfrom=Adithya.Balakumar@toshiba-tsip.com Received: from mo-csw.securemx.jp (mo-csw1121.securemx.jp. [210.130.202.132]) by gmr-mx.google.com with ESMTPS id 46e09a7af769-71d72652cf3si148556a34.4.2024.11.29.04.44.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 04:44:44 -0800 (PST) Received-SPF: pass (google.com: domain of adithya.balakumar@toshiba-tsip.com designates 210.130.202.132 as permitted sender) client-ip=210.130.202.132; Received: by mo-csw.securemx.jp (mx-mo-csw1121) id 4ATCifKT1585159; Fri, 29 Nov 2024 21:44:42 +0900 X-Iguazu-Qid: 2rWh0CjeP0689rXhLM X-Iguazu-QSIG: v=2; s=0; t=1732884281; q=2rWh0CjeP0689rXhLM; m=/hbSl0cMRt8L7IlabALETRzL+zIGSlVDMg+bsnNNiR0= Received: from imx12-a.toshiba.co.jp ([38.106.60.135]) by relay.securemx.jp (mx-mr1120) id 4ATCifdH2833510 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 29 Nov 2024 21:44:41 +0900 From: Adithya Balakumar To: isar-users@googlegroups.com Cc: jan.kiszka@siemens.com, kazuhiro3.hayashi@toshiba.co.jp, dinesh.kumar@toshiba-tsip.com, shivanand.kunijadar@toshiba-tsip.com, sai.sathujoda@toshiba-tsip.com, adithya.balakumar@toshiba-tsip.com Subject: [PATCH v1 0/1] Generate reproducible ext4 images with IMAGE_CMD Date: Fri, 29 Nov 2024 18:20:39 +0530 X-TSB-HOP2: ON Message-Id: <20241129125040.1231947-1-Adithya.Balakumar@toshiba-tsip.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 X-OriginalArrivalTime: 29 Nov 2024 12:44:39.0693 (UTC) FILETIME=[748613D0:01DB425C] X-Original-Sender: adithya.balakumar@toshiba-tsip.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of adithya.balakumar@toshiba-tsip.com designates 210.130.202.132 as permitted sender) smtp.mailfrom=Adithya.Balakumar@toshiba-tsip.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= e2fsprogs v1.47.1 supports generating reproducible ext4 images out of the box but this version of e2fsprogs is available for debian trixie onwards. e2fsprogs added support for timestamp clamping to SOURCE_DATE_EPOCH in v1.47.1 Additionally, a deterministic uuid and a hash seed must be set to generate a reproducible image. Adithya Balakumar (1): imagetypes.bbclass: Generate reproducible ext4 images using IMAGE_CMD meta/classes/imagetypes.bbclass | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-)