diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-12-03 03:20:49 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-12-03 03:20:49 +0200 |
commit | 58ae5bbf25835bd30fa385275ff4486dbc31f0a2 (patch) | |
tree | 3a68352e09b5cce3a8a33a7eef956e9d254d126e /bin/bump_injected_ati_drivers |
Making public our Kogaion bin
Diffstat (limited to 'bin/bump_injected_ati_drivers')
-rwxr-xr-x | bin/bump_injected_ati_drivers | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/bin/bump_injected_ati_drivers b/bin/bump_injected_ati_drivers new file mode 100755 index 0000000..5ee9e62 --- /dev/null +++ b/bin/bump_injected_ati_drivers @@ -0,0 +1,19 @@ +#!/bin/sh + +kernels="2.6.36-kogaion 2.6.37-kogaion 2.6.38-kogaion" +packages="=x11-drivers/ati-drivers-11.2-r1" +non_injected_packages="~x11-drivers/ati-userspace-11.2" +ETP_REPO="${ETP_REPO:-kogaion-testing}" + +rm -rf /usr/portage/packages/x11-drivers/* +emerge -B ${non_injected_packages} || exit 1 +eit inject --to ${ETP_REPO} /usr/portage/packages/x11-drivers/* || exit 1 + +for kernel in $kernels; do + mypackages="${packages}" + # 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 |