From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1a8Uxy-0006ht-Ne for mharc-grub-devel@gnu.org; Mon, 14 Dec 2015 10:23:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8Uxw-0006hi-9h for grub-devel@gnu.org; Mon, 14 Dec 2015 10:23:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8Uxs-0002vF-3j for grub-devel@gnu.org; Mon, 14 Dec 2015 10:23:08 -0500 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:33285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8Uxr-0002v8-Tv for grub-devel@gnu.org; Mon, 14 Dec 2015 10:23:04 -0500 Received: by mail-wm0-x235.google.com with SMTP id n186so50971419wmn.0 for ; Mon, 14 Dec 2015 07:23:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type; bh=+diCpbzRkHU0OxWitw+Ce4nIeavJWunoqgh22/nPaI4=; b=j2DS88ntY7FU5cpa+XzTTLkma1tMmZHfc3QksfDGwz1OiWmaxtEfwyn5pfpytHv5Nd wVtuW6Ri4tjicwZvZpfSXIVqnACLDn3053R8m2F+l5KysD/p+8NwnuoqxjhGYmHUh13p FsqBq446pdpHNe3CC15rprQcb1SYGgOuvup3Rkoxw3v8kErJquyYHgWyuh4RrD1U/+uR g/7Qo7+7K2K2cJ7JRLXSlMLsdwC3ERH2hx7yL6bJSamRuhEPHc9mZAVXM4uKZtGGtdG1 E/Ia4xoLgSl6GL1JkQP9NzSirMcOulUjnJV+X5BYXxODrAjdtjk7+yrpMEJC3b6XEhRF yrRw== X-Received: by 10.28.132.146 with SMTP id g140mr10533499wmd.70.1450106582987; Mon, 14 Dec 2015 07:23:02 -0800 (PST) Received: from ?IPv6:2620:0:105f:fd00:a2a8:cdff:fe64:b3b5? ([2620:0:105f:fd00:a2a8:cdff:fe64:b3b5]) by smtp.gmail.com with ESMTPSA id k125sm16610799wmf.2.2015.12.14.07.23.01 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Dec 2015 07:23:01 -0800 (PST) Subject: Re: [PATCH v3 3/3] Makefile/coreboot use SOURCE_DATE_EPOCH as time source if set To: grub-devel@gnu.org References: <1449253942-29510-1-git-send-email-lynxis@fe80.eu> <1449253942-29510-4-git-send-email-lynxis@fe80.eu> From: =?UTF-8?Q?Vladimir_'=cf=86-coder/phcoder'_Serbinenko?= Message-ID: <566EDED4.5010303@gmail.com> Date: Mon, 14 Dec 2015 16:23:00 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.3.0 MIME-Version: 1.0 In-Reply-To: <1449253942-29510-4-git-send-email-lynxis@fe80.eu> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="u0uKH3CXSaqC5Eeo4USngEoXX2sLM6tHo" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::235 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2015 15:23:09 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --u0uKH3CXSaqC5Eeo4USngEoXX2sLM6tHo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Looks good On 04.12.2015 19:32, Alexander Couzens wrote: > mkstandalone sets timestamps for files which can be overriden by a fixe= d_timestamp. > This makes it possible to build reproducible builds for coreboot. >=20 > To build a reproducible build of grub for coreboot do: > export SOURCE_DATE_EPOCH=3D1134242 > make default_payload.elf > --- > Makefile.am | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/Makefile.am b/Makefile.am > index 994ebbd..5c756d7 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -403,7 +403,7 @@ bootcheck: $(BOOTCHECKS) > =20 > if COND_i386_coreboot > default_payload.elf: grub-mkstandalone grub-mkimage > - pkgdatadir=3D. ./grub-mkstandalone --grub-mkimage=3D./grub-mkimage -O= i386-coreboot -o $@ --modules=3D'ahci pata ehci uhci ohci usb_keyboard u= sbms part_msdos xfs ext2 fat at_keyboard part_gpt usbserial_usbdebug cbfs= ' --install-modules=3D'ls linux search configfile normal cbtime cbls memr= w iorw minicmd lsmmap lspci halt reboot hexdump pcidump regexp setpci lsa= cpi chain test serial multiboot cbmemc linux16 gzio echo help' --fonts=3D= --themes=3D --locales=3D -d grub-core/ /boot/grub/grub.cfg=3D$(srcdir)/c= oreboot.cfg > + pkgdatadir=3D. ./grub-mkstandalone --grub-mkimage=3D./grub-mkimage -O= i386-coreboot -o $@ --modules=3D'ahci pata ehci uhci ohci usb_keyboard u= sbms part_msdos xfs ext2 fat at_keyboard part_gpt usbserial_usbdebug cbfs= ' --install-modules=3D'ls linux search configfile normal cbtime cbls memr= w iorw minicmd lsmmap lspci halt reboot hexdump pcidump regexp setpci lsa= cpi chain test serial multiboot cbmemc linux16 gzio echo help' --fonts=3D= --themes=3D --locales=3D -d grub-core/ /boot/grub/grub.cfg=3D$(srcdir)/c= oreboot.cfg $(if $(SOURCE_DATE_EPOCH),-t $(SOURCE_DATE_EPOCH)) > endif > =20 > endif >=20 --u0uKH3CXSaqC5Eeo4USngEoXX2sLM6tHo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREKAAYFAlZu3tUACgkQmBXlbbo5nOsLHQD+IMN7Hu5ZQlnRsxcskTgN2QwY RJafUY5Q6CPPh1Ofa3MA/2D7+AnMyUYxp+AWxhLjpeM9jFHaCKTHlPTmiLdfW78h =891m -----END PGP SIGNATURE----- --u0uKH3CXSaqC5Eeo4USngEoXX2sLM6tHo--