[Fusionforge-commits] r8969 - trunk/tools/simple-cdd/profiles/templates

Christian Bayle cbayle at libremir.placard.fr.eu.org
Sat Mar 6 00:33:03 CET 2010


Author: cbayle
Date: 2010-03-06 00:33:03 +0100 (Sat, 06 Mar 2010)
New Revision: 8969

Modified:
   trunk/tools/simple-cdd/profiles/templates/fusionforge.preseed
Log:
Make so postgresql really start


Modified: trunk/tools/simple-cdd/profiles/templates/fusionforge.preseed
===================================================================
--- trunk/tools/simple-cdd/profiles/templates/fusionforge.preseed	2010-03-05 23:32:18 UTC (rev 8968)
+++ trunk/tools/simple-cdd/profiles/templates/fusionforge.preseed	2010-03-05 23:33:03 UTC (rev 8969)
@@ -356,18 +356,13 @@
 in-target chsh -s /bin/zsh ; \
 in-target chmod o+rw /dev/null ; \
 apt-install postgresql-8.4; \
-in-target mv /usr/sbin/policy-rc.d /usr/sbin/policy-rc.d.disabledaemon ; \
-in-target /usr/sbin/invoke-rc.d postgresql-8.4 start ; \
-in-target mv /usr/sbin/policy-rc.d.disabledaemon /usr/sbin/policy-rc.d ; \
-in-target mount /proc ; \
+chroot /target invoke-rc.d postgresql-8.4 start ; \
 UCF_FORCE_CONFFNEW=yes apt-install fusionforge-full ; \
 in-target ln -s /var/lib/gforge/chroot/scmrepo/cvs /cvsroot ; \
 in-target ln -s /var/lib/gforge/chroot/scmrepo/svn /svnroot ; \
 in-target ln -s /var/lib/gforge/chroot/scmrepo /scmrepo ; \
 echo 'SYSLOGD="-p /dev/log -a /var/lib/gforge/chroot/dev/log"' >> /target/etc/default/syslogd ; \
 echo '/var/run/postgresql /var/lib/gforge/chroot/var/run/postgresql none bind' >> /target/etc/fstab ; \
-in-target echo "===== PAUSE =====" ; \
-sleep 600 ; \
 echo 'syntax on' >> /target/etc/vim/vimrc.local ;
 
 




More information about the Fusionforge-commits mailing list