On 4/1/07, Sam Ravnborg <sam@ravnborg.org> wrote:
quoted text > On Sun, Apr 01, 2007 at 03:56:30PM -0300, Edgardo Hames wrote:
> > I'm working on a project with teams spread across the world and we all
> > work on the same repository patching the kernel and then integrating
> > into a common main branch. Even though we label the source code, we
> > would like to make sure that we are all building the same kernel by
> > running md5sum on the resulting binary.
> >
> > Right now, this is not possible because the kernel includes a
> > timestamp and a build number on the binary. What are this timestamps
> > used for? Can we just remove them? Is there any other thing that may
> > lead to different binaries? (we are using the exact toolchains and
> > build machines, so we can assume that the same executable is generated
> > if the input source is the same).
>
> Soon you will be able to say:
>
> KBUILD_BUILD_TIMESTAMP="2007-02-30 01:02.03" KBUILD_BUILD_VERSION=99 make
>
> It will hit -mm soon and mainline in next merge window.
> Patch is in kbuild.git at git.kernel.org.
This is so much more than I could have asked for! I will try this
patch on my version of the kernel.
Thanks a lot,
Ed
--
Encontrá a "Tu psicópata favorito"
http://tuxmaniac.blogspot.com
The future is not what it used to be.
-- Paul Valéry
-
unsubscribe notice To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Messages in current thread:
Re: Rebuilding and checksumming the Linux kernel , Edgardo Hames , (Sun Apr 1, 5:53 pm)