[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    build stamps
From:       "Artis Caune" <artis.caune () gmail ! com>
Date:       2008-06-25 8:21:26
Message-ID: 9e20d71e0806250121i33bbdf07y2a5ce910e79a7b57 () mail ! gmail ! com
[Download RAW message or body]

If you are making world or release twice from one source, you will get
some binaries and lot of libraries which differ because of time
stamps:
   # make buildworld
   # make installworld DESTDIR=/home/build1
   # rm -r /usr/obj/usr
   # make buildworld
   # make installworld DESTDIR=/home/build2

   # diff -r /home/build1 /home/build2


freebsd-update-server also make world twice to find out where those
build stamps are.

I tried to freeze clock on build box while repeating build process:
   # while true; do date -n 0000; sleep 0.5; done

and there were no differences between two builds.


Is there any harm if I build releases with frozen clock?
or maybe load kld module which replace gettimeofday syscall at build time?

thanks,
Artis
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic