Hi list!

I have got created a bundle of RPM packages that allow one to remove
packages that are absolutely useless inside vservers:

vps-dev-3.999-1.cru contains the usual vserver /dev structure and
provides dev, hence allowing one to remove the following packages:
- udev
- hwdata
- usbutils
- hotplug
- MAKEDEV

vps-fakekernel-2.6.999-1.cru is able to replace any "real" kernel
package.

vps-fakepackages-1.0-2.cru contains just a few fake compatibility files
for initscripts and allows the dependency-aware removal/replacement of
these packages:
- module-init-tools
- mkinitrd
- lvm2
- device-mapper
- mingetty

For a usual CentOS 4.2 minimum installation this results in saving 28%
disk usage (before: 116MB, after: 84MB) and a much cleaner filesystem.

Is anyone interested in these packages?

If so, I will publish them. They should fit on almost any current
RedHat-based distro.

Best regards,
// Veit

--
CentOS 4.2 proof sample:

-([EMAIL PROTECTED]:2)-(6 files:[EMAIL PROTECTED])-(0 jobs)-(00:42)-
-(~:#)-> vserver centos4 build -m yum --hostname centos4 --interface 
test0=eth0:10.1.1.129/24 -- -d centos42

...

-([EMAIL PROTECTED]:2)-(6 files:[EMAIL PROTECTED])-(0 jobs)-(00:48)-
-(~:#)-> du -sh /vservers/centos4
116M    /vservers/centos4

-([EMAIL PROTECTED]:2)-(6 files:[EMAIL PROTECTED])-(0 jobs)-(00:54)-
-(~:#)-> vrpm centos4 -- -e --nodeps module-init-tools mkinitrd

-([EMAIL PROTECTED]:2)-(6 files:[EMAIL PROTECTED])-(0 jobs)-(00:54)-
-(~:#)-> vrpm centos4 -- -Uhv inst/vps-{dev,fakekernel,fakepackages}-*
Preparing...                ################################# [100%]
   1:vps-fakepackages       ################################# [ 33%]
This package is to be installed for a VPS though the host server.
Running this command from the host: vrpm <vservername> -- -Uhv <vps-dev RPM>
   2:vps-dev                ################################# [ 67%]
   3:vps-fakekernel         ################################# [100%]

-([EMAIL PROTECTED]:2)-(6 files:[EMAIL PROTECTED])-(0 jobs)-(00:55)-
-(~:#)-> vrpm centos4 -- -e udev hwdata usbutils hotplug MAKEDEV kernel lvm2 
device-mapper mingetty

-([EMAIL PROTECTED]:2)-(6 files:[EMAIL PROTECTED])-(0 jobs)-(00:56)-
-(~:#)-> du -sh /vservers/centos4
84M     /vservers/centos4


_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to