aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiktor w brodlo <wiktor@brodlo.net>2011-06-24 17:31:55 +0000
committerwiktor w brodlo <wiktor@brodlo.net>2011-06-24 17:31:55 +0000
commitac2e840504af518de4c656920dacff4f1b4132ef (patch)
tree0fb4ac67c5b05e8cf757e646bff179cd26727c6d /installclasses
parentAnaconda now *actually* installs to /mnt/sysimage/ (diff)
downloadanaconda-ac2e840504af518de4c656920dacff4f1b4132ef.tar.gz
anaconda-ac2e840504af518de4c656920dacff4f1b4132ef.tar.bz2
anaconda-ac2e840504af518de4c656920dacff4f1b4132ef.zip
Removed unused installclasses, we only use corecd
Diffstat (limited to 'installclasses')
-rw-r--r--installclasses/fluxbox.py89
-rw-r--r--installclasses/gnome.py90
-rw-r--r--installclasses/kde.py89
-rw-r--r--installclasses/lxde.py88
-rw-r--r--installclasses/xfce.py88
5 files changed, 0 insertions, 444 deletions
diff --git a/installclasses/fluxbox.py b/installclasses/fluxbox.py
deleted file mode 100644
index 703d56f..0000000
--- a/installclasses/fluxbox.py
+++ /dev/null
@@ -1,89 +0,0 @@
-#
-# xfce.py
-#
-# Copyright (C) 2010 Fabio Erculiani
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-
-from installclass import BaseInstallClass
-from constants import *
-from product import *
-from flags import flags
-import os, types
-import iutil
-
-import gettext
-_ = lambda x: gettext.ldgettext("anaconda", x)
-
-import installmethod
-
-from gentoo import Entropy
-from gentoo.livecd import LiveCDCopyBackend
-
-class InstallClass(BaseInstallClass):
-
- id = "gentoo_fluxbox"
- name = N_("Gentoo Fluxbox")
-
- _pixmap_dirs = os.getenv("PIXMAPPATH", "/usr/share/pixmaps").split(":")
- for _pix_dir in _pixmap_dirs:
- _pix_path = os.path.join(_pix_dir, "fluxbox.png")
- if os.path.isfile(_pix_path):
- pixmap = _pix_path
-
- dmrc = "fluxbox"
- _description = N_("Select this installation type for a default installation "
- "with the Fluxbox geeky minimal environment. "
- "After this installation process you will "
- "be able to install additional packages.")
- _descriptionFields = (productName,)
- sortPriority = 9999
-
- if not Entropy().is_installed("x11-wm/fluxbox"):
- hidden = 1
-
- def configure(self, anaconda):
- BaseInstallClass.configure(self, anaconda)
- BaseInstallClass.setDefaultPartitioning(self,
- anaconda.storage, anaconda.platform)
-
- def setSteps(self, anaconda):
- BaseInstallClass.setSteps(self, anaconda)
- anaconda.dispatch.skipStep("welcome", skip = 1)
- #anaconda.dispatch.skipStep("network", skip = 1)
-
- def getBackend(self):
- return LiveCDCopyBackend
-
- def productMatches(self, oldprod):
- if oldprod is None:
- return False
-
- if oldprod.startswith(productName):
- return True
-
- return False
-
- def versionMatches(self, oldver):
- try:
- oldVer = float(oldver)
- newVer = float(productVersion)
- except ValueError:
- return True
-
- return newVer >= oldVer
-
- def __init__(self):
- BaseInstallClass.__init__(self)
diff --git a/installclasses/gnome.py b/installclasses/gnome.py
deleted file mode 100644
index d454e69..0000000
--- a/installclasses/gnome.py
+++ /dev/null
@@ -1,90 +0,0 @@
-#
-# gnome.py
-#
-# Copyright (C) 2010 Fabio Erculiani
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-
-from installclass import BaseInstallClass
-from constants import *
-from product import *
-from flags import flags
-import os, types
-import iutil
-
-import gettext
-_ = lambda x: gettext.ldgettext("anaconda", x)
-
-import installmethod
-
-from gentoo import Entropy
-from gentoo.livecd import LiveCDCopyBackend
-
-class InstallClass(BaseInstallClass):
-
- id = "gentoo_gnome"
-
- _pixmap_dirs = os.getenv("PIXMAPPATH", "/usr/share/pixmaps").split(":")
- for _pix_dir in _pixmap_dirs:
- _pix_path = os.path.join(_pix_dir, "gnome.png")
- if os.path.isfile(_pix_path):
- pixmap = _pix_path
-
- name = N_("Gentoo GNOME Desktop")
- dmrc = "gnome"
- _description = N_("Select this installation type for a default installation "
- "with the GNOME desktop environment. "
- "After this installation process you will "
- "be able to install additional packages.")
- _descriptionFields = (productName,)
- sortPriority = 10000
-
- # check if GNOME is available on the system
- if not Entropy().is_installed("gnome-base/gnome-session"):
- hidden = 1
-
- def configure(self, anaconda):
- BaseInstallClass.configure(self, anaconda)
- BaseInstallClass.setDefaultPartitioning(self,
- anaconda.storage, anaconda.platform)
-
- def setSteps(self, anaconda):
- BaseInstallClass.setSteps(self, anaconda)
- anaconda.dispatch.skipStep("welcome", skip = 1)
- #anaconda.dispatch.skipStep("network", skip = 1)
-
- def getBackend(self):
- return LiveCDCopyBackend
-
- def productMatches(self, oldprod):
- if oldprod is None:
- return False
-
- if oldprod.startswith(productName):
- return True
-
- return False
-
- def versionMatches(self, oldver):
- try:
- oldVer = float(oldver)
- newVer = float(productVersion)
- except ValueError:
- return True
-
- return newVer >= oldVer
-
- def __init__(self):
- BaseInstallClass.__init__(self)
diff --git a/installclasses/kde.py b/installclasses/kde.py
deleted file mode 100644
index 17223d6..0000000
--- a/installclasses/kde.py
+++ /dev/null
@@ -1,89 +0,0 @@
-#
-# kde.py
-#
-# Copyright (C) 2010 Fabio Erculiani
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-
-from installclass import BaseInstallClass
-from constants import *
-from product import *
-from flags import flags
-import os, types
-import iutil
-
-import gettext
-_ = lambda x: gettext.ldgettext("anaconda", x)
-
-import installmethod
-
-from gentoo import Entropy
-from gentoo.livecd import LiveCDCopyBackend
-
-class InstallClass(BaseInstallClass):
-
- id = "gentoo_kde"
- name = N_("Gentoo KDE")
-
- _pixmap_dirs = os.getenv("PIXMAPPATH", "/usr/share/pixmaps").split(":")
- for _pix_dir in _pixmap_dirs:
- _pix_path = os.path.join(_pix_dir, "kde.png")
- if os.path.isfile(_pix_path):
- pixmap = _pix_path
-
- dmrc = "KDE-4"
- _description = N_("Select this installation type for a default installation "
- "with the KDE desktop environment. "
- "After this installation process you will "
- "be able to install additional packages.")
- _descriptionFields = (productName,)
- sortPriority = 10000
-
- if not Entropy().is_installed("kde-base/kdebase-startkde"):
- hidden = 1
-
- def configure(self, anaconda):
- BaseInstallClass.configure(self, anaconda)
- BaseInstallClass.setDefaultPartitioning(self,
- anaconda.storage, anaconda.platform)
-
- def setSteps(self, anaconda):
- BaseInstallClass.setSteps(self, anaconda)
- anaconda.dispatch.skipStep("welcome", skip = 1)
- #anaconda.dispatch.skipStep("network", skip = 1)
-
- def getBackend(self):
- return LiveCDCopyBackend
-
- def productMatches(self, oldprod):
- if oldprod is None:
- return False
-
- if oldprod.startswith(productName):
- return True
-
- return False
-
- def versionMatches(self, oldver):
- try:
- oldVer = float(oldver)
- newVer = float(productVersion)
- except ValueError:
- return True
-
- return newVer >= oldVer
-
- def __init__(self):
- BaseInstallClass.__init__(self)
diff --git a/installclasses/lxde.py b/installclasses/lxde.py
deleted file mode 100644
index 33bbeb8..0000000
--- a/installclasses/lxde.py
+++ /dev/null
@@ -1,88 +0,0 @@
-#
-# xfce.py
-#
-# Copyright (C) 2010 Fabio Erculiani
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-
-from installclass import BaseInstallClass
-from constants import *
-from product import *
-from flags import flags
-import os, types
-import iutil
-
-import gettext
-_ = lambda x: gettext.ldgettext("anaconda", x)
-
-import installmethod
-
-from gentoo import Entropy
-from gentoo.livecd import LiveCDCopyBackend
-
-class InstallClass(BaseInstallClass):
-
- id = "gentoo_lxde"
- name = N_("Gentoo LXDE")
-
- _pixmap_dirs = os.getenv("PIXMAPPATH", "/usr/share/pixmaps").split(":")
- for _pix_dir in _pixmap_dirs:
- _pix_path = os.path.join(_pix_dir, "lxde.pg")
- if os.path.isfile(_pix_path):
- pixmap = _pix_path
-
- dmrc = "xfce"
- _description = N_("Select this installation type for a default installation "
- "with the LXDE desktop environment. "
- "A small lightweight and functional working environment at your service.")
- _descriptionFields = (productName,)
- sortPriority = 10000
-
- if not Entropy().is_installed("lxde-base/lxde-common"):
- hidden = 1
-
- def configure(self, anaconda):
- BaseInstallClass.configure(self, anaconda)
- BaseInstallClass.setDefaultPartitioning(self,
- anaconda.storage, anaconda.platform)
-
- def setSteps(self, anaconda):
- BaseInstallClass.setSteps(self, anaconda)
- anaconda.dispatch.skipStep("welcome", skip = 1)
- #anaconda.dispatch.skipStep("network", skip = 1)
-
- def getBackend(self):
- return LiveCDCopyBackend
-
- def productMatches(self, oldprod):
- if oldprod is None:
- return False
-
- if oldprod.startswith(productName):
- return True
-
- return False
-
- def versionMatches(self, oldver):
- try:
- oldVer = float(oldver)
- newVer = float(productVersion)
- except ValueError:
- return True
-
- return newVer >= oldVer
-
- def __init__(self):
- BaseInstallClass.__init__(self)
diff --git a/installclasses/xfce.py b/installclasses/xfce.py
deleted file mode 100644
index d425f82..0000000
--- a/installclasses/xfce.py
+++ /dev/null
@@ -1,88 +0,0 @@
-#
-# xfce.py
-#
-# Copyright (C) 2010 Fabio Erculiani
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-
-from installclass import BaseInstallClass
-from constants import *
-from product import *
-from flags import flags
-import os, types
-import iutil
-
-import gettext
-_ = lambda x: gettext.ldgettext("anaconda", x)
-
-import installmethod
-
-from gentoo import Entropy
-from gentoo.livecd import LiveCDCopyBackend
-
-class InstallClass(BaseInstallClass):
-
- id = "gentoo_xfce"
- name = N_("Gentoo XFCE")
-
- _pixmap_dirs = os.getenv("PIXMAPPATH", "/usr/share/pixmaps").split(":")
- for _pix_dir in _pixmap_dirs:
- _pix_path = os.path.join(_pix_dir, "xfce4.png")
- if os.path.isfile(_pix_path):
- pixmap = _pix_path
-
- dmrc = "xfce"
- _description = N_("Select this installation type for a default installation "
- "with the XFCE desktop environment. "
- "A small lightweight and functional working environment at your service.")
- _descriptionFields = (productName,)
- sortPriority = 10000
-
- if not Entropy().is_installed("xfce-base/xfce-utils"):
- hidden = 1
-
- def configure(self, anaconda):
- BaseInstallClass.configure(self, anaconda)
- BaseInstallClass.setDefaultPartitioning(self,
- anaconda.storage, anaconda.platform)
-
- def setSteps(self, anaconda):
- BaseInstallClass.setSteps(self, anaconda)
- anaconda.dispatch.skipStep("welcome", skip = 1)
- #anaconda.dispatch.skipStep("network", skip = 1)
-
- def getBackend(self):
- return LiveCDCopyBackend
-
- def productMatches(self, oldprod):
- if oldprod is None:
- return False
-
- if oldprod.startswith(productName):
- return True
-
- return False
-
- def versionMatches(self, oldver):
- try:
- oldVer = float(oldver)
- newVer = float(productVersion)
- except ValueError:
- return True
-
- return newVer >= oldVer
-
- def __init__(self):
- BaseInstallClass.__init__(self)