summaryrefslogtreecommitdiffstats
path: root/src/installer/slxos-setup
diff options
context:
space:
mode:
authorMichael Janczyk2012-11-22 12:37:46 +0100
committerMichael Janczyk2012-11-22 12:37:46 +0100
commit2ddbcd32c1262791ff9a8a0367063e2332aea903 (patch)
treed9ff88a148fffd98cece078fbf791e07661b40f0 /src/installer/slxos-setup
parentleave dir tree in /var but delete the files, see comment (diff)
downloadcore-2ddbcd32c1262791ff9a8a0367063e2332aea903.tar.gz
core-2ddbcd32c1262791ff9a8a0367063e2332aea903.tar.xz
core-2ddbcd32c1262791ff9a8a0367063e2332aea903.zip
change config structure:
- old config, which was based only on stage3 wasn't modified. Only the directory has changed to <private-path>/config/stage3 - stage1 config, which wasn't possible this way before, can be done now in <private-path>/config/stage1 - the default/rootfs directory will be used for every vendor-OS - <private-path>/config/stage1/<vendorOSName>/rootfs will be used for the corresponding vendor-OS - so after a clone/install/update of stage1 the dafault config will be rsynced and after that the vendor-OS specific config will be rsynced. At the end the plugins will be installed. - This is all part of slxos-setup. '
Diffstat (limited to 'src/installer/slxos-setup')
-rwxr-xr-xsrc/installer/slxos-setup2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/installer/slxos-setup b/src/installer/slxos-setup
index 8812a19b..30c9287b 100755
--- a/src/installer/slxos-setup
+++ b/src/installer/slxos-setup
@@ -80,6 +80,8 @@ if ($action =~ m[^import]i) {
die _tr("'%s' doesn't exist, giving up!\n", $engine->{'vendor-os-path'});
}
$engine->addInstalledVendorOSToConfigDB();
+ createConfigFolderForDefaultVendorOS();
+ createConfigFolderForVendorOS($vendorOSName);
} elsif ($action =~ m[^update]i) {
my $vendorOSName = shift @ARGV;
if (!defined $vendorOSName) {