mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 07:01:13 +02:00
parallel_emerge now checks the use flags of installed packages against new packages, and checks the use flags of binary packages against source packages, so that, when the appropriate flags are used, we never install packages with the wrong use flags. I've also fix related bugs in rebuild_blacklist. Previously, rebuild_blacklist was too aggressive -- it even blacklisted packages from being rebuilt if they are explicit workon packages. This bug also causes problems for the use flag detection code because packages in this list would not get rebuilt when the use flags changed. So I fixed this too. Also relatedly, I've fixed our code for checking whether --selective is enabled to look at the --newuse and --reinstall=changed-use flags. These flags actually enable --selective implicitly, so we need to honor that for correct behavior. BUG=chromium-os:6359 TEST=Made sure that packages get rebuilt / reinstalled when use flags change. Change-Id: I2d945b552863410ec7b286c3ed55ae4a64336ed5 Review URL: http://codereview.chromium.org/3361002
Description
Languages
Shell
93.1%
Python
6.9%