From 479a2a8bff04e25fe4527e1ef2198175fead4538 Mon Sep 17 00:00:00 2001 From: Marco Yuen Date: Thu, 23 Feb 2012 15:49:14 -0500 Subject: [PATCH] cgroup is mounted automatically in F16. No need to do so manually. --- source/steps/InstallBootstrapFS.py | 4 ---- source/steps/InstallWriteConfig.py | 1 - 2 files changed, 5 deletions(-) diff --git a/source/steps/InstallBootstrapFS.py b/source/steps/InstallBootstrapFS.py index 7acef61..47e2748 100644 --- a/source/steps/InstallBootstrapFS.py +++ b/source/steps/InstallBootstrapFS.py @@ -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"): diff --git a/source/steps/InstallWriteConfig.py b/source/steps/InstallWriteConfig.py index c9b3281..2679748 100644 --- a/source/steps/InstallWriteConfig.py +++ b/source/steps/InstallWriteConfig.py @@ -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" ) -- 2.43.0