diff options
author | Oliver Tappe | 2008-09-01 23:51:20 +0200 |
---|---|---|
committer | Oliver Tappe | 2008-09-01 23:51:20 +0200 |
commit | 7043bffef52e7f7404a09d4de3919de915e5de70 (patch) | |
tree | 342dd11f074aa6657869913bf27a7d56d3bb08af /config-db/slxconfig-demuxer | |
parent | * somewhere we got a line break in copyprocess before svn commit (diff) | |
download | core-7043bffef52e7f7404a09d4de3919de915e5de70.tar.gz core-7043bffef52e7f7404a09d4de3919de915e5de70.tar.xz core-7043bffef52e7f7404a09d4de3919de915e5de70.zip |
* implemented PREBOOT_CD boot environment that creates an appropriate ISO image
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2181 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db/slxconfig-demuxer')
-rwxr-xr-x | config-db/slxconfig-demuxer | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/config-db/slxconfig-demuxer b/config-db/slxconfig-demuxer index 3803a65c..7234b762 100755 --- a/config-db/slxconfig-demuxer +++ b/config-db/slxconfig-demuxer @@ -110,8 +110,6 @@ if (createConfigFolderForDefaultSystem()) { ); } -chomp(my $slxVersion = qx{slxversion}); - # protect against parallel executions of this script my $criticalSection = OpenSLX::ScopedResource->new({ name => 'osplugin::session', @@ -575,9 +573,8 @@ sub createBootEnvironmentsForSystem vlog(0, _tr("creating boot environment for $bootType")); my $bootEnv = bootEnvironmentForType($bootType); - $initramfsCount += $bootEnv->writeFilesRequiredForBooting( - $info, $buildPath, $slxVersion - ); + $initramfsCount + += $bootEnv->writeFilesRequiredForBooting($info, $buildPath); my $systemPath = "$bootEnv->{'target-path'}/client-config/$info->{'external-id'}"; @@ -686,6 +683,8 @@ sub writeConfigurations $systemErrCount++; } } + my $imageBaseDir = "$openslxConfig{'public-path'}/images"; + rmtree($imageBaseDir) unless $option{dryRun}; writeBootloaderMenus(@infos); if (defined $option{dhcpType}) { writeDhcpConfig(); |