mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
wic: Remove unused command versioning support
The default is F16 and there's no reason to change that, so remove everything else. (From OE-Core rev: e0ec12d012e568c9943614fc1190c143912180b3) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8678a6eb02
commit
02ebd15c62
@@ -214,52 +214,3 @@ class F15_Bootloader(F14_Bootloader):
|
||||
op.add_option("--iscrypted", dest="isCrypted", action="store_true", default=False)
|
||||
op.add_option("--md5pass", action="callback", callback=password_cb, nargs=1, type="string")
|
||||
return op
|
||||
|
||||
class RHEL5_Bootloader(FC4_Bootloader):
|
||||
removedKeywords = FC4_Bootloader.removedKeywords
|
||||
removedAttrs = FC4_Bootloader.removedAttrs
|
||||
|
||||
def __init__(self, writePriority=10, *args, **kwargs):
|
||||
FC4_Bootloader.__init__(self, writePriority, *args, **kwargs)
|
||||
|
||||
self.hvArgs = kwargs.get("hvArgs", "")
|
||||
|
||||
def _getArgsAsStr(self):
|
||||
ret = FC4_Bootloader._getArgsAsStr(self)
|
||||
|
||||
if self.hvArgs:
|
||||
ret += " --hvargs=\"%s\"" %(self.hvArgs,)
|
||||
|
||||
return ret
|
||||
|
||||
def _getParser(self):
|
||||
op = FC4_Bootloader._getParser(self)
|
||||
op.add_option("--hvargs", dest="hvArgs", type="string")
|
||||
return op
|
||||
|
||||
class RHEL6_Bootloader(F12_Bootloader):
|
||||
removedKeywords = F12_Bootloader.removedKeywords
|
||||
removedAttrs = F12_Bootloader.removedAttrs
|
||||
|
||||
def __init__(self, writePriority=10, *args, **kwargs):
|
||||
F12_Bootloader.__init__(self, writePriority, *args, **kwargs)
|
||||
|
||||
self.isCrypted = kwargs.get("isCrypted", False)
|
||||
|
||||
def _getArgsAsStr(self):
|
||||
ret = F12_Bootloader._getArgsAsStr(self)
|
||||
|
||||
if self.isCrypted:
|
||||
ret += " --iscrypted"
|
||||
|
||||
return ret
|
||||
|
||||
def _getParser(self):
|
||||
def password_cb(option, opt_str, value, parser):
|
||||
parser.values.isCrypted = True
|
||||
parser.values.password = value
|
||||
|
||||
op = F12_Bootloader._getParser(self)
|
||||
op.add_option("--iscrypted", dest="isCrypted", action="store_true", default=False)
|
||||
op.add_option("--md5pass", action="callback", callback=password_cb, nargs=1, type="string")
|
||||
return op
|
||||
|
||||
@@ -115,26 +115,6 @@ class FC4_PartData(FC3_PartData):
|
||||
|
||||
return retval
|
||||
|
||||
class RHEL5_PartData(FC4_PartData):
|
||||
removedKeywords = FC4_PartData.removedKeywords
|
||||
removedAttrs = FC4_PartData.removedAttrs
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
FC4_PartData.__init__(self, *args, **kwargs)
|
||||
self.encrypted = kwargs.get("encrypted", False)
|
||||
self.passphrase = kwargs.get("passphrase", "")
|
||||
|
||||
def _getArgsAsStr(self):
|
||||
retval = FC4_PartData._getArgsAsStr(self)
|
||||
|
||||
if self.encrypted:
|
||||
retval += " --encrypted"
|
||||
|
||||
if self.passphrase != "":
|
||||
retval += " --passphrase=\"%s\"" % self.passphrase
|
||||
|
||||
return retval
|
||||
|
||||
class F9_PartData(FC4_PartData):
|
||||
removedKeywords = FC4_PartData.removedKeywords + ["bytesPerInode"]
|
||||
removedAttrs = FC4_PartData.removedAttrs + ["bytesPerInode"]
|
||||
@@ -281,25 +261,6 @@ class FC4_Partition(FC3_Partition):
|
||||
op.add_option("--label", dest="label")
|
||||
return op
|
||||
|
||||
class RHEL5_Partition(FC4_Partition):
|
||||
removedKeywords = FC4_Partition.removedKeywords
|
||||
removedAttrs = FC4_Partition.removedAttrs
|
||||
|
||||
def __init__(self, writePriority=130, *args, **kwargs):
|
||||
FC4_Partition.__init__(self, writePriority, *args, **kwargs)
|
||||
|
||||
def part_cb (option, opt_str, value, parser):
|
||||
if value.startswith("/dev/"):
|
||||
parser.values.ensure_value(option.dest, value[5:])
|
||||
else:
|
||||
parser.values.ensure_value(option.dest, value)
|
||||
|
||||
def _getParser(self):
|
||||
op = FC4_Partition._getParser(self)
|
||||
op.add_option("--encrypted", action="store_true", default=False)
|
||||
op.add_option("--passphrase")
|
||||
return op
|
||||
|
||||
class F9_Partition(FC4_Partition):
|
||||
removedKeywords = FC4_Partition.removedKeywords
|
||||
removedAttrs = FC4_Partition.removedAttrs
|
||||
|
||||
@@ -26,130 +26,12 @@ from pykickstart.commands import *
|
||||
# command names can map to the same class. However, the Handler will ensure
|
||||
# that only one instance of each class ever exists.
|
||||
commandMap = {
|
||||
FC3: {
|
||||
"bootloader": bootloader.FC3_Bootloader,
|
||||
"part": partition.FC3_Partition,
|
||||
"partition": partition.FC3_Partition,
|
||||
},
|
||||
|
||||
# based on fc3
|
||||
FC4: {
|
||||
"bootloader": bootloader.FC4_Bootloader,
|
||||
"part": partition.FC4_Partition,
|
||||
"partition": partition.FC4_Partition,
|
||||
},
|
||||
|
||||
# based on fc4
|
||||
FC5: {
|
||||
"bootloader": bootloader.FC4_Bootloader,
|
||||
"part": partition.FC4_Partition,
|
||||
"partition": partition.FC4_Partition,
|
||||
},
|
||||
|
||||
# based on fc5
|
||||
FC6: {
|
||||
"bootloader": bootloader.FC4_Bootloader,
|
||||
"part": partition.FC4_Partition,
|
||||
"partition": partition.FC4_Partition,
|
||||
},
|
||||
|
||||
# based on fc6
|
||||
F7: {
|
||||
"bootloader": bootloader.FC4_Bootloader,
|
||||
"part": partition.FC4_Partition,
|
||||
"partition": partition.FC4_Partition,
|
||||
},
|
||||
|
||||
# based on f7
|
||||
F8: {
|
||||
"bootloader": bootloader.F8_Bootloader,
|
||||
"part": partition.FC4_Partition,
|
||||
"partition": partition.FC4_Partition,
|
||||
},
|
||||
|
||||
# based on f8
|
||||
F9: {
|
||||
"bootloader": bootloader.F8_Bootloader,
|
||||
"part": partition.F9_Partition,
|
||||
"partition": partition.F9_Partition,
|
||||
},
|
||||
|
||||
# based on f9
|
||||
F10: {
|
||||
"bootloader": bootloader.F8_Bootloader,
|
||||
"part": partition.F9_Partition,
|
||||
"partition": partition.F9_Partition,
|
||||
},
|
||||
|
||||
# based on f10
|
||||
F11: {
|
||||
"bootloader": bootloader.F8_Bootloader,
|
||||
"part": partition.F11_Partition,
|
||||
"partition": partition.F11_Partition,
|
||||
},
|
||||
|
||||
# based on f11
|
||||
F12: {
|
||||
"bootloader": bootloader.F12_Bootloader,
|
||||
"part": partition.F12_Partition,
|
||||
"partition": partition.F12_Partition,
|
||||
},
|
||||
|
||||
# based on f12
|
||||
F13: {
|
||||
"bootloader": bootloader.F12_Bootloader,
|
||||
"part": partition.F12_Partition,
|
||||
"partition": partition.F12_Partition,
|
||||
},
|
||||
|
||||
# based on f13
|
||||
F14: {
|
||||
"bootloader": bootloader.F14_Bootloader,
|
||||
"part": partition.F14_Partition,
|
||||
"partition": partition.F14_Partition,
|
||||
},
|
||||
|
||||
# based on f14
|
||||
F15: {
|
||||
"bootloader": bootloader.F15_Bootloader,
|
||||
"part": partition.F14_Partition,
|
||||
"partition": partition.F14_Partition,
|
||||
},
|
||||
|
||||
# based on f15
|
||||
F16: {
|
||||
"bootloader": bootloader.F15_Bootloader,
|
||||
"part": partition.F14_Partition,
|
||||
"partition": partition.F14_Partition,
|
||||
},
|
||||
|
||||
# based on fc1
|
||||
RHEL3: {
|
||||
"bootloader": bootloader.FC3_Bootloader,
|
||||
"part": partition.FC3_Partition,
|
||||
"partition": partition.FC3_Partition,
|
||||
},
|
||||
|
||||
# based on fc3
|
||||
RHEL4: {
|
||||
"bootloader": bootloader.FC3_Bootloader,
|
||||
"part": partition.FC3_Partition,
|
||||
"partition": partition.FC3_Partition,
|
||||
},
|
||||
|
||||
# based on fc6
|
||||
RHEL5: {
|
||||
"bootloader": bootloader.RHEL5_Bootloader,
|
||||
"part": partition.RHEL5_Partition,
|
||||
"partition": partition.RHEL5_Partition,
|
||||
},
|
||||
|
||||
# based on f13ish
|
||||
RHEL6: {
|
||||
"bootloader": bootloader.RHEL6_Bootloader,
|
||||
"part": partition.F12_Partition,
|
||||
"partition": partition.F12_Partition,
|
||||
}
|
||||
}
|
||||
|
||||
# This map is keyed on kickstart syntax version as provided by
|
||||
@@ -158,58 +40,7 @@ commandMap = {
|
||||
# each name maps to exactly one data class and all data classes have a name.
|
||||
# More than one instance of each class is allowed to exist, however.
|
||||
dataMap = {
|
||||
FC3: {
|
||||
"PartData": partition.FC3_PartData,
|
||||
},
|
||||
FC4: {
|
||||
"PartData": partition.FC4_PartData,
|
||||
},
|
||||
FC5: {
|
||||
"PartData": partition.FC4_PartData,
|
||||
},
|
||||
FC6: {
|
||||
"PartData": partition.FC4_PartData,
|
||||
},
|
||||
F7: {
|
||||
"PartData": partition.FC4_PartData,
|
||||
},
|
||||
F8: {
|
||||
"PartData": partition.FC4_PartData,
|
||||
},
|
||||
F9: {
|
||||
"PartData": partition.F9_PartData,
|
||||
},
|
||||
F10: {
|
||||
"PartData": partition.F9_PartData,
|
||||
},
|
||||
F11: {
|
||||
"PartData": partition.F11_PartData,
|
||||
},
|
||||
F12: {
|
||||
"PartData": partition.F12_PartData,
|
||||
},
|
||||
F13: {
|
||||
"PartData": partition.F12_PartData,
|
||||
},
|
||||
F14: {
|
||||
"PartData": partition.F14_PartData,
|
||||
},
|
||||
F15: {
|
||||
"PartData": partition.F14_PartData,
|
||||
},
|
||||
F16: {
|
||||
"PartData": partition.F14_PartData,
|
||||
},
|
||||
RHEL3: {
|
||||
"PartData": partition.FC3_PartData,
|
||||
},
|
||||
RHEL4: {
|
||||
"PartData": partition.FC3_PartData,
|
||||
},
|
||||
RHEL5: {
|
||||
"PartData": partition.RHEL5_PartData,
|
||||
},
|
||||
RHEL6: {
|
||||
"PartData": partition.F12_PartData,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
#
|
||||
# Chris Lumens <clumens@redhat.com>
|
||||
#
|
||||
# Copyright 2008 Red Hat, Inc.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing to use, modify,
|
||||
# copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
# General Public License v.2. This program is distributed in the hope that it
|
||||
# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
|
||||
# implied warranties 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, write to the Free Software Foundation, Inc., 51
|
||||
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
|
||||
# trademarks that are incorporated in the source code or documentation are not
|
||||
# subject to the GNU General Public License and may only be used or replicated
|
||||
# with the express permission of Red Hat, Inc.
|
||||
#
|
||||
from pykickstart.base import *
|
||||
from pykickstart.version import *
|
||||
|
||||
class F10Handler(BaseHandler):
|
||||
version = F10
|
||||
@@ -1,24 +0,0 @@
|
||||
#
|
||||
# Chris Lumens <clumens@redhat.com>
|
||||
#
|
||||
# Copyright 2008 Red Hat, Inc.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing to use, modify,
|
||||
# copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
# General Public License v.2. This program is distributed in the hope that it
|
||||
# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
|
||||
# implied warranties 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, write to the Free Software Foundation, Inc., 51
|
||||
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
|
||||
# trademarks that are incorporated in the source code or documentation are not
|
||||
# subject to the GNU General Public License and may only be used or replicated
|
||||
# with the express permission of Red Hat, Inc.
|
||||
#
|
||||
from pykickstart.base import *
|
||||
from pykickstart.version import *
|
||||
|
||||
class F11Handler(BaseHandler):
|
||||
version = F11
|
||||
@@ -1,24 +0,0 @@
|
||||
#
|
||||
# Chris Lumens <clumens@redhat.com>
|
||||
#
|
||||
# Copyright 2009 Red Hat, Inc.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing to use, modify,
|
||||
# copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
# General Public License v.2. This program is distributed in the hope that it
|
||||
# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
|
||||
# implied warranties 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, write to the Free Software Foundation, Inc., 51
|
||||
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
|
||||
# trademarks that are incorporated in the source code or documentation are not
|
||||
# subject to the GNU General Public License and may only be used or replicated
|
||||
# with the express permission of Red Hat, Inc.
|
||||
#
|
||||
from pykickstart.base import *
|
||||
from pykickstart.version import *
|
||||
|
||||
class F12Handler(BaseHandler):
|
||||
version = F12
|
||||
@@ -1,24 +0,0 @@
|
||||
#
|
||||
# Chris Lumens <clumens@redhat.com>
|
||||
#
|
||||
# Copyright 2009 Red Hat, Inc.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing to use, modify,
|
||||
# copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
# General Public License v.2. This program is distributed in the hope that it
|
||||
# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
|
||||
# implied warranties 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, write to the Free Software Foundation, Inc., 51
|
||||
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
|
||||
# trademarks that are incorporated in the source code or documentation are not
|
||||
# subject to the GNU General Public License and may only be used or replicated
|
||||
# with the express permission of Red Hat, Inc.
|
||||
#
|
||||
from pykickstart.base import *
|
||||
from pykickstart.version import *
|
||||
|
||||
class F13Handler(BaseHandler):
|
||||
version = F13
|
||||
@@ -1,24 +0,0 @@
|
||||
#
|
||||
# Chris Lumens <clumens@redhat.com>
|
||||
#
|
||||
# Copyright 2010 Red Hat, Inc.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing to use, modify,
|
||||
# copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
# General Public License v.2. This program is distributed in the hope that it
|
||||
# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
|
||||
# implied warranties 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, write to the Free Software Foundation, Inc., 51
|
||||
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
|
||||
# trademarks that are incorporated in the source code or documentation are not
|
||||
# subject to the GNU General Public License and may only be used or replicated
|
||||
# with the express permission of Red Hat, Inc.
|
||||
#
|
||||
from pykickstart.base import *
|
||||
from pykickstart.version import *
|
||||
|
||||
class F14Handler(BaseHandler):
|
||||
version = F14
|
||||
@@ -1,24 +0,0 @@
|
||||
#
|
||||
# Chris Lumens <clumens@redhat.com>
|
||||
#
|
||||
# Copyright 2010 Red Hat, Inc.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing to use, modify,
|
||||
# copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
# General Public License v.2. This program is distributed in the hope that it
|
||||
# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
|
||||
# implied warranties 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, write to the Free Software Foundation, Inc., 51
|
||||
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
|
||||
# trademarks that are incorporated in the source code or documentation are not
|
||||
# subject to the GNU General Public License and may only be used or replicated
|
||||
# with the express permission of Red Hat, Inc.
|
||||
#
|
||||
from pykickstart.base import *
|
||||
from pykickstart.version import *
|
||||
|
||||
class F15Handler(BaseHandler):
|
||||
version = F15
|
||||
@@ -1,24 +0,0 @@
|
||||
#
|
||||
# Chris Lumens <clumens@redhat.com>
|
||||
#
|
||||
# Copyright 2007 Red Hat, Inc.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing to use, modify,
|
||||
# copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
# General Public License v.2. This program is distributed in the hope that it
|
||||
# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
|
||||
# implied warranties 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, write to the Free Software Foundation, Inc., 51
|
||||
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
|
||||
# trademarks that are incorporated in the source code or documentation are not
|
||||
# subject to the GNU General Public License and may only be used or replicated
|
||||
# with the express permission of Red Hat, Inc.
|
||||
#
|
||||
from pykickstart.base import *
|
||||
from pykickstart.version import *
|
||||
|
||||
class F7Handler(BaseHandler):
|
||||
version = F7
|
||||
@@ -1,24 +0,0 @@
|
||||
#
|
||||
# Chris Lumens <clumens@redhat.com>
|
||||
#
|
||||
# Copyright 2007 Red Hat, Inc.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing to use, modify,
|
||||
# copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
# General Public License v.2. This program is distributed in the hope that it
|
||||
# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
|
||||
# implied warranties 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, write to the Free Software Foundation, Inc., 51
|
||||
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
|
||||
# trademarks that are incorporated in the source code or documentation are not
|
||||
# subject to the GNU General Public License and may only be used or replicated
|
||||
# with the express permission of Red Hat, Inc.
|
||||
#
|
||||
from pykickstart.base import *
|
||||
from pykickstart.version import *
|
||||
|
||||
class F8Handler(BaseHandler):
|
||||
version = F8
|
||||
@@ -1,24 +0,0 @@
|
||||
#
|
||||
# Chris Lumens <clumens@redhat.com>
|
||||
#
|
||||
# Copyright 2007 Red Hat, Inc.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing to use, modify,
|
||||
# copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
# General Public License v.2. This program is distributed in the hope that it
|
||||
# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
|
||||
# implied warranties 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, write to the Free Software Foundation, Inc., 51
|
||||
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
|
||||
# trademarks that are incorporated in the source code or documentation are not
|
||||
# subject to the GNU General Public License and may only be used or replicated
|
||||
# with the express permission of Red Hat, Inc.
|
||||
#
|
||||
from pykickstart.base import *
|
||||
from pykickstart.version import *
|
||||
|
||||
class F9Handler(BaseHandler):
|
||||
version = F9
|
||||
@@ -1,24 +0,0 @@
|
||||
#
|
||||
# Chris Lumens <clumens@redhat.com>
|
||||
#
|
||||
# Copyright 2005, 2006, 2007 Red Hat, Inc.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing to use, modify,
|
||||
# copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
# General Public License v.2. This program is distributed in the hope that it
|
||||
# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
|
||||
# implied warranties 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, write to the Free Software Foundation, Inc., 51
|
||||
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
|
||||
# trademarks that are incorporated in the source code or documentation are not
|
||||
# subject to the GNU General Public License and may only be used or replicated
|
||||
# with the express permission of Red Hat, Inc.
|
||||
#
|
||||
from pykickstart.base import *
|
||||
from pykickstart.version import *
|
||||
|
||||
class FC3Handler(BaseHandler):
|
||||
version = FC3
|
||||
@@ -1,24 +0,0 @@
|
||||
#
|
||||
# Chris Lumens <clumens@redhat.com>
|
||||
#
|
||||
# Copyright 2007 Red Hat, Inc.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing to use, modify,
|
||||
# copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
# General Public License v.2. This program is distributed in the hope that it
|
||||
# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
|
||||
# implied warranties 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, write to the Free Software Foundation, Inc., 51
|
||||
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
|
||||
# trademarks that are incorporated in the source code or documentation are not
|
||||
# subject to the GNU General Public License and may only be used or replicated
|
||||
# with the express permission of Red Hat, Inc.
|
||||
#
|
||||
from pykickstart.base import *
|
||||
from pykickstart.version import *
|
||||
|
||||
class FC4Handler(BaseHandler):
|
||||
version = FC4
|
||||
@@ -1,24 +0,0 @@
|
||||
#
|
||||
# Chris Lumens <clumens@redhat.com>
|
||||
#
|
||||
# Copyright 2007 Red Hat, Inc.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing to use, modify,
|
||||
# copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
# General Public License v.2. This program is distributed in the hope that it
|
||||
# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
|
||||
# implied warranties 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, write to the Free Software Foundation, Inc., 51
|
||||
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
|
||||
# trademarks that are incorporated in the source code or documentation are not
|
||||
# subject to the GNU General Public License and may only be used or replicated
|
||||
# with the express permission of Red Hat, Inc.
|
||||
#
|
||||
from pykickstart.base import *
|
||||
from pykickstart.version import *
|
||||
|
||||
class FC5Handler(BaseHandler):
|
||||
version = FC5
|
||||
@@ -1,24 +0,0 @@
|
||||
#
|
||||
# Chris Lumens <clumens@redhat.com>
|
||||
#
|
||||
# Copyright 2006, 2007 Red Hat, Inc.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing to use, modify,
|
||||
# copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
# General Public License v.2. This program is distributed in the hope that it
|
||||
# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
|
||||
# implied warranties 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, write to the Free Software Foundation, Inc., 51
|
||||
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
|
||||
# trademarks that are incorporated in the source code or documentation are not
|
||||
# subject to the GNU General Public License and may only be used or replicated
|
||||
# with the express permission of Red Hat, Inc.
|
||||
#
|
||||
from pykickstart.base import *
|
||||
from pykickstart.version import *
|
||||
|
||||
class FC6Handler(BaseHandler):
|
||||
version = FC6
|
||||
@@ -1,24 +0,0 @@
|
||||
#
|
||||
# Chris Lumens <clumens@redhat.com>
|
||||
#
|
||||
# Copyright 2007 Red Hat, Inc.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing to use, modify,
|
||||
# copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
# General Public License v.2. This program is distributed in the hope that it
|
||||
# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
|
||||
# implied warranties 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, write to the Free Software Foundation, Inc., 51
|
||||
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
|
||||
# trademarks that are incorporated in the source code or documentation are not
|
||||
# subject to the GNU General Public License and may only be used or replicated
|
||||
# with the express permission of Red Hat, Inc.
|
||||
#
|
||||
from pykickstart.base import *
|
||||
from pykickstart.version import *
|
||||
|
||||
class RHEL3Handler(BaseHandler):
|
||||
version = RHEL3
|
||||
@@ -1,24 +0,0 @@
|
||||
#
|
||||
# Chris Lumens <clumens@redhat.com>
|
||||
#
|
||||
# Copyright 2007 Red Hat, Inc.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing to use, modify,
|
||||
# copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
# General Public License v.2. This program is distributed in the hope that it
|
||||
# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
|
||||
# implied warranties 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, write to the Free Software Foundation, Inc., 51
|
||||
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
|
||||
# trademarks that are incorporated in the source code or documentation are not
|
||||
# subject to the GNU General Public License and may only be used or replicated
|
||||
# with the express permission of Red Hat, Inc.
|
||||
#
|
||||
from pykickstart.base import *
|
||||
from pykickstart.version import *
|
||||
|
||||
class RHEL4Handler(BaseHandler):
|
||||
version = RHEL4
|
||||
@@ -1,24 +0,0 @@
|
||||
#
|
||||
# Chris Lumens <clumens@redhat.com>
|
||||
#
|
||||
# Copyright 2007 Red Hat, Inc.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing to use, modify,
|
||||
# copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
# General Public License v.2. This program is distributed in the hope that it
|
||||
# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
|
||||
# implied warranties 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, write to the Free Software Foundation, Inc., 51
|
||||
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
|
||||
# trademarks that are incorporated in the source code or documentation are not
|
||||
# subject to the GNU General Public License and may only be used or replicated
|
||||
# with the express permission of Red Hat, Inc.
|
||||
#
|
||||
from pykickstart.base import *
|
||||
from pykickstart.version import *
|
||||
|
||||
class RHEL5Handler(BaseHandler):
|
||||
version = RHEL5
|
||||
@@ -1,24 +0,0 @@
|
||||
#
|
||||
# Chris Lumens <clumens@redhat.com>
|
||||
#
|
||||
# Copyright 2010 Red Hat, Inc.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing to use, modify,
|
||||
# copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
# General Public License v.2. This program is distributed in the hope that it
|
||||
# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
|
||||
# implied warranties 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, write to the Free Software Foundation, Inc., 51
|
||||
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
|
||||
# trademarks that are incorporated in the source code or documentation are not
|
||||
# subject to the GNU General Public License and may only be used or replicated
|
||||
# with the express permission of Red Hat, Inc.
|
||||
#
|
||||
from pykickstart.base import *
|
||||
from pykickstart.version import *
|
||||
|
||||
class RHEL6Handler(BaseHandler):
|
||||
version = RHEL6
|
||||
Reference in New Issue
Block a user