FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Kubuntu User

 
 
LinkBack Thread Tools
 
Old 05-03-2012, 01:22 PM
Vratislav Podzimek
 
Default Push kickstart to F18

---
pykickstart/handlers/control.py | 19 +++++++++++++++++++
pykickstart/handlers/f18.py | 24 ++++++++++++++++++++++++
pykickstart/version.py | 5 +++--
3 files changed, 46 insertions(+), 2 deletions(-)
create mode 100644 pykickstart/handlers/f18.py

diff --git a/pykickstart/handlers/control.py b/pykickstart/handlers/control.py
index a4af58b..6fe7c10 100644
--- a/pykickstart/handlers/control.py
+++ b/pykickstart/handlers/control.py
@@ -1455,6 +1455,25 @@ dataMap = {
"VolGroupData": volgroup.FC16_VolGroupData,
"ZFCPData": zfcp.F14_ZFCPData,
},
+ F18: {
+ "BTRFSData": btrfs.F17_BTRFSData,
+ "DriverDiskData": driverdisk.F14_DriverDiskData,
+ "DeviceData": device.F8_DeviceData,
+ "DmRaidData": dmraid.FC6_DmRaidData,
+ "FcoeData": fcoe.F13_FcoeData,
+ "GroupData": group.F12_GroupData,
+ "IscsiData": iscsi.F17_IscsiData,
+ "LogVolData": logvol.F17_LogVolData,
+ "MultiPathData": multipath.FC6_MultiPathData,
+ "NetworkData": network.F16_NetworkData,
+ "PartData": partition.F17_PartData,
+ "RaidData": raid.F15_RaidData,
+ "RepoData": repo.F15_RepoData,
+ "SshPwData": sshpw.F13_SshPwData,
+ "UserData": user.F12_UserData,
+ "VolGroupData": volgroup.FC16_VolGroupData,
+ "ZFCPData": zfcp.F14_ZFCPData,
+ },
RHEL3: {
"DriverDiskData": driverdisk.FC3_DriverDiskData,
"LogVolData": logvol.FC3_LogVolData,
diff --git a/pykickstart/handlers/f18.py b/pykickstart/handlers/f18.py
new file mode 100644
index 0000000..555c979
--- /dev/null
+++ b/pykickstart/handlers/f18.py
@@ -0,0 +1,24 @@
+#
+# Vratislav Podzimek <vpodzime@redhat.com>
+#
+# Copyright 2012 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 F18Handler(BaseHandler):
+ version = F18
diff --git a/pykickstart/version.py b/pykickstart/version.py
index eadbc30..75593b4 100644
--- a/pykickstart/version.py
+++ b/pykickstart/version.py
@@ -71,17 +71,18 @@ F14 = 12000
F15 = 13000
F16 = 14000
F17 = 15000
+F18 = 16000
RHEL7 = 15100

# This always points at the latest version and is the default.
-DEVEL = F17
+DEVEL = F18

# A one-to-one mapping from string representations to version numbers.
versionMap = {
"DEVEL": DEVEL,
"FC3": FC3, "FC4": FC4, "FC5": FC5, "FC6": FC6, "F7": F7, "F8": F8,
"F9": F9, "F10": F10, "F11": F11, "F12": F12, "F13": F13,
- "F14": F14, "F15": F15, "F16": F16, "F17": F17,
+ "F14": F14, "F15": F15, "F16": F16, "F17": F17, "F18": F18,
"RHEL3": RHEL3, "RHEL4": RHEL4, "RHEL5": RHEL5, "RHEL6": RHEL6,
"RHEL7": RHEL7
}
--
1.7.4.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 05-03-2012, 03:22 PM
Chris Lumens
 
Default Push kickstart to F18

> pykickstart/handlers/control.py | 19 +++++++++++++++++++
> pykickstart/handlers/f18.py | 24 ++++++++++++++++++++++++
> pykickstart/version.py | 5 +++--
> 3 files changed, 46 insertions(+), 2 deletions(-)
> create mode 100644 pykickstart/handlers/f18.py

Please also modify tests/version.py to support F18. In general when
adding a new syntax version to pykickstart, you can look through the
history for a previous patch and just copy what it did. It's pretty
boring, boilerplate stuff.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 03:47 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org