[SSSD] [patch] Allow Debian/Ubuntu build to pass --install-layout=deb to setup.py

Petter Reinholdtsen pere at hungry.com
Thu May 6 17:43:33 UTC 2010


[Stephen Gallagher]
> Peter, please test the attached patch. Let me know if that works
> properly on Debian without having to pass anything special on the
> command line.

Seem to work.  Perhaps you also want this part, to allow --with-os to
handle debian as an argument (I searched for all places suse was
mentioned. :).

--- sssd-1.1.1.orig/src/external/platform.m4
+++ sssd-1.1.1/src/external/platform.m4
@@ -4,8 +4,9 @@
 osname=""
 if test x"$with_os" != x ; then
     if test x"$with_os" == xfedora -o \
-            x"$with_os" == xredhat -o \
-            x"$with_os" == xsuse ; then
+            x"$with_os" == xredhatf -o \
+            x"$with_os" == xsuse  -o \
+            x"$with_os" == xdebian ; then
         osname=$with_os
     else
         AC_MSG_ERROR([Illegal value -$with_os- for option --with-os])

Happy hacking,
-- 
Petter Reinholdtsen




More information about the sssd-devel mailing list