summaryrefslogtreecommitdiff
path: root/bin/bump_ati_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_ati_drivers
parentdfec061a2da2a936da146db7f261a840faed73ac (diff)
drop any entropy shit in here
Diffstat (limited to 'bin/bump_ati_drivers')
-rwxr-xr-xbin/bump_ati_drivers22
1 files changed, 0 insertions, 22 deletions
diff --git a/bin/bump_ati_drivers b/bin/bump_ati_drivers
deleted file mode 100755
index e0e5040..0000000
--- a/bin/bump_ati_drivers
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-. /kogaion/bin/kernels.inc
-packages="x11-drivers/ati-drivers::kogaion-desktop"
-
-# build for latest kernel
-KERNEL_DIR="/usr/src/linux-${running_kernel}" emerge $packages media-video/amdcccle::kogaion-desktop
-echo -5 | etc-update
-eit commit
-
-for kernel in $kernels; do
- if [ "${kernel}" = "${running_kernel}" ]; then
- continue
- fi
- rm -rf /usr/portage/packages/*
- KERNEL_DIR="/usr/src/linux-${kernel}" emerge -B ${packages} || { echo "ouch unable to build" && exit 1; }
- built_pkgs=$(find /usr/portage/packages -name "*.tbz2" | xargs echo)
- [[ -z "${built_pkgs}" ]] && echo "ouch no kernel pkgs" && exit 2
- eit inject ${built_pkgs} || { echo "ouch unable to inject" && exit 3; }
-done
-
-echo "Now you should remove old packages..."