update_chroot: Don't reinstall binpkgs based on date
The combination of --update, --usepkgonly, and --deep causes emerge to
reinstall all binpkgs that have a newer BUILD_TIME. Since we upload new
prebuilts when the SDK builder runs, this causes a large fraction of the
entire chroot to get reinstalled every couple of days.
What we really want is for changed/updated packages and their
dependencies to be reinstalled, so --deep is still needed. Pass
--rebuilt-binaries=n to avoid reinstalling packages where the only
change is the build timestamp.
TEST=./update_chroot installs 8 packages instead of 485
Reviewed-by: Chris McDonald <firstname.lastname@example.org>
Reviewed-by: Jack Rosenthal <email@example.com>
Tested-by: Benjamin Gordon <firstname.lastname@example.org>
Commit-Queue: Benjamin Gordon <email@example.com>
Reviewed-by: Mike Frysinger <firstname.lastname@example.org>
1 file changed