From d8565fa1432a85ba53237545f8780d8cb30d1060 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Fri, 23 Mar 2007 09:14:09 +0000 Subject: * export backend is now capable of exporting just any distribution * added specializations for Gentoo, Fedora, Debian and Ubuntu git-svn-id: http://svn.openslx.org/svn/openslx/trunk@803 95ad53e4-c205-0410-b2fa-d234c58c8868 --- installer/OpenSLX/OSExport/Distro/Debian.pm | 49 +++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 installer/OpenSLX/OSExport/Distro/Debian.pm (limited to 'installer/OpenSLX/OSExport/Distro/Debian.pm') diff --git a/installer/OpenSLX/OSExport/Distro/Debian.pm b/installer/OpenSLX/OSExport/Distro/Debian.pm new file mode 100644 index 00000000..5056c877 --- /dev/null +++ b/installer/OpenSLX/OSExport/Distro/Debian.pm @@ -0,0 +1,49 @@ +# Debian.pm +# - provides Debian-specific overrides of the OpenSLX OSExport API. +# +# (c) 2006 - OpenSLX.com +# +# Oliver Tappe +# +package OpenSLX::OSExport::Distro::Debian; + +use vars qw(@ISA $VERSION); +@ISA = ('OpenSLX::OSExport::Distro::Base'); +$VERSION = 1.01; # API-version . implementation-version + +use strict; +use Carp; +use OpenSLX::Basics; +use OpenSLX::OSExport::Distro::Base 1.01; + +################################################################################ +### implementation +################################################################################ +sub new +{ + my $class = shift; + my $self = { + 'base-name' => 'debian', + }; + return bless $self, $class; +} + +sub initDistroInfo +{ + my $self = shift; + + $self->{'export-filter'} = " + - /var/tmp/* + - /var/spool/* + - /var/run/* + - /var/log/* + - /var/lib/xdm + - /var/cache/man/* + - /usr/share/vmware/* + - /lib/klibc/events/* + - /boot/initrd* + - /boot/grub + "; +} + +1; \ No newline at end of file -- cgit v1.2.3-55-g7522