Add optional kernel hook scripts for no defragmenting
[rrq/maintain_lilo.git] / debian / rules
index 92f0dc5a627c658b9f09a86439ab1bebb4387505..1dc48df2bb379cfc3e24ef9e05b583b1c96f7e21 100755 (executable)
@@ -16,6 +16,11 @@ override_dh_auto_build:
        uudecode -o /dev/stdout debian/doc/tech.html.uu 2>/dev/null | tar -x -z -C debian
        uudecode -o /dev/stdout debian/doc/user.html.uu 2>/dev/null | tar -x -z -C debian
 
+override_dh_install:
+       dh_install
+       @echo "Set execute flag to chattr-lilo hook scripts"
+       chmod 0755 debian/lilo/usr/lib/lilo/hooks/kernel/*/chattr-lilo
+
 override_dh_auto_clean:
        rm -rf debian/html
        dh_auto_clean