From patchwork Wed Feb 22 09:11:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Venkata Pyla X-Patchwork-Id: 13148809 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA95CC64ED6 for ; Wed, 22 Feb 2023 09:11:35 +0000 (UTC) Received: from mo-csw.securemx.jp (mo-csw.securemx.jp [210.130.202.133]) by mx.groups.io with SMTP id smtpd.web11.4603.1677057089094593872 for ; Wed, 22 Feb 2023 01:11:30 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: toshiba-tsip.com, ip: 210.130.202.133, mailfrom: venkata.pyla@toshiba-tsip.com) Received: by mo-csw.securemx.jp (mx-mo-csw1116) id 31M9BQSs015670; Wed, 22 Feb 2023 18:11:26 +0900 X-Iguazu-Qid: 2wHHyxo6x6HVoaDhZ5 X-Iguazu-QSIG: v=2; s=0; t=1677057086; q=2wHHyxo6x6HVoaDhZ5; m=gCaYdRYZxDryFOsh2v7vWwEwISY5mstfvIQ99T2/pXk= Received: from imx12-a.toshiba.co.jp ([38.106.60.135]) by relay.securemx.jp (mx-mr1113) id 31M9BPc1002066 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 22 Feb 2023 18:11:25 +0900 From: venkata.pyla@toshiba-tsip.com To: cip-dev@lists.cip-project.org, jan.kiszka@siemens.com Cc: venkata pyla , dinesh.kumar@toshiba-tsip.com, kazuhiro3.hayashi@toshiba.co.jp Subject: [isar-cip-core 1/2] kas/opt/reproducible.yml: Add kas file for reproducible builds target Date: Wed, 22 Feb 2023 14:41:58 +0530 X-TSB-HOP2: ON Message-Id: <20230222091159.18216-2-venkata.pyla@toshiba-tsip.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230222091159.18216-1-venkata.pyla@toshiba-tsip.com> References: <20230222091159.18216-1-venkata.pyla@toshiba-tsip.com> MIME-Version: 1.0 X-OriginalArrivalTime: 22 Feb 2023 09:11:23.0151 (UTC) FILETIME=[A25639F0:01D9469D] List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 22 Feb 2023 09:11:35 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/10775 From: venkata pyla This kas file set the 'SOURCE_DATE_EPOCH' variable to last commit timestamp required for building reproducible image. Signed-off-by: venkata pyla --- kas/opt/reproducible.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 kas/opt/reproducible.yml diff --git a/kas/opt/reproducible.yml b/kas/opt/reproducible.yml new file mode 100644 index 0000000..173c018 --- /dev/null +++ b/kas/opt/reproducible.yml @@ -0,0 +1,17 @@ +# +# CIP Core, generic profile +# +# Copyright (c) Toshiba Corporation, 2023 +# +# Authors: +# Venkata Pyla +# +# SPDX-License-Identifier: MIT +# +header: + version: 12 + +local_conf_header: + reproducible-builds: | + SOURCE_DATE_EPOCH = "${@bb.process.run("git -C ${LAYERDIR_cip-core} log -1 --pretty=%ct | tr -d '\n'")[0]}" +