[Devel] vzpkg
Robert Nelson
robertn at the-nelsons.org
Wed Aug 27 09:34:26 PDT 2008
Is anyone actively working on vzpkg?
I've been rewriting it to eliminate the dependence on yum and rpm, so
that it also works for Debian and hopefully some day Gentoo. This also
eliminates the requirement for vzyum, vzrpm, vzrpm43 and vzrpm44.
vzpkgadd, vzpkgrm, vzpkgls and vzpkgcache would just do the right
thing. This would also fix the incompatibilities between working with
packages from the HN and from within the VE.
Is this something that you would like to incorporate into the product?
One of the things I noticed was that there was a lot of duplication in
scripts and data files. This is because everything is stored in an
OS/Version/Platform/Config directory, even though there may not be any
difference between the corresponding files between platforms or even
Versions.
I have a change which is backwards-compatible which allows config
directories anywhere in the template tree. Files lower in the tree
override any specified higher in the tree.
For example, instead of this directory structure:
/vz/template
centos
4
i386
config
minimal.list
yum.conf
...
x86_64
config
minimal.list
yum.conf
...
You would have:
/vz/template
centos
config
minimal.list
4
i386
config
yum.conf
...
This eliminates a lot of duplicate work and is less error prone.
I can provide a diff of this change against the current git if you are
interested.
If there is interest in any of this work please let me know the process
for getting the changes reviewed and incorporated into the product.
Thanks,
More information about the Devel
mailing list