blob: 6ee2ed33677b362d68833e368aff24bdfed908e0 (
plain) (
tree)
|
|
# Copyright (c) 2006, 2007 - OpenSLX GmbH
#
# This program is free software distributed under the GPL version 2.
# See http://openslx.org/COPYING
#
# If you have any feedback please consult http://openslx.org/feedback and
# send your suggestions, praise, or complaints to feedback@openslx.org
#
# General information about OpenSLX can be found at http://openslx.org/
# -----------------------------------------------------------------------------
# OSExport/Distro/Ubuntu.pm
# - provides Ubuntu-specific overrides of the OSExport Distro API.
# -----------------------------------------------------------------------------
package OpenSLX::OSExport::Distro::Ubuntu;
use strict;
use warnings;
use base qw(OpenSLX::OSExport::Distro::Base);
use OpenSLX::Basics;
################################################################################
### implementation
################################################################################
sub new
{
my $class = shift;
my $self = {
'base-name' => 'ubuntu',
};
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/*
- /usr/share/autostart/trackerd.desktop
- /usr/share/autostart/knetworkmanager.desktop
- /tmp/*
- /sys/*
- /proc/*
- /mnt/*
- /media/*
- /lib/klibc/events/*
- /initrd*
- /etc/cron.*/*
- /boot/initrd*
- /boot/grub
- /etc/xdg/adept_notifier_auto.desktop
- /etc/xdg/evolution*alarm*notify
- /etc/xdg/knetworkmanager*
- /etc/xdg/nm-applet.desktop
- /etc/xdg/system-config-printer-applet-kde.desktop
- /etc/xdg/autostart/tracker*
- /etc/xdg/update-notifier.desktop
- /etc/xdg/user-dirs-update-gtk.desktop
";
return;
}
1;
|