summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorLars Müller2006-12-16 18:09:42 +0100
committerLars Müller2006-12-16 18:09:42 +0100
commitb2d348d492cef0dd4fd0decfaf66d912f03682af (patch)
tree460da52e334a38aac5d1c2a5d50ddf4fe80eb64c /installer
parentAdd SLX_INSTALL_BIND_MOUNT and SLX_INSTALL_FAKE_FILE to make the Fedora (diff)
downloadcore-b2d348d492cef0dd4fd0decfaf66d912f03682af.tar.gz
core-b2d348d492cef0dd4fd0decfaf66d912f03682af.tar.xz
core-b2d348d492cef0dd4fd0decfaf66d912f03682af.zip
Always prefix SLX_STAGE1_PATH if we cleanup the chroot.
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@555 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer')
-rwxr-xr-xinstaller/slxossetup4
1 files changed, 1 insertions, 3 deletions
diff --git a/installer/slxossetup b/installer/slxossetup
index 69e7cf0b..35c68623 100755
--- a/installer/slxossetup
+++ b/installer/slxossetup
@@ -124,9 +124,7 @@ function slxossetup_rpm()
# Cleanup etc to prevent .rpnnew files
if test "${SLX_BASE_PREREQ_CLEANUP_PATH}"; then
for path in ${SLX_BASE_PREREQ_CLEANUP_PATH}; do
- # Remove leading / as we do not like to delete e.g. /etc
- path="${path#/}"
- find "${path}" -type f -print0 | \
+ find "${SLX_STAGE1_PATH}/${path}" -type f -print0 | \
xargs -0 rm -f
done
fi