[Fusionforge-commits] r8939 - trunk/tools/simple-cdd

Christian Bayle cbayle at libremir.placard.fr.eu.org
Thu Mar 4 09:29:18 CET 2010


Author: cbayle
Date: 2010-03-04 09:29:17 +0100 (Thu, 04 Mar 2010)
New Revision: 8939

Modified:
   trunk/tools/simple-cdd/Makefile
Log:
Improve french support
install simple-cdd if not there


Modified: trunk/tools/simple-cdd/Makefile
===================================================================
--- trunk/tools/simple-cdd/Makefile	2010-03-03 23:29:33 UTC (rev 8938)
+++ trunk/tools/simple-cdd/Makefile	2010-03-04 08:29:17 UTC (rev 8939)
@@ -4,11 +4,11 @@
 
 default: fusionforge
 
-fusionforge: profiles/fusionforge.conf  profiles/fusionforge.preseed
+fusionforge: clean /usr/bin/build-simple-cdd profiles/fusionforge.conf  profiles/fusionforge.preseed
 	[ ! -r /var/cache/debconf/passwords.dat ] && ( sudo chgrp $(USRGRP) /var/cache/debconf/passwords.dat ; sudo chmod g+r /var/cache/debconf/passwords.dat ) || true
 	build-simple-cdd -g --profiles fusionforge --auto-profiles fusionforge --profiles-udeb-dist $(DIST) --debian-mirror http://ftp.fr.debian.org/debian --security-mirror http://security.debian.org/debian-security --dist $(DIST) 
 
-fusionforgefr:
+fusionforgefr: clean /usr/bin/build-simple-cdd profiles/fusionforge.conf  profiles/fusionforge.preseed.fr
 	build-simple-cdd -g --profiles fusionforge --auto-profiles fusionforge --profiles-udeb-dist $(DIST) --debian-mirror http://ftp.fr.debian.org/debian --security-mirror http://security.debian.org/debian-security --dist $(DIST) --locale fr_FR --force-preseed --keyboard fr-latin9
 
 profiles/fusionforge.conf: profiles/templates/fusionforge.conf
@@ -20,6 +20,10 @@
 
 profiles/fusionforge.preseed.fr: profiles/templates/fusionforge.preseed.fr
 	cat profiles/templates/fusionforge.preseed.fr | sed 's/%DIST%/$(DIST)/g' > $@
+	cd profiles ; ln -s fusionforge.preseed.fr fusionforge.preseed
 
 clean:
 	rm -f profiles/fusionforge.conf profiles/fusionforge.preseed profiles/templates/fusionforge.preseed.fr
+
+/usr/bin/build-simple-cdd:
+	sudo apt-get install simple-cdd




More information about the Fusionforge-commits mailing list