[Pkg-ganeti-devel] Implement GANETI export and os directory using autoconf

Leonardo Rodrigues de Mello l at lmello.eu.org
Tue Sep 25 15:38:07 UTC 2007


I need more coffee.
sorry.. i had send the wrong patch to file configure.ac.
The correct patch for that file follows:
Index: configure.ac
===================================================================
--- configure.ac        (revisão 181)
+++ configure.ac        (cópia de trabalho)
@@ -14,6 +14,15 @@
   [ssh_initd_script="/etc/init.d/ssh"])
 AC_SUBST(SSH_INITD_SCRIPT, $ssh_initd_script)

+# --with-ganeti-srv-dir=...
+AC_ARG_WITH([ganeti-srv-dir],
+  [AS_HELP_STRING([--with-ganeti-srv-dir],
+    [Directory that will be used to store ganeti exports and os
scripts (default is /srv/ganeti)]
+  )],
+  [ganeti_srv_dir="$withval"],
+  [ganeti_srv_dir="/srv/ganeti"])
+AC_SUBST(GANETI_SRV_DIR, $ganeti_srv_dir)
+
 # Check common programs
 AC_PROG_INSTALL


-- 
Leonardo Rodrigues de Mello
jabber: l at lmello.eu.org



More information about the Pkg-ganeti-devel mailing list