summaryrefslogtreecommitdiff
path: root/bin/bump_kernel_video_drivers
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-10-03 16:29:43 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-10-03 16:29:43 +0100
commit01e0750c93427cde2b2d19261fefa5d1373e9c37 (patch)
treeb7fb870ea7cf41fbf9174bac1d3f024656b7ccc0 /bin/bump_kernel_video_drivers
parentdfec061a2da2a936da146db7f261a840faed73ac (diff)
drop any entropy shit in here
Diffstat (limited to 'bin/bump_kernel_video_drivers')
-rwxr-xr-xbin/bump_kernel_video_drivers33
1 files changed, 0 insertions, 33 deletions
diff --git a/bin/bump_kernel_video_drivers b/bin/bump_kernel_video_drivers
deleted file mode 100755
index 4fc6d97..0000000
--- a/bin/bump_kernel_video_drivers
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-
-# PLEASE READ:
-# This script recompiles all the kernel-dependent video drivers for
-# every currently supported kernel. You can use this script when
-# you bump kernels or xorg-server.
-
-. /kogaion/bin/kernels.inc
-
-packages="=x11-drivers/nvidia-drivers-173* =x11-drivers/nvidia-drivers-304* =x11-drivers/nvidia-drivers-313*"
-non_injected_packages="x11-drivers/nvidia-drivers x11-drivers/ati-drivers x11-drivers/xf86-video-virtualbox"
-general_purpose_packages="media-video/amdcccle"
-ETP_REPO="${ETP_REPO:-kogaion-testing}"
-
-for kernel in $kernels; do
- mypackages="${packages}"
- if [ "${kernel}" != "${running_kernel}" ]; then
- mypackages="${mypackages} ${non_injected_packages}"
- fi
- # build for latest kernel
- rm -rf /usr/portage/packages/x11-drivers/*
- KERNEL_DIR="/usr/src/linux-${kernel}" emerge -B ${mypackages} || exit 1
- eit inject --to ${ETP_REPO} /usr/portage/packages/x11-drivers/*
- echo
-done
-
-# Workout drivers for the running kernel, those non injected
-eselect kernel set "linux-${running_kernel}" || exit 1
-emerge ${non_injected_packages} ${general_purpose_packages} || exit 1
-echo -5 | etc-update
-eit add ${non_injected_packages} ${general_purpose_packages} || exit 1
-
-echo "Now you should remove old packages, if you want of course"