[Vserver] Fake packages for removing useless dependency packages from RHEL/CentOS/Fedora vservers [scanned]

From: Veit Wahlich <cru_at_zodia.de>
Date: Thu 10 Nov 2005 - 00:33:37 GMT
Message-Id: <1131582817.3348.81.camel@localhost.localdomain>

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:
-(root@radon:2)-(6 files:80K@~)-(0 jobs)-(00:42)-
-(~:#)-> vserver centos4 build -m yum --hostname centos4 --interface test0=eth0:10.1.1.129/24 -- -d centos42
...
-(root@radon:2)-(6 files:80K@~)-(0 jobs)-(00:48)-
-(~:#)-> du -sh /vservers/centos4
116M    /vservers/centos4
-(root@radon:2)-(6 files:80K@~)-(0 jobs)-(00:54)-
-(~:#)-> vrpm centos4 -- -e --nodeps module-init-tools mkinitrd
-(root@radon:2)-(6 files:80K@~)-(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%]
-(root@radon:2)-(6 files:80K@~)-(0 jobs)-(00:55)-
-(~:#)-> vrpm centos4 -- -e udev hwdata usbutils hotplug MAKEDEV kernel lvm2 device-mapper mingetty
-(root@radon:2)-(6 files:80K@~)-(0 jobs)-(00:56)-
-(~:#)-> du -sh /vservers/centos4
84M     /vservers/centos4
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Thu Nov 10 00:34:42 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 10 Nov 2005 - 00:34:45 GMT by hypermail 2.1.8