build/bin/bump_injected_ati_drivers

20 lines
683 B
Plaintext
Raw Normal View History

2011-07-14 22:05:05 +02:00
#!/bin/sh
kernels="2.6.36-sabayon 2.6.37-sabayon 2.6.38-sabayon"
packages="=x11-drivers/ati-drivers-11.2-r1"
non_injected_packages="~x11-drivers/ati-userspace-11.2"
ETP_REPO="${ETP_REPO:-sabayon-limbo}"
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
2011-07-14 22:05:05 +02:00
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/*
2011-07-14 22:05:05 +02:00
echo
done