Hi Geoffroy,
I have a prototype of a wrapper to apt-get which has similar functionality
like yume. You can download it from:
http://home.arcor.de/efocht/oscar/rapt
Usage: ./rapt OPTIONS [APT-GET_OPTIONS]
Call apt-get with _only_ the repositories passed on the command line .
OPTIONS can be:
--repo URL : repository which should be included in apt actions
(multiple --repo options are possible).
--installroot DIR : install/remove packages to/from image DIR
--export : create httpd configuration for local repositories
--unexport : delete httpd configuration for local repositories
--listexp : list exported local repositories
--prepare : generate repodata for local repositories
--help : this help information
--verbose : verbose output
APT-GET_OPTIONS are options to be passed to the apt-get command.
The repositories have special format, but it is quite similar to yume.
What I tried until now (on an ubuntu system):
rapt --repo http://ftp.uni-kl.de/pub/linux/ubuntu/+breezy+main \
--installroot /tmp/img install apache-mpm-worker
(this runs debootstrap (from a standard repository, not yet from what I asked
for) into the image /tmp/img).
rapt --repo /tftpboot/distro/ubuntu-5.10-i386 --prepare
Builds metadata cache (Packages files) for the .deb packages copied to
/tftpboot/distro/...
rapt --repo /tftpboot/distro/ubuntu-5.10-i386 --export
Exports the local repository via http (apache must be installed!).
rapt --repo /tftpboot/distro/ubuntu-5.10-i386 --installroot /tmp/img \
--yes install apache2-mpm-worker
Installs apache2 into the image.
The functionality for calling rapt from the clients is not yet complete, the
repository renaming (from file: to http: must be improved), but this is almost
done, too.
I have basic problems with detecting the debian codename for a particular
repository, therefore currently the codename is read out of the
/etc/lsb-release file (I hope sarge has that, too). If you know a better
method to detect sarge/sid/whatever, please tell me. Until then mixed distros
will not be supported.
If this is okay, I think we could proceed to integrate rapt into packman in an
easy way (similar to yume, as rapt can now handle chroots correctly).
Best regards,
Erich
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel