blob: 330b2d1415b96881e842c53aeaeaacdba1893a2d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
# Copyright (c) 2012 - 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/Rhel.pm
# - provides RHEL specific overrides of the OSExport Distro API.
# -----------------------------------------------------------------------------
package OpenSLX::OSExport::Distro::Rhel;
use strict;
use warnings;
use base qw(OpenSLX::OSExport::Distro::Base);
use OpenSLX::Basics;
################################################################################
### implementation
################################################################################
sub new
{
my $class = shift;
my $self = {
'base-name' => 'rhel',
};
return bless $self, $class;
}
sub initDistroInfo
{
my $self = shift;
# To only sync an empty directory tree use
# + /path/*/
# - /path/*
$self->{'export-filter'} = "
- *~
- *.rpmnew
- *.rpmsave
- /boot/grub
- /boot/initrd*
- /etc/cron.*/*
- /etc/dhcp*
- /etc/netplug*
- /etc/*ppp*
- /etc/*pptp*
- /etc/*rpmnew
- /etc/*rpmorig
- /etc/sysconfig/network-scripts/ifcfg-*
- /etc/X11/xkb
+ /lib/modules/*/misc/vmblock.o
+ /lib/modules/*/misc/vmmon.o
+ /lib/modules/*/misc/vmnet.o
- /media/*
+ /media
- /mnt/*
- /opt/kde3/share/apps/kdm/read_sysconfig.sh
- /opt/kde3/share/autostart/kinternet.desktop
- /opt/kde3/share/autostart/profile_chooser-autostart.desktop
- /opt/kde3/share/autostart/runupdater.desktop
- /proc/*
- /sys/*
- /tmp/*
- /usr/bin/BackGround
+ /usr/lib/gcc/*/*/*.o
+ /usr/lib/*.o
+ /usr/lib/perl5/*/*/*/*.o
+ /usr/lib/python*/*/*.o
- /usr/share/gnome/autostart/gpk-update-icon*.desktop
+ /usr/X11R6/lib/modules/drivers/linux/*.o
+ /usr/X11R6/lib/modules/drivers/*.o
+ /var/cache/*/
- /var/cache/*
- /var/cache/*/*
- /var/cfengine/*
+ /var/lib/bluetooth/*/
- /var/lib/bluetooth/*
- /var/lib/dhcp*
- /var/lib/gdm/*
- /var/lib/smart
- /var/lib/suspend*
- /var/lib/vm*
- /var/lib/xdm
+ /var/lock/*/
- /var/lock/*
- /var/lock/*/*
+ /var/log/*/
- /var/log/*
- /var/log/*/*
- /var/mail
+ /var/run/*/
- /var/run/*
- /var/run/*/*
+ /var/spool/*/
- /var/spool/*
- /var/spool/*/*
- /var/tmp/*
";
return;
}
1;
|