Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
PREREQ="udev" |
| 4 |
|
| 5 |
prereqs() |
| 6 |
{ |
| 7 |
echo "$PREREQ" |
| 8 |
} |
| 9 |
|
| 10 |
case $1 in |
| 11 |
prereqs) |
| 12 |
prereqs |
| 13 |
exit 0 |
| 14 |
;; |
| 15 |
esac |
| 16 |
|
| 17 |
. /usr/share/initramfs-tools/hook-functions |
| 18 |
|
| 19 |
if [ -e /etc/udev/rules.d/69-bcache.rules ]; then |
| 20 |
cp -pt "${DESTDIR}/lib/udev/rules.d" /etc/udev/rules.d/69-bcache.rules |
| 21 |
elif [ -e /lib/udev/rules.d/69-bcache.rules ]; then |
| 22 |
cp -pt "${DESTDIR}/lib/udev/rules.d" /lib/udev/rules.d/69-bcache.rules |
| 23 |
fi |
| 24 |
|
| 25 |
copy_exec /lib/udev/bcache-register |
| 26 |
copy_exec /lib/udev/probe-bcache |
| 27 |
manual_add_modules bcache |