Update gentoo-kde.sh

This commit is contained in:
verita84 2024-02-15 21:05:18 -07:00
parent 2a280d004a
commit bc2651ff0a

View File

@ -189,23 +189,11 @@ distccConfigure() {
echo echo
fi fi
} }
installCockpit() {
COCKPIT_PACKAGES+=(app-admin/cockpit-navigator app-admin/cockpit app-crypt/sscg)
for i in "${COCKPIT_PACKAGES[@]}"; do
echo "$i ~amd64" >>/etc/portage/package.accept_keywords
done
eselect repository enable inode64-overlay
eselect repository enable gig
emerge --sync inode64-overlay
emerge --sync gig
emerge $COCKPIT_PACKAGES --autounmask-write
etc-update -q --automode -5
emerge $COCKPIT_PACKAGES
}
installNvidia() { installNvidia() {
ACCEPT_KEYWORDS="~amd64" emerge x11-drivers/nvidia-drivers nvidia-cuda-toolkit www-apps/jellyfin net-im/coturn --autounmask-write ACCEPT_KEYWORDS="~amd64" emerge x11-drivers/nvidia-drivers www-apps/jellyfin net-im/coturn --autounmask-write
etc-update -q --automode -5 etc-update -q --automode -5
ACCEPT_KEYWORDS="~amd64" emerge x11-drivers/nvidia-drivers nvidia-cuda-toolkit www-apps/jellyfin net-im/coturn ACCEPT_KEYWORDS="~amd64" emerge x11-drivers/nvidia-drivers www-apps/jellyfin net-im/coturn
} }
configurePortage() { configurePortage() {
sed -i "s/-O2/-march=$CPU_TYPE -O2/i" $TARGET/etc/portage/make.conf sed -i "s/-O2/-march=$CPU_TYPE -O2/i" $TARGET/etc/portage/make.conf