Commit Graph

6 Commits

Author SHA1 Message Date
David Cantrell
c272dcc076 Write getBuildArch() function and correct mkstemp calls.
Add the getBuildArch() function which does what this was doing in
buildinstall:

    repoquery -c CONF --qf "%{ARCH}\n" anaconda

Also fixed the mkstemp() usage.
2008-10-03 15:46:01 -10:00
David Cantrell
7c6562f972 Syntax fixes. 2008-09-12 16:15:10 -10:00
David Cantrell
f16dd41cca Various support functions from buildinstall.
Creating directories, the yum.conf file, and cleanup.
2008-09-12 16:04:02 -10:00
David Cantrell
7b111a604b Added treeinfo.py module to pylorax.
The treeinfo module replaces maketreeinfo.py and currently
provides a single function called write().
2008-09-12 15:05:49 -10:00
David Cantrell
5033fcc35b Created pylorax.discinfo for writing .discinfo files.
This functionality was previously handled by the makestamp.py
script in anaconda.  Created a module under pylorax with just
one function (for now).  Not sure if it will need to be
extended, but part of the reason for rewriting all of this
code is to make it more extendable.
2008-09-12 14:34:15 -10:00
David Cantrell
964d226898 Initial code import.
Option parsing in the main driver, nothing else.
2008-09-11 14:21:12 -10:00