Remove unstable archs from keywords

Using the testing/unstable keyword ~$ARCH causes the package
selection to break toolchain packages with -9999 ebuilds.

This should have been fixed in crossdev already, but there was
a typo in the stable selection for XPGK(S).

The previous command as specified in CLs like crrev.com/c/4591515
should generate these configs instead.

BUG=b:293898274
TEST=./update_chroot \
     && cp /etc/portage/package.accept_keywords/cross-* \
        ~/chromiumos/src/third_party/toolchains-overlay/profiles/base/package.accept_keywords/

Change-Id: I079fd70fc8df1a48cf6afb6745c08080cc66b7f0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/toolchains/+/4739167
Commit-Queue: Jordan Abrahams-Whitehead <ajordanr@google.com>
Tested-by: Jordan Abrahams-Whitehead <ajordanr@google.com>
Reviewed-by: George Burgess <gbiv@chromium.org>
6 files changed
tree: 2fc0fac42d943f38270535cbf9e15f8e18a8a3b4
  1. cross-arm-none-eabi/
  2. cross-armv7m-cros-eabi/
  3. cross-x86_64-cros-linux-gnu/
  4. cross-x86_64-cros-linux-gnu-bootstrap/
  5. metadata/
  6. profiles/
  7. copy_crossdev.sh
  8. DIR_METADATA
  9. OWNERS
  10. README.md
README.md

CrOS Toolchains Overlay

This overlay holds the various CrOS toolchain packages.

There is a single cross-*-linux-* directory as all of our Linux toolchains use the same underlying packages. This isn't a strict requirement to keep in case we ever want to change or tweak one target, but it makes management a little bit easier.

If you need to update one of the generated configs, use the ./copy_crossdev.sh script to copy the crossdev generated config from /etc/portage into this repo. i.e.,

  • sudo crossdev --stable --show-fail-log --env 'FEATURES=splitdebug' -P --oneshot --overlays '/mnt/host/source/src/third_party/chromiumos-overlay /mnt/host/source/src/third_party/eclass-overlay /mnt/host/source/src/third_party/portage-stable' --ov-output /usr/local/portage/crossdev -t i686-cros-linux-gnu --ex-pkg sys-libs/libxcrypt --ex-pkg sys-libs/llvm-libunwind --ex-pkg sys-libs/libcxx --binutils '[stable]' --gcc '[stable]' --kernel '[stable]' --libc '[stable]' --ex-gdb --init-target
  • ./copy_crossdev.sh