[Pkg-ganeti-devel] [SCM] Ganeti htools packaging branch, master, updated. upstream/0.2.0-5-ga82c7d1

Iustin Pop iusty at k1024.org
Sun Dec 27 12:30:41 UTC 2009


The following commit has been merged in the master branch:
commit 139a7be36d5db482a00ea216400e27352e8985a3
Author: Iustin Pop <iusty at k1024.org>
Date:   Sun Dec 27 12:25:20 2009 +0100

    Install the hail iallocator in the right place
    
    ... and not in /usr/bin.

diff --git a/debian/ganeti-htools.dirs b/debian/ganeti-htools.dirs
index e772481..51017b7 100644
--- a/debian/ganeti-htools.dirs
+++ b/debian/ganeti-htools.dirs
@@ -1 +1,2 @@
 usr/bin
+usr/lib/ganeti/iallocators
diff --git a/debian/rules b/debian/rules
index 751b663..4ecb3d9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,9 +35,11 @@ install: build
 	dh_installdirs
 
 	# Add here commands to install the package into debian/<packagename>
-	for cmd in hspace hscan hbal hail; do \
-	install -m 0755 $$cmd `pwd`/debian/`dh_listpackages`/usr/bin/ ; \
+	for cmd in hspace hscan hbal; do \
+	install -m 0755 $$cmd $(CURDIR)/debian/ganeti-htools/usr/bin/ ; \
 	done
+	install -m 0755 hail \
+	  $(CURDIR)/debian/ganeti-htools/usr/lib/ganeti/iallocators/
 
 # Build architecture-independent files here.
 binary-indep: build install

-- 
Ganeti htools packaging



More information about the Pkg-ganeti-devel mailing list