Example #1
0
 def runthread(self):
     logger.logI(self.tn, logger.I, _("Generating ISO Tree"))
     # Clean the tree, if it exists
     fsutil.rm(isotreel)
     # Make the tree
     fsutil.maketree([isotreel + "casper", isotreel + "preseed",
                      isotreel + "isolinux", isotreel + ".disk"])
Example #2
0
 def run(self):
     logger.logI(self.tn, _("Generating the tree for the temporary filesystem"))
     fsutil.maketree([tmpsys + "etc", tmpsys + "dev",
                       tmpsys + "proc", tmpsys + "tmp",
                       tmpsys + "sys", tmpsys + "mnt",
                       tmpsys + "media/cdrom", tmpsys + "var", tmpsys + "home"], self.tn)
     fsutil.chmod(tmpsys + "tmp", "1777", self.tn)
Example #3
0
 def runthread(self):
     logger.logI(self.tn, logger.I,
                 _("Generating the tree for the temporary filesystem"))
     fsutil.maketree([
         tmpsys + "etc", tmpsys + "dev", tmpsys + "proc",
         [tmpsys + "tmp", 0o1777], tmpsys + "sys", tmpsys + "mnt", tmpsys +
         "media/cdrom", tmpsys + "var", tmpsys + "home", tmpsys + "run"
     ], self.tn)
     fsutil.chmod(tmpsys + "tmp", 0o1777, self.tn)
Example #4
0
 def runthread(self):
     logger.logI(self.tn, logger.I,
                 _("Generating the tree for the temporary filesystem"))
     # Clean the TMPSYS tree, if it exists
     fsutil.rm(tmpsys)
     self.progressfunc(20)
     # Generate the tree
     fsutil.maketree([
         tmpsys + "etc", tmpsys + "dev", tmpsys + "proc",
         [tmpsys + "tmp", 0o1777], tmpsys + "sys", tmpsys + "mnt", tmpsys +
         "media/cdrom", tmpsys + "var", tmpsys + "home", tmpsys + "run"
     ], self.tn, lambda p: self.progressfunc(20 + p / (5 / 3)))
     fsutil.chmod(tmpsys + "tmp", 0o1777, self.tn)
Example #5
0
 def runthread(self):
     logger.logI(self.tn, logger.I, _(
         "Generating the tree for the temporary filesystem"))
     # Clean the TMPSYS tree, if it exists
     fsutil.rm(tmpsys)
     self.progressfunc(20)
     # Generate the tree
     fsutil.maketree([tmpsys + "etc", tmpsys + "dev",
                      tmpsys + "proc", [tmpsys + "tmp", 0o1777],
                      tmpsys + "sys", tmpsys + "mnt",
                      tmpsys +
                      "media/cdrom", tmpsys + "var", tmpsys + "home",
                      tmpsys + "run"], self.tn, lambda p: self.progressfunc(20 + p / (5 / 3)))
     fsutil.chmod(tmpsys + "tmp", 0o1777, self.tn)
Example #6
0
 def runthread(self):
     logger.logI(self.tn, logger.I, _("Generating the tree for the temporary filesystem"))
     fsutil.maketree(
         [
             tmpsys + "etc",
             tmpsys + "dev",
             tmpsys + "proc",
             [tmpsys + "tmp", 0o1777],
             tmpsys + "sys",
             tmpsys + "mnt",
             tmpsys + "media/cdrom",
             tmpsys + "var",
             tmpsys + "home",
             tmpsys + "run",
         ],
         self.tn,
     )
     fsutil.chmod(tmpsys + "tmp", 0o1777, self.tn)
Example #7
0
 def run(self):
     logger.logI(self.tn, _("Generating ISO Tree"))
     # Make the tree
     fsutil.maketree([isotreel + "casper", isotreel + "preseed",
                       isotreel + "isolinux", isotreel + ".disk"])
Example #8
0
 def runthread(self):
     logger.logI(self.tn, logger.I, _("Generating ISO Tree"))
     # Make the tree
     print(isotreel)
     fsutil.maketree([isotreel + "casper", isotreel + "preseed",
                       isotreel + "isolinux", isotreel + ".disk"])