since catalyst 9.10 now package generation is somehow broken (at least for me) but I got it to work (described here)
I refined the workaround and build a shell script which does all that automatically for you ( I don't see a file upload here, so I'll put the script in text):
catalyst_911-suse112.sh
Code:
#!/bin/bash
sh ./ati-driver-installer-9-11-x86.x86_64.run --extract fglrx-install.11
pushd fglrx-install.11
patch -p1 < ../fglrx-install.11.diff
if [ X`uname -m` = "Xx86_64" ]; then
./packages/SuSE/ati-packager.sh --buildpkg SUSE112-AMD64
else
./packages/SuSE/ati-packager.sh --buildpkg SUSE112-IA32
fi
popd
fglrx-install.11.diff
Code:
diff -U 3 -H -d -r -N -- fglrx-install.11.orig/packages/SuSE/ati-packager.sh fglrx-install.11.new/packages/SuSE/ati-packager.sh
--- fglrx-install.11.orig/packages/SuSE/ati-packager.sh 2009-11-12 07:07:59.000000000 +0100
+++ fglrx-install.11.new/packages/SuSE/ati-packager.sh 2009-11-18 09:46:35.275689274 +0100
@@ -91,7 +91,7 @@
END_SED_SCRIPT
#Build the package
- rpmbuild -bb --root ${TmpDrvFilesDir} --target ${ARCH} ${TmpPkgSpec} > ${TmpPkgBuildOut} 2>&1
+ rpmbuild -bb --buildroot ${TmpDrvFilesDir} --target ${ARCH} ${TmpPkgSpec} > ${TmpPkgBuildOut} 2>&1
#Retrieve the absolute path to the built package
if [ $? -eq 0 ]; then
- download catalyst 9.11 (ati-driver-installer-9-11-x86.x86_64.run)
- generate the two above-mentioned files with the given content and put them into the same directory as the catalyst file
- execute
Code:
sudo sh ./catalyst_911-suse112.sh
it will extract the package to a directory called "fglrx-install.11", patch the build script and generate a suitable rpm in its directory
Of course you could do all that manually, too...
Bookmarks