Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (43 sloc) 1.58 KB
Send patches to the libguestfs mailing list.
----------------------------------------------------------------------
If you want to write a package manager for a new Linux distro, then
first look at the interface that you have to supply. It is documented
in src/package_handler.mli. Secondly look at existing handlers, eg.
src/rpm.ml, src/dpkg.ml.
----------------------------------------------------------------------
Overview of the source files:
supermin.ml main program, argument parsing and coordination
|
+- prepare.ml Prepare mode (--prepare option)
|
+- build.ml Build mode (--build option)
|
+- chroot.ml Build a chroot (--build -f chroot)
|
+- ext2.ml Build an ext2 fs (--build -f ext2)
|
+- kernel.ml Find the right kernel to use
|
+- ext2_initrd.ml Build a minimal initrd
Libraries used by both modes:
|
+- package_hander.mli
+- package_hander.ml Package manager interface, for resolving
| | package dependencies, list of files, etc.
| |
| +- rpm.ml Package manager implementation for RPM distros
| |
| +- dpkg.ml Package manager implementation for dpkg distros
| |
| +- etc.
|
+- config.ml Configuration (from autoconf)
|
+- types.ml Some global type declarations
|
+- utils.ml Some utility functions
|
+- fnmatch.ml Interface to fnmatch(3)
| |
| +- fnmatch-c.c Binding to fnmatch(3)
+- etc. And other C bindings ...
Something went wrong with that request. Please try again.