I'm starting to work on modifications to the Distro Constructor to
support generating a sparc image.
Here's my plan, comments are welcome.
1) There are some changes as expected to the manifest file. These are
changes to the package list,
the bootroot contents files, and possibly finalizer scripts (not sure
on that yet). I've considered
adding parameters to each package and file to specify architecture but
that just seems clumsy
and there may in the future be finalizer script changes etc. So right
now I'm going with the
decision that there will be separate manifest files. For example:
slim_cd_sparc.xml
2) There are some sparc specific changes to bootroot_archive and
bootroot_initialize. These
are not large and they fit in nicely with the structure of the code.
For example, after cpio'ing
the files to the bootroot they need to be fiocompressed. I can
easily test for a sparc architecture
and then fiocompress. As long as the changes remain in the "clean"
and "small" range I'll
do this. If they become larger and more code intrusive I'll
investigate using separate finalizer scripts.
Jean