X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Frules;h=e84a4b95e2f2d594ef53e966f902013f94a546fe;hb=2b065a0428747bab2f5cb477a01a89ec03dcf695;hp=910523bade9a42175ebac6ec4f453d34aa245c35;hpb=7f450c201f6aa9434f1dae176882a0ee226fa4cf;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