summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Janczyk2012-12-12 19:05:25 +0100
committerMichael Janczyk2012-12-12 19:05:25 +0100
commit85d7c713cefdc63bbe9534b1eab9bd1c6b942233 (patch)
tree1583d63e3afd539b7340c6616b61327f2575da71
parentRespect aliases and blacklist of a system. /etc/modprobe.d is now copied to I... (diff)
downloadcore-85d7c713cefdc63bbe9534b1eab9bd1c6b942233.tar.gz
core-85d7c713cefdc63bbe9534b1eab9bd1c6b942233.tar.xz
core-85d7c713cefdc63bbe9534b1eab9bd1c6b942233.zip
Remove all files from /var and leave only the dir structure
-rw-r--r--src/installer/OpenSLX/OSExport/Distro/Rhel.pm37
1 files changed, 11 insertions, 26 deletions
diff --git a/src/installer/OpenSLX/OSExport/Distro/Rhel.pm b/src/installer/OpenSLX/OSExport/Distro/Rhel.pm
index 330b2d14..668874cc 100644
--- a/src/installer/OpenSLX/OSExport/Distro/Rhel.pm
+++ b/src/installer/OpenSLX/OSExport/Distro/Rhel.pm
@@ -75,32 +75,17 @@ sub initDistroInfo
- /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/*
+ + /var/*/
+ + /var/*/*/
+ + /var/*/*/*/
+ + /var/*/*/*/*/
+ + /var/*/*/*/*/*/
+ - /var/*/*/*/*/*/*
+ - /var/*/*/*/*/*
+ - /var/*/*/*/*
+ - /var/*/*/*
+ - /var/*/*
+ - /var/*
";
return;
}