From 9867c805d02113d164c6affc5952d0e55c11a794 Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Thu, 14 Jan 2010 14:26:55 +0100 Subject: [PATCH] Added specific code for ppc images --- etc/lorax/config.s390 | 2 +- etc/lorax/templates/scrubs/scrubs.s390 | 1 - rewrite/mk-images | 1019 ------------------------ rewrite/mk-images.alpha | 131 --- rewrite/mk-images.ia64 | 172 ---- rewrite/mk-images.ppc | 171 ---- rewrite/mk-images.s390 | 54 -- src/pylorax/__init__.py | 112 ++- src/pylorax/config.py | 54 ++ src/pylorax/efi.py | 3 +- src/pylorax/install.py | 207 ++--- src/pylorax/ramdisk.py | 87 +- 12 files changed, 342 insertions(+), 1671 deletions(-) delete mode 120000 etc/lorax/templates/scrubs/scrubs.s390 delete mode 100755 rewrite/mk-images delete mode 100644 rewrite/mk-images.alpha delete mode 100644 rewrite/mk-images.ia64 delete mode 100644 rewrite/mk-images.ppc delete mode 100644 rewrite/mk-images.s390 diff --git a/etc/lorax/config.s390 b/etc/lorax/config.s390 index 5593f498..56e359c3 100644 --- a/etc/lorax/config.s390 +++ b/etc/lorax/config.s390 @@ -8,4 +8,4 @@ modules: zfcp tape390 dasd_diag_mod dasd_eckd_mod dasd_fba_mod dasd_mod ctc netiucv smsgiucv lcs qdio qeth ccwgroup crypto_api xfrm_nalgo initrd_template=templates/initrd/initrd.s390 -scrubs_template=templates/scrubs/scrubs.s390 +scrubs_template=templates/scrubs/scrubs.i386 diff --git a/etc/lorax/templates/scrubs/scrubs.s390 b/etc/lorax/templates/scrubs/scrubs.s390 deleted file mode 120000 index 782e69b5..00000000 --- a/etc/lorax/templates/scrubs/scrubs.s390 +++ /dev/null @@ -1 +0,0 @@ -scrubs.i386 \ No newline at end of file diff --git a/rewrite/mk-images b/rewrite/mk-images deleted file mode 100755 index 56a7a88d..00000000 --- a/rewrite/mk-images +++ /dev/null @@ -1,1019 +0,0 @@ -#!/bin/bash -# -# mk-images -# -# Copyright (C) 2007 Red Hat, Inc. All rights reserved. -# -# 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 . -# - -LANG=C - -PATH=$PATH:/sbin:/usr/sbin -IMAGEUUID=$(date +%Y%m%d%H%M).$(uname -i) -TMPDIR=${TMPDIR:-/tmp} - -usage () { - echo "usage: mk-images