Kernel hooks for Debian and Debian-based systems

pull/1/head
tastytea 2015-10-03 15:15:29 +02:00
parent bada35366d
commit d1391f653f
3 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,5 @@
* Make sure you have sha*sum or md5sum installed
* Make hashboot.sh executable
* Place hashboot.sh anywhere in $PATH
* Install the appropriate init script
* Install the appropriate init script
* If applicable, copy kernel-hooks.debian to /etc/kernel/post{inst,rm}.d/hashboot and make sure it is called after initramfs-tools

1
TODO
View File

@ -3,4 +3,3 @@
* Supress dd output while staying Debian 7 compatible
* Find out if we are raspbian compatible (first partition starts at 4MiB)
* Debian and Ubuntu repositories
* /etc/kernel/postinst.d hook (Debian und Ubuntu)

4
kernel-hooks.debian Normal file
View File

@ -0,0 +1,4 @@
#!/bin/sh
# Generate checksums of MBR and /boot after each kernel update
hashboot.sh index