Commit Graph

2672 Commits

Author SHA1 Message Date
David Cantrell bbf732c9e1 I have a to do list.
All projects need neverending to do lists.
2008-10-04 18:49:04 -10:00
David Cantrell 45d93040e7 Call pylorax.instroot.createInstRoot()
The instroot module provides the old upd-instroot functionality.
2008-10-04 18:45:55 -10:00
David Cantrell 49a2614bd6 The instroot.py module is a rewrite of upd-instroot. 2008-10-04 18:44:49 -10:00
David Cantrell 74e6855d10 Import yum, rpmUtils, and instroot. Add conf[] hash table. 2008-10-04 18:44:28 -10:00
David Cantrell 8ed3d43ca0 Forgot to delete etc/packages.ppc64 2008-10-04 17:57:12 -10:00
David Cantrell 3d9418a652 Created arch subdirs in /etc/lorax.
Rather than have packages.ARCH and modules.ARCH files, use arch
subdirectories in /etc/lorax.  Better organization.
2008-10-04 17:55:38 -10:00
David Cantrell 3ccd97bfb9 Merge etc/rescue* contents in to appropriate etc/packages* files.
After reading upd-instroot [again], I see that we just merge the
PACKAGES and PACKAGESRESCUE lists together at the end since it's
all the same image now.
2008-10-04 17:52:41 -10:00
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 2bc22432f1 Update the POLICY file. 2008-10-03 15:45:33 -10:00
David Cantrell bc76ca2070 Set buildarch and other fixes.
Set buildarch to the value of pylorax.getBuildArch().
Other minor cleanups.
2008-10-03 15:44:57 -10:00
David Cantrell 7c6562f972 Syntax fixes. 2008-09-12 16:15:10 -10:00
David Cantrell 57c51abe99 /etc/lorax/modules
The list of kernel modules to include in initrd.img.
2008-09-12 16:08:21 -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 aceb9a14ca More program flow brought over from buildinstall.
The main driver program is starting to take shape.  Still a lot
to do, such as recreating upd-instroot and the mk-images mess.
2008-09-12 16:03:20 -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 28a51258d8 POLICY explains what I'm doing. 2008-09-12 15:05:30 -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 a6cf1542df Ignore *.pyc files.
Add *.pyc to .gitignore and remove __init__.pyc.
2008-09-12 12:10:33 -10:00
David Cantrell ada64599d0 Use /usr/bin/python -tt 2008-09-12 12:04:12 -10:00
David Cantrell 964d226898 Initial code import.
Option parsing in the main driver, nothing else.
2008-09-11 14:21:12 -10:00
David Cantrell de03ab166c Start of /etc/lorax files.
The existing buildinstall system had all sorts of data that
would be more suited to configuration files stored directly
in the scripts.  The most difficult set to maintain was the
list of packages for install mode and rescue mode.

I have created a set of configuration files divided by
architecture that allow you to specify the packages to be
included in general or for specific platforms.
2008-09-11 14:16:52 -10:00
David Cantrell 7da79b4c20 Initial project description files imported. 2008-09-11 14:16:39 -10:00