Remove unneeded services.
authorDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Fri, 7 Dec 2007 16:50:45 +0000 (16:50 +0000)
committerDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Fri, 7 Dec 2007 16:50:45 +0000 (16:50 +0000)
build.sh

index 1d3da79..bed9794 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -82,6 +82,11 @@ for pkgs in ../build/config.${pldistro}/bootstrapfs-*.pkgs ; do
        umount ${vdir}/proc
     fi
 
+    # Remove unneeded services
+    for service in util-vserver vprocunhide vservers-default; do
+       chroot ${vdir} /sbin/chkconfig $service off
+    done
+
     # Create a copy of the ${NAME} bootstrap filesystem w/o the base
     # bootstrap filesystem and make it smaller.  This is a three step
     # process: