...
Code Block | ||
---|---|---|
| ||
cat /etc/kernel/postinst.d/notify #!/bin/sh cat <<EOF | mail -r unix-admin@slac.stanford.edu -s "$1 installed on `hostname`" ksa@slac.stanford.edu New kernel was installed on `hostname` at `date`. $1 $2 EOF |
Log file of automatic nvidia build:
DKMS logs are saved here:
Code Block | ||
---|---|---|
| ||
$ ls -l /var/lib/dkms/nvidia/
total 4
drwxr-xr-x 5 root bin 4096 Jan 17 02:22 410.78
lrwxrwxrwx 1 root bin 40 Jan 17 02:22 kernel-2.6.32-754.10.1.el6.x86_64-x86_64 -> 410.78/2.6.32-754.10.1.el6.x86_64/x86_64
lrwxrwxrwx 1 root bin 39 Dec 7 15:45 kernel-2.6.32-754.3.5.el6.x86_64-x86_64 -> 410.78/2.6.32-754.3.5.el6.x86_64/x86_64
lrwxrwxrwx 1 root bin 39 Dec 7 15:51 kernel-2.6.32-754.9.1.el6.x86_64-x86_64 -> 410.78/2.6.32-754.9.1.el6.x86_64/x86_64 |
And here is the log for the automatic dkms build of the nvidia driver which was triggered by the install of the kernel-2.6.32-754.10.1.el6.x86_64 RPM:
Code Block | ||
---|---|---|
| ||
$ ls -l /var/lib/dkms/nvidia/410.78/2.6.32-754.10.1.el6.x86_64/x86_64
total 8
drwxr-xr-x 2 root bin 4096 Jan 17 02:22 log
drwxr-xr-x 2 root bin 4096 Jan 17 02:22 module |
References:
DKMS
- See the dkms manual page, using the command: 'man dkms'
- https://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support
- https://github.com/dell/dkms
...