{specs,portage}: fork portage dir for x86

New portage config dir for x86 to disable sse2-requiring things.
Hopefully this is temporary.

Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
Ben Kohler 2024-06-20 12:02:15 -05:00
parent a04414bea8
commit 5f53ff07c8
No known key found for this signature in database
GPG key ID: 7A85BDA4D57605C7
22 changed files with 4402 additions and 4 deletions

View file

@ -0,0 +1,3 @@
sys-block/lsiutil
sys-block/megarc
sys-fs/dislocker

View file

@ -0,0 +1 @@
net-wireless/broadcom-sta

View file

@ -0,0 +1,2 @@
# Need newest genkernel for x86 busybox fixes
=sys-kernel/genkernel-4.3.14

View file

@ -0,0 +1,3 @@
# Allow linux-firmware and other required packages in @BINARY-REDISTRIBUTABLE
# license group
*/* @BINARY-REDISTRIBUTABLE

View file

@ -0,0 +1,5 @@
# preemptively...
# new glibc tends to lead to trouble with sandbox (and qemu),
# especially for the unstable arches
#
>=sys-libs/glibc-2.40

View file

@ -0,0 +1,2 @@
# force using rust-bin (this affects only "desktop stages")
dev-lang/rust

View file

@ -0,0 +1,3 @@
dev-libs/libpcre2 jit
mail-mta/ssmtp mta
sys-apps/busybox -static

View file

@ -0,0 +1 @@
dev-libs/libpcre2 pcre32

View file

@ -0,0 +1,4 @@
net-fs/cifs-utils -acl -ads
sys-libs/ntdb python
sys-libs/tdb python
sys-libs/tevent python

View file

@ -0,0 +1 @@
sys-apps/util-linux static-libs

View file

@ -0,0 +1 @@
sys-kernel/gentoo-sources symlink

View file

@ -0,0 +1 @@
sys-kernel/linux-firmware savedconfig

View file

@ -0,0 +1 @@
*/* lvm

View file

@ -0,0 +1,5 @@
# There is a circular dependency between sys-libs/libcap[pam] and
# sys-libs/pam[filecaps]. Since the livecd is configured to automatically log
# in as root, caps are not useful, so just disable USE=filecaps.
*/* -filecaps

View file

@ -0,0 +1 @@
sys-auth/pambase -passwdqc

View file

@ -0,0 +1 @@
net-wireless/wpa_supplicant tkip wps

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,57 @@
#!/bin/bash
# This script operates on a new vanilla linux-firmware savedconfig file to create
# an updated pruned file for minimal livecds. It will directly replace the
# linux-firwmare file in this directory.
#
# Some firmware types we prune include GPU firmwares, DVB firmwares, and unusually
# large firmwares for enterprise 10G+ NICs.
# Example usage:
# ./prune_firmwares.sh /etc/portage/savedconfig/sys-kernel/linux-firmware-20230515
# git add . && git commit -sS
echo "# $(git config user.name) <$(git config user.email)> ($(date +%Y-%m-%d))" > linux-firmware
echo "# Last updated for $(basename ${1})" >> linux-firmware
sed -e's/^a300/#a300/' \
-e 's/^amd/#amd/' \
-e 's/^airoha/#airoha/' \
-e 's/^atusb/#atusb/' \
-e 's/^av7110/#av7110/' \
-e 's/^cadence/#cadence/' \
-e 's/^cavium/#cavium/' \
-e 's/^cmmb/#cmmb/' \
-e 's/^dabusb/#dabusb/' \
-e 's/^dsp56k/#dsp56k/' \
-e 's/^dvb/#dvb/' \
-e 's/^emi26/#emi26/' \
-e 's/^ene-/#ene-/' \
-e 's/^f2255/#f2255/' \
-e 's/^go7007/#go7007/' \
-e 's/^hfi1/#hfi1/' \
-e 's/^i915/#i915/' \
-e 's%^intel/vsc%#intel/vsc%' \
-e 's%^intel/ipu%#intel/ipu%' \
-e 's/^isdbt/#isdbt/' \
-e 's/^keyspan/#keyspan/' \
-e 's/^liquidio/#liquidio/' \
-e 's/^matrox/#matrox/' \
-e 's/^mellanox/#mellanox/' \
-e 's/^moxa/#moxa/' \
-e 's/^mts/#mts/' \
-e 's/^netronome/#netronome/' \
-e 's/^nvidia/#nvidia/' \
-e 's/^qat/#qat/' \
-e 's/^qed/#qed/' \
-e 's/^r128/#r128/' \
-e 's/r8a779x/#r8a779x/' \
-e 's/^radeon/#radeon/' \
-e 's/^s5p-mfc/#s5p-mfc/' \
-e 's/^sms1/#sms1/' \
-e 's/^sxg/#sxg/' \
-e 's/^tdmb/#tdmb/' \
-e 's/^tlg/#tlg/' \
-e 's/^usbdux/#usbdux/' \
-e 's/^v4l-/#v4l-/' \
${1} >> linux-firmware

View file

@ -6,7 +6,7 @@ profile: default/linux/x86/23.0/i686/hardened
snapshot_treeish: @TREEISH@ snapshot_treeish: @TREEISH@
source_subpath: 23.0-hardened/stage3-i686-hardened-openrc-@TIMESTAMP@ source_subpath: 23.0-hardened/stage3-i686-hardened-openrc-@TIMESTAMP@
compression_mode: pixz compression_mode: pixz
portage_confdir: @REPO_DIR@/releases/portage/isos portage_confdir: @REPO_DIR@/releases/portage/isos-x86
livecd/use: livecd/use:
alsa alsa

View file

@ -5,7 +5,7 @@ rel_type: 23.0-hardened
profile: default/linux/x86/23.0/i686/hardened profile: default/linux/x86/23.0/i686/hardened
snapshot_treeish: @TREEISH@ snapshot_treeish: @TREEISH@
source_subpath: 23.0-hardened/livecd-stage1-i686-hardened-openrc-@TIMESTAMP@ source_subpath: 23.0-hardened/livecd-stage1-i686-hardened-openrc-@TIMESTAMP@
portage_confdir: @REPO_DIR@/releases/portage/isos portage_confdir: @REPO_DIR@/releases/portage/isos-x86
livecd/bootargs: dokeymap livecd/bootargs: dokeymap
livecd/fstype: squashfs livecd/fstype: squashfs

View file

@ -6,7 +6,7 @@ profile: default/linux/x86/23.0/i486
snapshot_treeish: @TREEISH@ snapshot_treeish: @TREEISH@
source_subpath: 23.0-default/stage3-i486-openrc-@TIMESTAMP@ source_subpath: 23.0-default/stage3-i486-openrc-@TIMESTAMP@
compression_mode: pixz compression_mode: pixz
portage_confdir: @REPO_DIR@/releases/portage/isos portage_confdir: @REPO_DIR@/releases/portage/isos-x86
livecd/use: livecd/use:
alsa alsa

View file

@ -5,7 +5,7 @@ rel_type: 23.0-default
profile: default/linux/x86/23.0/i486 profile: default/linux/x86/23.0/i486
snapshot_treeish: @TREEISH@ snapshot_treeish: @TREEISH@
source_subpath: 23.0-default/livecd-stage1-i486-openrc-@TIMESTAMP@ source_subpath: 23.0-default/livecd-stage1-i486-openrc-@TIMESTAMP@
portage_confdir: @REPO_DIR@/releases/portage/isos portage_confdir: @REPO_DIR@/releases/portage/isos-x86
livecd/bootargs: dokeymap livecd/bootargs: dokeymap
#livecd/cdtar: /usr/share/catalyst/livecd/cdtar/isolinux-elilo-memtest86+-cdtar.tar.bz2 #livecd/cdtar: /usr/share/catalyst/livecd/cdtar/isolinux-elilo-memtest86+-cdtar.tar.bz2