Hi,
I've discovered, that using oscar-packager without having installed oscar at
all (and thus without having set up the distro (thus
/tftpboot/oscar/debian-#-arch.url, it works not that bad.
In fact, no missing dependancies at all, and not crash due to the fact that
oscar is not initialized. The only issue is that packman is using an almost
empty url file (/tftpboot/oscar/debian-6-x86_64.url) that is initialized by
packman with only the local repo file:/tftpboot/...
The "small" problem is that it's missleading as packman says that for example
dblatex is not available (which is missleading as it is available, except that
the distro repo is ignored).
Solutions are:
- make a requirement on oscar-config and check that oscar-config--setup-distro
was run at least once.
- removes distros url from supported_distros.txt and have oscar-config
--setup-distro read them from the system (/etc/apt/*). (less bugs IMHO and more
concistant with system). => need to check impact of such a behaviour.
Note that is packman is run with an incomplete /tftpboot/oscar/*url file,
subsequent calls from apt-get install will fail until apt-get update is run.....
This is not a big issue, but it should be at least put in the doc of
oscar-packager IMHO.
The ideal solution would be to have the distro repo setup from the system
instead of supported_distros.txt, but this may require many changes, and before
doing so, the pro and cons must be carefully studied...
Olivier.
--
Olivier LAHAYE
CEA DRT/LIST/DCSI/DIR
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel