We work pretty hard to make sure that the contents of the system image
don't change unless the source tree is changed, and AOSP master should be
in pretty good shape, although bugs do creep in sometimes.  The build time
and build number are stored in system/build.prop and change on every build
though.  The build number can be fixed on the command line with m
BUILD_NUMBER=12345, but there is currently no way to fix the build date.
You would need to edit build/make/tools/buildinfo_common.sh to not use
$DATE to get the current timestamp.  We would accept patches that made the
build date settable from the command line.

On Fri, Dec 21, 2018 at 7:58 AM <[email protected]> wrote:

> Hi Android Experts,
>
>
>
>                    We need some help / information that, Is there any way
> to keep android images (system.img, boot.img etc ) checksum [md5sum/crc32]
> same even after fresh build or recompilation??. Even though without
> changing a single bit in the AOSP Source code if we rebuild it, Android
> binaries checksum keeps changing. As I can understand that the
> compilers/linkers adds the date and time-stamp to the images/binaries after
> each build which causes the change in the checksum.  So my question, Is
> there any way to avoid this change in image checksum after every rebuild.
> it should change only when we change any source code. kindly update.
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to