diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index d1b58903..6d67b668 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -297,10 +297,6 @@ class Lorax(BaseLoraxClass): logger.info("running depmod") self.installtree.run_depmod(kernel) - # create gconf - logger.info("creating gconf files") - self.installtree.create_gconf() - # move repos logger.info("moving anaconda repos") self.installtree.move_repos() diff --git a/src/pylorax/installtree.py b/src/pylorax/installtree.py index b66f87cb..54e1c5e8 100644 --- a/src/pylorax/installtree.py +++ b/src/pylorax/installtree.py @@ -323,30 +323,6 @@ class LoraxInstallTree(BaseLoraxClass): # move modules out of the tree shutil.move(moddir, self.workdir) - def create_gconf(self): - gconfdir = joinpaths(self.root, ".gconf/desktop") - os.makedirs(gconfdir) - touch(joinpaths(gconfdir, "%gconf.xml")) - - gconfdir = joinpaths(gconfdir, "gnome") - os.mkdir(gconfdir) - touch(joinpaths(gconfdir, "%gconf.xml")) - - gconfdir = joinpaths(gconfdir, "interface") - os.mkdir(gconfdir) - - text = """ - - - - - - -""" - - with open(joinpaths(gconfdir, "%gconf.xml"), "w") as fobj: - fobj.write(text) - def move_repos(self): src = joinpaths(self.root, "etc/yum.repos.d") dst = joinpaths(self.root, "etc/anaconda.repos.d")