From 70f001522f6795e65649eeacf0a3662e6f076d81 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sun, 11 Mar 2007 20:03:32 +0000 Subject: * fixed incorrect copying of links when in fact we want to copy the file git-svn-id: http://svn.openslx.org/svn/openslx/trunk@748 95ad53e4-c205-0410-b2fa-d234c58c8868 --- config-db/slxconfig-demuxer | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config-db/slxconfig-demuxer') diff --git a/config-db/slxconfig-demuxer b/config-db/slxconfig-demuxer index b057952a..a92f4c84 100755 --- a/config-db/slxconfig-demuxer +++ b/config-db/slxconfig-demuxer @@ -245,12 +245,12 @@ sub writePXEMenus if (!-e "$pxePath/pxelinux.0") { my $pxelinux0Path = "$openslxConfig{'share-path'}/tftpboot/pxelinux.0"; - system(qq[cp -a "$pxelinux0Path" $pxePath/]); + system(qq[cp -p "$pxelinux0Path" $pxePath/]); } if (!-e "$pxePath/menu.c32") { my $menuc32Path = "$openslxConfig{'share-path'}/tftpboot/menu.c32"; - system(qq[cp -a "$menuc32Path" $pxePath/]); + system(qq[cp -p "$menuc32Path" $pxePath/]); } my @clients = fetchClientsByFilter($openslxDB); @@ -357,7 +357,7 @@ sub writeSystemPXEFiles } mkdir $pxeSysPath; vlog 1, _tr('copying kernel %s to %s/kernel', $kernelFile, $pxeSysPath); - system(qq[cp -a "$kernelFile" $pxeSysPath/kernel]) unless $dryRun; + system(qq[cp -p "$kernelFile" $pxeSysPath/kernel]) unless $dryRun; generateInitalRamFS($info, $vendorOS, $pxeSysPath); } -- cgit v1.2.3-55-g7522