X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=debian%2Frules;h=e84a4b95e2f2d594ef53e966f902013f94a546fe;hb=5c38cc138fcb792c1a25d0c050725c74cee7d153;hp=910523bade9a42175ebac6ec4f453d34aa245c35;hpb=11575c6aee0916c918b1e4e98731566d20586df9;p=live-boot-grml.git diff --git a/debian/rules b/debian/rules index 910523b..e84a4b9 100755 --- a/debian/rules +++ b/debian/rules @@ -1,9 +1,6 @@ #!/usr/bin/make -f build: - # this is needed because dpatch doesn't do file modes on diffs. - chmod a+rx scripts/live-bottom/* - chmod a+rx hooks/* # regular build. dh build @@ -25,6 +22,12 @@ override_dh_auto_install: mkdir -p debian/live-boot-grml-initramfs-tools/usr/share mv debian/tmp/usr/share/initramfs-tools debian/live-boot-grml-initramfs-tools/usr/share + # this is needed because dpatch doesn't do file modes on diffs + # and we can't execute this fix during build stage as new files + # might be installed during dh_quilt_patch + chmod a+rx debian/live-boot-grml-initramfs-tools/usr/share/initramfs-tools/scripts/live-bottom/* + chmod a+rx debian/live-boot-grml-initramfs-tools/usr/share/initramfs-tools/hooks/* + override_dh_builddeb: dh_builddeb -- -Zgzip -z9