projects
/
invirt/packages/invirt-web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
10012db
)
Checkout the current HEAD when building
0.1.7
author
Greg Brockman
<gdb@mit.edu>
Mon, 23 Aug 2010 19:06:13 +0000
(15:06 -0400)
committer
Greg Brockman
<gdb@mit.edu>
Mon, 23 Aug 2010 19:06:13 +0000
(15:06 -0400)
debian/changelog
patch
|
blob
|
history
debian/rules
patch
|
blob
|
history
diff --git
a/debian/changelog
b/debian/changelog
index
bc78e84
..
157e76a
100644
(file)
--- a/
debian/changelog
+++ b/
debian/changelog
@@
-1,3
+1,9
@@
+invirt-web (0.1.7) unstable; urgency=low
+
+ * Checkout the current HEAD when building
+
+ -- Greg Brockman <gdb@mit.edu> Mon, 23 Aug 2010 15:05:29 -0400
+
invirt-web (0.1.6) unstable; urgency=low
* Remove crufty invirt-web-iptables files
invirt-web (0.1.6) unstable; urgency=low
* Remove crufty invirt-web-iptables files
diff --git
a/debian/rules
b/debian/rules
index
1ddf633
..
bad8d04
100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-11,8
+11,11
@@
include /usr/share/cdbs/1/rules/config-package.mk
DEB_UPDATE_RCD_PARAMS_invirt-web += defaults 91 9
DEB_UPDATE_RCD_PARAMS_invirt-web += defaults 91 9
+GIT_HEAD=$(shell git rev-parse HEAD)
+
binary-fixup/invirt-web::
git clone $$(invirt-getconf git.uri)/invirt/packages/invirt-web $(DEB_DESTDIR)/usr/share/invirt-web/package
binary-fixup/invirt-web::
git clone $$(invirt-getconf git.uri)/invirt/packages/invirt-web $(DEB_DESTDIR)/usr/share/invirt-web/package
+ cd $(DEB_DESTDIR)/usr/share/invirt-web/package && git checkout $(GIT_HEAD)
mkdir -p $(DEB_DESTDIR)/var/www/
ln -s /usr/share/invirt-web/package/code $(DEB_DESTDIR)/var/www/invirt-web
rm -rf $(DEB_DESTDIR)/var/www/invirt-web-repo
mkdir -p $(DEB_DESTDIR)/var/www/
ln -s /usr/share/invirt-web/package/code $(DEB_DESTDIR)/var/www/invirt-web
rm -rf $(DEB_DESTDIR)/var/www/invirt-web-repo