/usr/share/phoronix-test-suite/pts-core/static/examples/phoromatic-tracker-update-kernel is in phoronix-test-suite 4.8.3-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #!/bin/sh
# Example script for Phoromatic Kernel Tracker
# http://kernel-tracker.phoromatic.com/
# Toss into /etc/ and is called by update-kernel-from-ubuntu-daily-ppa script on cron job when appropriate
mkdir /tmp/kernel-ppa
cd /tmp/kernel-ppa
wget -r --no-parent -nd http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/
sleep 1
dpkg -i --force-confnew --force-overwrite linux-image-*_amd64.deb
sleep 10
update-grub
cd /
rm -rf /tmp/kernel-ppa
reboot
|