blob: 5ee9e62b4564056bbde486b05319173d775a41ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
|