Just a few fast remarks
Looking at it again, the archmap stuff should really not be in
there.
Basically what we need here is the bare minimum patch to add "cobbler
import" ability to scan Debian, without changing or cleaning up any of
the existing stuff.
The archmap stuff is there just to replace existing changes in arch names
coming from command line or from the imported trees. It's no problem
to leave the original code there (although I obviously believe that the map
is cleaner, besides the ugly trick of the empty string value).
For reference, here's one of the import use cases that I found
broken:
make devinstall && make eraseconfig && cobbler import --name=RHEL3U3
--mirror=/mnt/engarchive2/released/RHEL-3/U3/AS/ --available-as=http://foo
Is it possible to get a copy of that tree ? When I run `make test`, everything
goes right, although the included repos are quite limited.
[Actually I need to remove acl related things. Do I need some extra package,
or might that code not be commited]
(eraseconfig is a new target that just creates a clean cobbler
install)
Regarding that target, I believe there is a bug in the Makefile. It cares about
/var/lib/cobbler/distro* and similar things, but I think what it searchs for is
actually /var/lib/cobbler/config/distro*
Javier Palacios