summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorLars Müller2006-12-16 22:31:36 +0100
committerLars Müller2006-12-16 22:31:36 +0100
commitb122b8108ff4d28f00881af842fae80aa98a3264 (patch)
tree8cf5986510dbaf6dfb3ca338943d8d84e9697cfd /installer
parentUse a prereqfiles sub directory instead of the BASE_FILE_ hack. (diff)
downloadcore-b122b8108ff4d28f00881af842fae80aa98a3264.tar.gz
core-b122b8108ff4d28f00881af842fae80aa98a3264.tar.xz
core-b122b8108ff4d28f00881af842fae80aa98a3264.zip
Config files from the prerequired packages - which must be present
before the package is installed by RPM - are installed by RPM with a .rpmnew suffix. With this loop we move any of these file to the right name. As result we get a clean rpm -V output even for prerequired packages and don't longer stay withj superfluous extra files. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@557 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer')
-rwxr-xr-xinstaller/slxossetup5
1 files changed, 5 insertions, 0 deletions
diff --git a/installer/slxossetup b/installer/slxossetup
index e6505eda..c74033b5 100755
--- a/installer/slxossetup
+++ b/installer/slxossetup
@@ -161,6 +161,11 @@ function slxossetup_rpm()
${packagelist} \
-y
+ # Move any .rpmnew file to the right name
+ for file in $( find "${SLX_STAGE1_PATH}" -type f -name '*.rpmnew'); do
+ mv "${file}" "${file%.rpmnew}"
+ done
+
for mountpoint in ${SLX_INSTALL_BIND_MOUNT}; do
umount "${SLX_STAGE1_PATH}/${mountpoint}"
done