File: build-module-packages.sh.in

package info (click to toggle)
fglrx-driver 1:15.9-4~deb8u1~bpo70+1
  • links: PTS, VCS
  • area: non-free
  • in suites: wheezy-backports
  • size: 505,568 kB
  • sloc: ansic: 15,231; xml: 4,141; sh: 2,401; makefile: 425
file content (19 lines) | stat: -rw-r--r-- 408 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
set -e

test -x /usr/bin/module-assistant || apt-get install module-assistant

cd /usr/src

kernels="$(ls -d1 /lib/modules/*/build 2>/dev/null | cut -d/ -f4)"
modules=_FGLRX_

module-assistant clean $modules
module-assistant build --text-mode --force --kvers-list "$kernels" $modules

ls -l *.deb
for m in $modules ; do
	for k in $kernels ; do
		echo "* ${m} ${k}:"
		ls -l ${m}-kernel-${k}_*.deb
	done
done