You are not logged in.
thanks alot for these packages, i finaly got my 4850 to do portrait mode!
Offline
Hi,
i modified the PKGBUILD for the modules for people using more than one kernel. But i can't test it.
Maybe somebody with a additional kernel could give me some feedback.
And i don't know if you really need these lines in the rc.local:
insmod /lib/modules/\`uname -r\`/updates/drm.ko
insmod /lib/modules/\`uname -r\`/updates/radeon.ko
PKGBUILD:
pkgname=drm-radeon-module-git-r6xx-r7xx
pkgver=20090413
pkgrel=1
pkgdesc="radeon and drm module for xf86-video-radeonhd-git-r6xx-r7xx"
arch=(i686 x86_64)
depends=('glibc' 'libdrm')
makedepends=('git')
options=('!libtool')
url="http://dri.freedesktop.org/"
license=('custom')
groups=('xorg')
install=('drm.install')
source=()
md5sums=()
_gitroot="git://git.freedesktop.org/git/mesa/drm"
_gitname="drm"
_branch="r6xx-r7xx-support origin/r6xx-r7xx-support"
build() {
export MAKEFLAGS=""
msg "Connecting to git.freedesktop.org GIT server...."
if [ -d ${srcdir}/$_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
cd ${srcdir}/${_gitname}
msg "Switch branch to r6xx-r7xx-support"
git checkout -b $_branch
msg "GIT checkout done or server timeout"
cd ${srcdir}
rm -rf ${_gitname}-build
git clone $_gitname $_gitname-build
cd ${srcdir}/$_gitname-build
msg "Starting make..."
cd linux-core
make radeon.o || return 1
for _kernver in `ls /lib/modules`
do
install -m644 -D drm.ko $startdir/pkg/lib/modules/${_kernver}/updates/drm.ko
install -m644 -D radeon.ko $startdir/pkg/lib/modules/${_kernver}/updates/radeon.ko
done
}
drm.install:
post_install() {
echo "<<< Running depmod >>>"
depmod
echo "If you are using more than one kernel put these lines in your /etc/rc.local:"
echo "insmod /lib/modules/\`uname -r\`/updates/drm.ko"
echo "insmod /lib/modules/\`uname -r\`/updates/radeon.ko"
}
post_upgrade() {
post_install
}
Offline