Re: [PATCH 2/2] lorax: don't use mk-s390-cdboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/01/2011 11:21 AM, Dan Horák wrote:
Anaconda dropped the mk-s390-cdboot tool, so we can't call it in lorax.
---
  src/pylorax/images.py |   18 ------------------
  1 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/src/pylorax/images.py b/src/pylorax/images.py
index 5b9a351..8646e39 100644
--- a/src/pylorax/images.py
+++ b/src/pylorax/images.py
@@ -659,24 +659,6 @@ class S390(object):
                      "generic.ins": os.path.basename(generic_ins)}
              self.treeinfo.add_section(section, data)

-        # create cdboot.img
-        bootiso_fpath = joinpaths(self.outputroot, IMAGESDIR, "cdboot.img")
-
-        # run mks390cdboot
-        mks390cdboot = joinpaths(self.installtree.root, "usr/libexec",
-                                 "anaconda", "mk-s390-cdboot")
-
-        cmd = [mks390cdboot, "-i", kernel.fpath, "-r", initrd.fpath,
-               "-p", generic_prm, "-o", bootiso_fpath]
-
-        p = subprocess.Popen(cmd, stdin=subprocess.PIPE,
-                             stdout=subprocess.PIPE)
-        p.wait()
-
-        # add cdboot.img to treeinfo
-        data = {"cdboot.img": joinpaths(IMAGESDIR, "cdboot.img")}
-        self.treeinfo.add_section(section, data)
-
      def create_boot(self, efiboot=None):
          pass


Ack.

--
David Cantrell <dcantrell@xxxxxxxxxx>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Westford, MA | EST5EDT

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



[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux