cgroup is mounted automatically in F16. No need to do so manually. lxcbuildf16
authorMarco Yuen <marcoy@cs.princeton.edu>
Thu, 23 Feb 2012 20:49:14 +0000 (15:49 -0500)
committerMarco Yuen <marcoy@cs.princeton.edu>
Thu, 23 Feb 2012 20:49:14 +0000 (15:49 -0500)
source/steps/InstallBootstrapFS.py
source/steps/InstallWriteConfig.py

index 7acef61..47e2748 100644 (file)
@@ -172,10 +172,6 @@ def Run( vars, log ):
                     SYSIMG_PATH + "/usr/boot/cacert.pem")
         file(SYSIMG_PATH + "/usr/boot/boot_server", "w").write(boot_server)
         shutil.copy("/usr/bootme/pubring.gpg", SYSIMG_PATH + "/usr/boot/pubring.gpg")
-    
-    # Creating /cgroup directory
-    if not os.path.exists(SYSIMG_PATH + "/cgroup"):
-        utils.makedirs(SYSIMG_PATH + "/cgroup")
 
     # For backward compatibility
     if os.path.exists("/usr/bootme"):
index c9b3281..2679748 100644 (file)
@@ -91,7 +91,6 @@ def Run( vars, log ):
     fstab.write( "none         /proc       proc      defaults  0 0\n" )
     fstab.write( "none         /dev/shm    tmpfs     defaults  0 0\n" )
     fstab.write( "none         /dev/pts    devpts    defaults  0 0\n" )
-    fstab.write( "none         /cgroup     cgroup    defaults  0 0\n" )
     fstab.close()
 
     log.write( "Writing system /etc/issue\n" )