From 1280f406f8da4264ddc7a26fc1435362ea0320a5 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Thu, 16 Mar 2023 18:43:30 -0500 Subject: [PATCH] yellow: Only install stable packages on the host Since the container images we're using as a base for the build system only contain stable packages, setting ACCEPT_KEYWORDS to allow unstable packages globally can cause a lot of rebuilds and potentially break things. Instead, we only set ~arch for the packages we actually need recent versions on the host. This does not affect packages installed in the target root, of course. --- yellow/portage/host/etc/portage/make.conf/15-keywords.conf | 2 +- .../portage/host/etc/portage/package.accept_keywords/genimage | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 yellow/portage/host/etc/portage/package.accept_keywords/genimage diff --git a/yellow/portage/host/etc/portage/make.conf/15-keywords.conf b/yellow/portage/host/etc/portage/make.conf/15-keywords.conf index e90c927..9768513 100644 --- a/yellow/portage/host/etc/portage/make.conf/15-keywords.conf +++ b/yellow/portage/host/etc/portage/make.conf/15-keywords.conf @@ -1 +1 @@ -ACCEPT_KEYWORDS="~${ARCH} ${ARCH}" +ACCEPT_KEYWORDS="${ARCH}" diff --git a/yellow/portage/host/etc/portage/package.accept_keywords/genimage b/yellow/portage/host/etc/portage/package.accept_keywords/genimage new file mode 100644 index 0000000..7aae8d6 --- /dev/null +++ b/yellow/portage/host/etc/portage/package.accept_keywords/genimage @@ -0,0 +1 @@ +sys-fs/genimage ~amd64