summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig-db/slxconfig-demuxer14
1 files changed, 14 insertions, 0 deletions
diff --git a/config-db/slxconfig-demuxer b/config-db/slxconfig-demuxer
index 21c95ae9..00b269fd 100755
--- a/config-db/slxconfig-demuxer
+++ b/config-db/slxconfig-demuxer
@@ -623,6 +623,20 @@ sub writeSystemConfiguration
)
);
+ # check if uclibc-rootfs in corresponding vendor-OS matches the current
+ # 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 $currVersion = qx{slxversion});
+ if ($uclibcVersion ne $currVersion) {
+ warn _tr(
+ "uclibc-rootfs for system '%s' is not up-to-date - consider updating the vendor-OS!",
+ $info->{name}, $uclibcVersion, $currVersion
+ );
+ }
+
+
my $attrProblems = OpenSLX::AttributeRoster->findProblematicValues(
$info->{attrs}, $info->{'vendor-os'}->{name},
$info->{'installed-plugins'}