summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSSetup
Commit message (Collapse)AuthorAgeFilesLines
...
* * added ubuntu 8.10 supportSebastian Schmelzer2008-11-131-0/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2382 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed change (see #280)Sebastian Schmelzer2008-10-011-49/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2263 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed /home/kde* from clone exclude (required for suse 11)Sebastian Schmelzer2008-10-011-0/+49
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2257 95ad53e4-c205-0410-b2fa-d234c58c8868
* * instead of using rm -r to remove a vendor-OS folder, we now use a combinationOliver Tappe2008-09-131-1/+3
| | | | | | | | | of 'find' and 'xargs rm -r' to avoid descending into directories on other filesystems - this should finally nail the nasty race condition that could cause loss of the folders mounted into a vendor-OS chroot (/etc/opt/openslx and /opt/openslx). git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2215 95ad53e4-c205-0410-b2fa-d234c58c8868
* * implemented support for recursive file-based locksOliver Tappe2008-09-131-0/+3
| | | | | | | | | * used improved locking mechanism to protect not only slxconfig-demuxer against being executed twice, but also to avoid two different process groups from chrooting into the same vendor-OS git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2213 95ad53e4-c205-0410-b2fa-d234c58c8868
* * merged pickKernelFile() from Gentoo.pm into the implementation in Base.pmOliver Tappe2008-09-032-27/+3Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2197 95ad53e4-c205-0410-b2fa-d234c58c8868
* Updated stage2 exludes (autostarted services of no much use inDirk von Suchodoletz2008-09-021-1/+1
| | | | | | | SLX environments) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2191 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed problem in 2114, such that the devices are in fact created insideOliver Tappe2008-08-281-2/+2
| | | | | | the vendor-OS and not in the host-OS (oops!) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2115 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added a couple more required devices to be available in vendor-OS chrootOliver Tappe2008-08-281-10/+21
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2114 95ad53e4-c205-0410-b2fa-d234c58c8868
* * cosmeticsOliver Tappe2008-08-281-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2113 95ad53e4-c205-0410-b2fa-d234c58c8868
* Remove the most unlikely to be supported vendor OS by upcoming Dirk von Suchodoletz2008-08-091-8/+2Star
| | | | | | | OpenSLX versions and add suse-11.0 for the clone mode ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2008 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added explicit check against 64-bit/32-bit mismatch to Oliver Tappe2008-08-071-0/+5
| | | | | | | callChrootedFunctionForVendorOS() in order to avoid unclear error messages when a user tries to chroot into a 64-bit vendor-OS on a 32-bit host. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1987 95ad53e4-c205-0410-b2fa-d234c58c8868
* implemented plugin dependency handling:Oliver Tappe2008-07-231-2/+23
| | | | | | | | | | | | | | | | * installing a plugin into a vendor-OS is now only possible when required plugins are already installed * removing a plugin from a vendor-OS is now only possible when now plugins that depend on this one are still installed * the config-demuxer will check the plugin depedency hierarchy and bail if any plugin is missing * when several plugins are being auto-installed (e.g. when copying all plugins from the '<<<default>>>' vendor-OS) the order of the plugins is adjusted to comply with the dependency hierarchy * declared one single dependency: vmchooser depends on vmware (please shout if that is incorrect) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1936 95ad53e4-c205-0410-b2fa-d234c58c8868
* * switch default meta-packager for SUSE-10.2 onwards from smart to zypperOliver Tappe2008-06-081-2/+13
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1862 95ad53e4-c205-0410-b2fa-d234c58c8868
* * made support for chrooted shells and updates explicit in vendor-OS list,Oliver Tappe2008-06-071-51/+55
| | | | | | | | | | activating chrooted shells for most distros * mirror-setup is now executed only during 'install' actions, such that one no longer has to sit and wait for it to finish when only a shell was requested git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1858 95ad53e4-c205-0410-b2fa-d234c58c8868
* * cosmeticsOliver Tappe2008-06-071-3/+5
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1857 95ad53e4-c205-0410-b2fa-d234c58c8868
* * moved code from MakeInitRamFS::Engine that determines the list of availableOliver Tappe2008-05-311-3/+2Star
| | | | | | | | busybox applets into a separate function * use this function in OSSetup::Engine instead of relying on busybox.links, which may not be kept in sync. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1827 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fixed non-working installation & deinstallation of plugins into/from the ↵Oliver Tappe2008-05-261-7/+7
| | | | | | | | | | | | '<<<default>>>'-vendorOS: * OSPlugin::Engine was trying to create an OSSetup::Engine for the default-vendorOS, which does not work. Now such the OSSetup::Engine is initialized lazily (i.e. when it is being used) * fixed a bug in OSSetup::Engine that caused it to think that it was installing plugins afresh when in fact it they were reinstalled git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1802 95ad53e4-c205-0410-b2fa-d234c58c8868
* * renamed --verbose-level to --log-level to make it more separate from ↵Oliver Tappe2008-04-071-1/+1
| | | | | | --verbose. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1729 95ad53e4-c205-0410-b2fa-d234c58c8868
* * made names of distro module consistent across OpenSLX - now the always ↵Oliver Tappe2008-04-069-117/+61Star
| | | | | | | | | | | | start with a capital letter followed by all lowercase (Debian, Fedora, Gentoo, Suse, Ubuntu) * refactored loading of distro modules into a separate function (loadDistroModule() in Basics.pm) * finished support to logging to a file in syslog plugin * worked at desktop plugin (still not working, though) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1721 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added log output when entering 32-bit personalityOliver Tappe2008-03-261-0/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1697 95ad53e4-c205-0410-b2fa-d234c58c8868
* * getInstalledPackages() has to fetch the info from the packager, not the Oliver Tappe2008-03-241-0/+7
| | | | | | meta-packager git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1683 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Adjusted OSSetup::Distro implementations to apply necessary fixes as part ↵Oliver Tappe2008-03-243-9/+66
| | | | | | | | | of any session, not just installation, since these must be executed for shell and plugin sessions, too. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1679 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Switched from explicit cleanup functions to "resource acquisition by ↵Oliver Tappe2008-03-242-41/+47
| | | | | | | | | definition", implemented by the new ScopedResource class. This change improves robustness with respect to signals and unexpected errors and makes the code cleaner. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1678 95ad53e4-c205-0410-b2fa-d234c58c8868
* * moved syscall related code into a module of its own rightOliver Tappe2008-03-232-63/+41Star
| | | | | | | * activated mounting of /proc again in startSession() and finishSession(), this time in a more robust fashion (which tries hard to unmount it again) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1677 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Switched indent used in Perl-code and settings files from tabs to 4 spaces.Oliver Tappe2008-03-2017-2313/+2313
| | | | | | May need some manual corrections here and there, but should basically be ok. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1658 95ad53e4-c205-0410-b2fa-d234c58c8868
* * renamed getPackagesForSelection() to getInstallablePackagesForSelection()Oliver Tappe2008-03-171-2/+7
| | | | | | | and changed the semantics to automatically exclude packages that are already installed git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1646 95ad53e4-c205-0410-b2fa-d234c58c8868
* * instead of using a fixed basic path, we now supply a longer list in anOliver Tappe2008-03-171-1/+19
| | | | | | overridable method, making it possible to set distro-specific paths git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1643 95ad53e4-c205-0410-b2fa-d234c58c8868
* * renamed installSelection() and removeSelection() to ...Packages(), as that'sOliver Tappe2008-03-171-1/+1
| | | | | | | what it is git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1642 95ad53e4-c205-0410-b2fa-d234c58c8868
* * renamed installSelection() and removeSelection() to ...Packages(), as that'sOliver Tappe2008-03-176-26/+34
| | | | | | | what it is * automatically replace newlines in packagelist by a space git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1641 95ad53e4-c205-0410-b2fa-d234c58c8868
* * intermediate checking for new desktop plugin (successor of displaymanagerOliver Tappe2008-03-151-2/+15
| | | | | | with extended scope) - does not work yet, so please do not use! git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1634 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for stage1 attributes that are stored along each plugin ↵Oliver Tappe2008-03-141-2/+5
| | | | | | | | | installed into a vendor-OS. * an update of the slxos-plugin documentation is still missing (coming soon ;-) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1633 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for specifying more than one base selection (e.g. base = ↵Oliver Tappe2008-03-121-6/+11
| | | | | | kde,gnome) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1627 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed potential use of uninitialized valueOliver Tappe2008-03-121-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1626 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added missing call to fetchInstalledPlugins() in case the vendor-OSOliver Tappe2008-03-081-0/+2
| | | | | | | | already exists - causing automatic re-installation of plugins after a re-installation or re-cloning of a vendor-OS to work. Well, at least I hope it does fix it - as it's not yet tested. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1611 95ad53e4-c205-0410-b2fa-d234c58c8868
* * improved setting a password such that is able to cope with aOliver Tappe2008-03-061-10/+12
| | | | | | | non-existing /etc/shadow git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1609 95ad53e4-c205-0410-b2fa-d234c58c8868
* * cosmetical fix (indentation)Oliver Tappe2008-03-011-12/+12
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1594 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed dependency on linux/personality.ph at least to that regard that we nowOliver Tappe2008-03-011-18/+35
| | | | | | | | | | | | | | try to build it manually (from /usr/include/linux/personality.h) if the host OS does not provide it (/usr/include/sys/personality.h is tried as an alternative, too). I hope that this fixes the problems encountered when trying to install a 32-bit vendor-OS on a 64-bit Ubuntu. * fixed attempt to start local http servers for each instance of OSSetup::Engine (now a package global hash manages these). * fixed bug in invocation of meta-packager method installSelection() that caused slxos-setup to die with a message about the package "1 not being known". git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1593 95ad53e4-c205-0410-b2fa-d234c58c8868
* added ubuntu 8.04Sebastian Schmelzer2008-03-011-0/+6
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1588 95ad53e4-c205-0410-b2fa-d234c58c8868
* * OSPlugin::Engine now provides a real support interface for plugins, whichOliver Tappe2008-02-276-33/+124
| | | | | | | | | can be used to get info about the vendor-OS and distro, install/uninstall packages, download files (and more stuff to come). * Adjusted OSSetup::Engine and OSSetup::MetaPackager to the demands of the new support interface. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1580 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for specifying additional rsync options via environment Oliver Tappe2008-02-251-1/+3
| | | | | | | variable SLX_RSYNC_OPTIONS (for both cloning and exporting) * log rsync-cmd with verbose-level=2 when exporting a vendor-OS git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1571 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Added support to slxos-setup for automatically installing the default set ofOliver Tappe2008-02-171-2/+55
| | | | | | | | | plugins (or the already defined set of plugins of an existing vendor-OS). This way, updating a vendor-OS (which might pull a new kernel) will automatically trigger the reinstallation of all plugins that had previously been installed in that vendor-OS. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1559 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added explicit error message about trying to apply actions to the Oliver Tappe2008-02-171-0/+3
| | | | | | | | | | | '<<<default>>>' vendor-OS (which is going to be introduced, soon) * slxos-export list-exported now uses the usual export name format (<vendor-OS-name>::<export-type>) * when listing the installed vendor-OSes, plain files are now filtered out (only directories can contain a vendor-OS) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1555 95ad53e4-c205-0410-b2fa-d234c58c8868
* Added /dev/urandom in chroot (slxos-setup shell ...)Volker Uhrig2008-02-061-1/+6
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1517 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added implementation for zypper meta-packager (untested yet)Oliver Tappe2008-01-091-0/+95
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1457 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Fixed problem with invocation of debootstrap that caused it to failOliver Tappe2008-01-021-2/+2
| | | | | | | | downloading *some* Debian-packages, which in turn caused the whole process to fail. I do not precisely understand why, but invoking debootstrap via '.' instead of a second ash process fixes the problem. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1439 95ad53e4-c205-0410-b2fa-d234c58c8868
* cleaned up installation code in several ways:Oliver Tappe2007-12-305-34/+12Star
| | | | | | | | | | | | | | | | | | | | | * Removed some inconsistencies with respect to the separation of prereq- and bootstrap-packages, such that now all packages are being installed properly into the final system (the prereq packages have to installed twice for this). Before, the prereq packages were being installed without their scripts ever being run. While I haven't noticed a specific bug caused by this, the mere possibility seemed a good enough cause to change this. * added a default /etc/hosts file to all distros, as otherwise the lookup of localhost is flaky (at best) * fixed a multiple inclusion bug when expanding the packages of a selection * improved and clarified structure of selections: + now there is always a 'minimal' selection, on which most others are based + the default selection is now merely a different name for some other selection (currently, minimal or textmode, later this should probably be gnome or kde). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1438 95ad53e4-c205-0410-b2fa-d234c58c8868
* * when setting up the resolver for stage1a, we now copy nsswitch.conf fromOliver Tappe2007-11-291-1/+2
| | | | | | | the host system, too, as otherwise the resolver would not work on a opensuse-10.3 host (so nothing can be installed). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1411 95ad53e4-c205-0410-b2fa-d234c58c8868
* Cleanup, (empty) files for new Ubuntu 7.10 ...Dirk von Suchodoletz2007-10-191-0/+6
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1389 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed problems with respect to installation of prerequired packagesOliver Tappe2007-09-264-5/+118
| | | | | | | | | | * added support for setting the root-password: + slxos-setup now queries for the root-password + 'busybox cryptpw' is used to determine the hashed password as required by the specific distribution (MD5 or Blowfish) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1349 95ad53e4-c205-0410-b2fa-d234c58c8868