summaryrefslogtreecommitdiffstats
path: root/config-db
diff options
context:
space:
mode:
authorOliver Tappe2009-03-09 00:25:52 +0100
committerOliver Tappe2009-03-09 00:25:52 +0100
commit7a618cc8222c8415a3d0047700fff43ffb0c9b9d (patch)
tree98439dd7e301025657405bc9f0aac00eaa242ac5 /config-db
parentclosing #393: (diff)
downloadcore-7a618cc8222c8415a3d0047700fff43ffb0c9b9d.tar.gz
core-7a618cc8222c8415a3d0047700fff43ffb0c9b9d.tar.xz
core-7a618cc8222c8415a3d0047700fff43ffb0c9b9d.zip
* do not fail if version info file for uclib-rootfs could not be
found in vendor-OS git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2696 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db')
-rwxr-xr-xconfig-db/slxconfig-demuxer5
1 files changed, 3 insertions, 2 deletions
diff --git a/config-db/slxconfig-demuxer b/config-db/slxconfig-demuxer
index 00b269fd..fe8df03e 100755
--- a/config-db/slxconfig-demuxer
+++ b/config-db/slxconfig-demuxer
@@ -627,11 +627,12 @@ sub writeSystemConfiguration
# version and add a warning if it does not:
my $uclibcVersionPath
= "$openslxConfig{'private-path'}/stage1/$info->{'vendor-os'}->{name}/opt/openslx/uclib-rootfs.version";
- chomp(my $uclibcVersion = slurpFile($uclibcVersionPath));
+ chomp(my $uclibcVersion
+ = slurpFile($uclibcVersionPath, { failIfMissing => 0 } ));
chomp(my $currVersion = qx{slxversion});
if ($uclibcVersion ne $currVersion) {
warn _tr(
- "uclibc-rootfs for system '%s' is not up-to-date - consider updating the vendor-OS!",
+ "uclibc-rootfs for system '%s' may not be up-to-date - consider updating the vendor-OS!",
$info->{name}, $uclibcVersion, $currVersion
);
}