diff options
author | Oliver Tappe | 2007-03-12 17:57:33 +0100 |
---|---|---|
committer | Oliver Tappe | 2007-03-12 17:57:33 +0100 |
commit | cf40111d59b572aa6732feaf5b55a6c091fc6c2c (patch) | |
tree | 1dfbd75edd04575fe1c1ba9a781376ca21f077c2 /installer/OpenSLX/OSSetup/Engine.pm | |
parent | * err, cloning was slightly to verbose last time... (diff) | |
download | core-cf40111d59b572aa6732feaf5b55a6c091fc6c2c.tar.gz core-cf40111d59b572aa6732feaf5b55a6c091fc6c2c.tar.xz core-cf40111d59b572aa6732feaf5b55a6c091fc6c2c.zip |
* changed 'system-path' to 'vendor-os-path' as it's not a system after all
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@756 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/OpenSLX/OSSetup/Engine.pm')
-rw-r--r-- | installer/OpenSLX/OSSetup/Engine.pm | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm index fa870aa3..7b9b4b13 100644 --- a/installer/OpenSLX/OSSetup/Engine.pm +++ b/installer/OpenSLX/OSSetup/Engine.pm @@ -138,11 +138,11 @@ sub initialize ."\n"; } - $self->{'system-path'} + $self->{'vendor-os-path'} = "$openslxConfig{'stage1-path'}/$self->{'vendor-os-name'}"; - vlog 1, "system will be installed to '$self->{'system-path'}'"; - if ($protectSystemPath && -e $self->{'system-path'}) { - die _tr("'%s' already exists, giving up!", $self->{'system-path'}); + vlog 1, "vendor-OS will be installed to '$self-vendor-os-pathath'}'"; + if ($protectSystemPath && -e $self->{'vendor-os-path'}) { + die _tr("vendor-OS '%s' already exists, giving up!", $self->{'vendor-os-path'}); } $self->createPackager(); @@ -299,9 +299,9 @@ sub createSystemPath { my $self = shift; - if (system("mkdir -p $self->{'system-path'}")) { + if (system("mkdir -p $self->{'vendor-os-path'}")) { die _tr("unable to create directory '%s', giving up! (%s)", - $self->{'system-path'}, $!); + $self->{'vendor-os-path'}, $!); } } @@ -374,7 +374,7 @@ sub setupStage1A vlog 1, "setting up stage1a for $self->{'vendor-os-name'}..."; # specify individual paths for the respective substages: - $self->{stage1aDir} = "$self->{'system-path'}/stage1a"; + $self->{stage1aDir} = "$self->{'vendor-os-path'}/stage1a"; $self->{stage1bSubdir} = 'slxbootstrap'; $self->{stage1cSubdir} = 'slxfinal'; @@ -606,9 +606,9 @@ sub stage1C_cleanupBasicSystem my $stage1cDir = "$self->{'stage1aDir'}/$self->{'stage1bSubdir'}/$self->{'stage1cSubdir'}"; - if (system("mv $stage1cDir/* $self->{'system-path'}/")) { + if (system("mv $stage1cDir/* $self->{'vendor-os-path'}/")) { die _tr("unable to move final setup to <%s> (%s)", - $self->{'system-path'}, $!); + $self->{'vendor-os-path'}, $!); } if (system("rm -rf $self->{stage1aDir}")) { die _tr("unable to remove temporary folder <%s> (%s)", @@ -651,7 +651,7 @@ sub stage1D_updateBasicSystem() my $self = shift; # chdir into systemDir... - my $systemDir = $self->{'system-path'}; + my $systemDir = $self->{'vendor-os-path'}; vlog 2, "chrooting into $systemDir..."; chdir $systemDir or die _tr("unable to chdir into <%s> (%s)", $systemDir, $!); @@ -701,7 +701,7 @@ sub clone_fetchSource } my $excludeIncludeList = join("\n", @includeList, @excludeList); vlog 1, "using exclude-include-filter:\n$excludeIncludeList\n"; - open(RSYNC, "| rsync -av --delete --exclude-from=- $source $self->{'system-path'}") + open(RSYNC, "| rsync -av --delete --exclude-from=- $source $self->{'vendor-os-path'}") or die _tr("unable to start rsync for source '%s', giving up! (%s)", $source, $!); print RSYNC $excludeIncludeList; |