Wait for at least one sdmem job to complete.
[tails-test.git] / config / chroot_local-hooks / 52-udev-watchdog
blob0e863a84593b42272915e54aa31f67dcc12ea8d4
1 #!/bin/sh
3 # Compile and install a custom udev-watchdog program
5 echo 'compiling and installing a custom udev-watchdog program'
7 apt-get install --yes build-essential binutils libudev-dev
9 SRC="/usr/src/udev-watchdog.c"
10 DST="/usr/local/sbin/udev-watchdog"
12 gcc -o "$DST" "$SRC" -static -Wall -ludev
13 strip --strip-all "$DST"
15 apt-get --yes purge libudev-dev