Message ID | 20230221154138.15146-2-venkata.pyla@toshiba-tsip.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | CI for reproducible build check | expand |
On 21.02.23 16:41, venkata.pyla@toshiba-tsip.com wrote: > From: venkata pyla <venkata.pyla@toshiba-tsip.com> > > This kas file set the 'SOURCE_DATE_EPOCH' variable to last commit > timestamp required for building image reproducible. > > Signed-off-by: venkata pyla <venkata.pyla@toshiba-tsip.com> > --- > 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 <venkata.pyla@toshiba-tsip.com> > +# > +# 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]}" > + Should we already make this available via Kconfig, or is this too early as we only a generate reproducible rootfs so far, no device images? Jan
>-----Original Message----- >From: cip-dev@lists.cip-project.org <cip-dev@lists.cip-project.org> On Behalf >Of Jan Kiszka >Sent: 22 February 2023 02:08 >To: pyla venkata(TSIP TMIEC ODG Porting) <Venkata.Pyla@toshiba- >tsip.com>; cip-dev@lists.cip-project.org >Cc: dinesh kumar(TSIP TMIEC ODG Porting) <dinesh.kumar@toshiba- >tsip.com>; hayashi kazuhiro(林 和宏 □SWC◯ACT) ><kazuhiro3.hayashi@toshiba.co.jp> >Subject: Re: [cip-dev] [isar-cip-core 1/2] kas/opt/reproducible.yml: Add kas file >for reproducible builds target > >On 21.02.23 16:41, venkata.pyla@toshiba-tsip.com wrote: >> From: venkata pyla <venkata.pyla@toshiba-tsip.com> >> >> This kas file set the 'SOURCE_DATE_EPOCH' variable to last commit >> timestamp required for building image reproducible. >> >> Signed-off-by: venkata pyla <venkata.pyla@toshiba-tsip.com> >> --- >> 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 <venkata.pyla@toshiba-tsip.com> # # >> +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]}" >> + > >Should we already make this available via Kconfig, or is this too early as we >only a generate reproducible rootfs so far, no device images? Thanks for pointing out, I think it is better to add when the device images are become reproducible. > >Jan > >-- >Siemens AG, Technology >Competence Center Embedded Linux
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 <venkata.pyla@toshiba-tsip.com> +# +# 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]}" +