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.
Add the getBuildArch() function which does what this was doing in
buildinstall:
repoquery -c CONF --qf "%{ARCH}\n" anaconda
Also fixed the mkstemp() usage.
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.
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.