summaryrefslogtreecommitdiffstats
path: root/src/boot-env
diff options
context:
space:
mode:
authorSebastian Schmelzer2011-06-09 12:58:30 +0200
committerSebastian Schmelzer2011-06-09 12:58:30 +0200
commitd7fe5517bbda3c970e05404dce3a415001913095 (patch)
tree30bb71da3e2e47787f1d2b624aaaedcfc634328c /src/boot-env
parentExcludes for annoying autostart stuff ... fix for run-virt.include (netcard p... (diff)
downloadcore-d7fe5517bbda3c970e05404dce3a415001913095.tar.gz
core-d7fe5517bbda3c970e05404dce3a415001913095.tar.xz
core-d7fe5517bbda3c970e05404dce3a415001913095.zip
partial fix for bug #768
Diffstat (limited to 'src/boot-env')
-rw-r--r--src/boot-env/OpenSLX/BootEnvironment/Base.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/boot-env/OpenSLX/BootEnvironment/Base.pm b/src/boot-env/OpenSLX/BootEnvironment/Base.pm
index 3ad7c602..79c3a263 100644
--- a/src/boot-env/OpenSLX/BootEnvironment/Base.pm
+++ b/src/boot-env/OpenSLX/BootEnvironment/Base.pm
@@ -103,6 +103,9 @@ sub writeFilesRequiredForBooting
slxsystem(qq[cp -p "$kernelFile" "$targetKernel"])
unless $self->{'dry-run'};
}
+
+ # make sure kernel is world readable
+ chmod 0644, $targetKernel;
# create initramfs:
my $initramfsName = "$vendorOSPath/$info->{'initramfs-name'}";