From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752001AbdBIIqW (ORCPT ); Thu, 9 Feb 2017 03:46:22 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:47142 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751675AbdBIIqV (ORCPT ); Thu, 9 Feb 2017 03:46:21 -0500 X-Auth-Info: 46HEVELBAp87LFhU/l4DLQ/0Bbd0qIH2UjhPOHLolwM= Date: Thu, 9 Feb 2017 09:46:13 +0100 From: Lukasz Majewski To: Andrew Donnellan Cc: linux-kernel@vger.kernel.org Subject: Re: Build Linux kernel to have comparable zImages Message-ID: <20170209094613.62f602ca@jawa> In-Reply-To: <0e866eb6-8080-1c2b-9759-b02b2bd84ed9@au1.ibm.com> References: <20170208102032.3c96ed31@jawa> <0e866eb6-8080-1c2b-9759-b02b2bd84ed9@au1.ibm.com> Organization: denx.de X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 9 Feb 2017 11:25:15 +1100 Andrew Donnellan wrote: > On 08/02/17 20:20, Lukasz Majewski wrote: > > Dear All, > > > > Maybe somebody can point me to solution to the following problem: > > > > Problem: > > > > I do want to be able to compare (with e.g. md5sum, sha1) two linux > > zImages. The problem is that Linux compiles in current build time > > into the binary. Hence, even two identical builds will have > > different hash. > > > > Why: > > > > I do want to do some considerable Kconfig rework and avoid situation > > where some option would be left not enabled. > > You might want to look at > https://github.com/hardenedlinux/grsecurity-reproducible-build, I'm > not familiar with it at all but it seems to be somewhat in the > direction you're after. Thanks for pointing this out :-). > Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de