[Pkg-virtualbox-commits] [virtualbox] 01/01: Fix rules
Gianfranco Costamagna
locutusofborg-guest at moszumanska.debian.org
Fri Jan 8 19:05:13 UTC 2016
This is an automated email from the git hooks/post-receive script.
locutusofborg-guest pushed a commit to branch master
in repository virtualbox.
commit 46244c7d64c9c6cbac248d8b5e0319c34391c0a0
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date: Fri Jan 8 18:48:32 2016 +0100
Fix rules
---
debian/rules | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index fcff2bb..b410d9c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -153,17 +153,25 @@ endif
ifneq (,$(filter $(psource), $(shell dh_listpackages)))
# These files have incorrect permissions, fixing it.
chmod 755 debian/$(psource)/usr/src/modules/$(sname)/debian/rules
- chmod 755 debian/$(gsource)/usr/src/modules/$(gname)/debian/rules
# this needs all prior work to be finished
cd debian/$(psource)/usr/src && \
tar -cjf $(sname).tar.bz2 modules && \
rm -rf modules
+
+ chmod 644 debian/$(psource)/usr/src/$(sname).tar.bz2
+endif
+
+# check if arch-all packages are being built
+ifneq (,$(filter $(gsource), $(shell dh_listpackages)))
+ # These files have incorrect permissions, fixing it.
+ chmod 755 debian/$(gsource)/usr/src/modules/$(gname)/debian/rules
+
+ # this needs all prior work to be finished
cd debian/$(gsource)/usr/src && \
tar -cjf $(gname).tar.bz2 modules && \
rm -rf modules
- chmod 644 debian/$(psource)/usr/src/$(sname).tar.bz2
chmod 644 debian/$(gsource)/usr/src/$(gname).tar.bz2
endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-virtualbox/virtualbox.git
More information about the Pkg-virtualbox-commits
mailing list