X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Frules;h=e2bbc185b792c5255746f1a11d2d21977a260fa8;hb=07580cc84d811532497c285159c63905bbca3155;hp=ac607c0640a143c179688013408e40b90ce42d44;hpb=e4eee9263bc28efe6bf8454bcc454ad8ee091bbd;p=live-boot-grml.git diff --git a/debian/rules b/debian/rules index ac607c0..e2bbc18 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,9 @@ include /usr/share/dpatch/dpatch.make build: patch-stamp + # this is needed because dpatch doesn't do file modes on diffs. + chmod a+rx scripts/live-bottom/* + # regular build. dh build clean: unpatch @@ -23,5 +26,11 @@ override_dh_auto_install: # Removing useless files rm -f debian/live-boot/usr/share/doc/live-boot/COPYING + # Some more useless files + rm -f debian/live-boot-initramfs-tools/usr/share/initramfs-tools/scripts/live-bottom/12fstab + rm -f debian/live-boot-initramfs-tools/usr/share/initramfs-tools/scripts/live-bottom/23networking + rm -f debian/live-boot-initramfs-tools/usr/share/initramfs-tools/scripts/live-bottom/24preseed + rm -f debian/live-boot-initramfs-tools/usr/share/initramfs-tools/scripts/live-bottom/30accessibility + override_dh_installinit: dh_installinit -p live-boot --no-restart-on-upgrade --no-start --update-rcd-params='start 89 0 6 .'