summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX
Commit message (Collapse)AuthorAgeFilesLines
* * 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-0617-160/+90Star
| | | | | | | | | | | | 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-2032-3260/+3260
| | | | | | 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
* * Forced DNBD2.pm into a (hopefully) working condition.Oliver Tappe2008-02-292-12/+21
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1586 95ad53e4-c205-0410-b2fa-d234c58c8868
* Trying on another export type -> dnbd2 ...Dirk von Suchodoletz2008-02-291-0/+102
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1585 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-252-5/+9
| | | | | | | 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-172-0/+6
| | | | | | | | | | | '<<<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 the contents of the following dirs to the exclude filter, sinceOliver Tappe2008-02-067-4/+36
| | | | | | | | | | | | | they do not make sense in the export: /media /mnt /proc /sys /tmp * added --delete-excluded to the rsync options in order to clean up anything that had been copied before git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1518 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 support to the OSExport engine for determining theOliver Tappe2008-01-226-2/+40
| | | | | | | | | required tools, too (not only the kernel modules) - such that MakeInitRamFS::Engine can now find out which tools are *required* by a specific system and can copy those (and bail if they are not available) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1485 95ad53e4-c205-0410-b2fa-d234c58c8868
* * requiredFSMods() now returns an array instead of a flattenedOliver Tappe2008-01-162-2/+2
| | | | | | list (string) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1479 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
* * Changed naming scheme for exports from <vendor-os>:<type> to Oliver Tappe2007-12-261-2/+2
| | | | | | | | <vendor-os>::<type>, reusing the scope operator from perl and C++. This is in preparation for add scope support to attributes, which is going to use the same naming scheme. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1434 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
* Proper mount options for NFS/scratch ... Skip some files for SUSE exports.Dirk von Suchodoletz2007-10-141-0/+6
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1381 95ad53e4-c205-0410-b2fa-d234c58c8868
* Tried out new SuSE10.3 ... worked after just changing X settings forDirk von Suchodoletz2007-10-111-0/+1
| | | | | | | | keyboard (from deprecated value "keyboard" to "kbd" - should not even harm older systems) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1373 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
* * reverted changeset 1347, as installPrerequiredPackages() *should* have beenOliver Tappe2007-09-252-1/+21
| | | | | | | used (as installing the packages via installPackages() does not work for debian-based distros) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1348 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed installPrerequiredPackages(), as it is no longer usedOliver Tappe2007-09-242-21/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1347 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support to apt backend for integrating a specialOliver Tappe2007-08-291-0/+7
| | | | | | | | | | | | slx debconf database (a textfile) that can be used to provide default values for some packages that otherwise ask the user during instllation. * added a debconf defaults database for debian-3.1 which shuts up the installation process for that distro by providing default settings for the 'locales' package. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1329 95ad53e4-c205-0410-b2fa-d234c58c8868
* Hope it's OK that way to add upcoming SuSE10.3 to the list ofDirk von Suchodoletz2007-08-281-2/+8
| | | | | | | | "supported" OS ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1326 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed small bug that introduced an unnecessary prompt during installationOliver Tappe2007-08-232-2/+2
| | | | | | | | of Debian-3.1 and made use of the meta-packager when installing the initrd-tools (as it's cleaner that way). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1325 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed problem reported by Dirk that caused debian-3.1Oliver Tappe2007-08-212-4/+9
| | | | | | | installations to fail during first try (but work when retrying). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1324 95ad53e4-c205-0410-b2fa-d234c58c8868
* * switched from perl-based distro-configuration files to "real" configurationOliver Tappe2007-08-1519-4623/+361Star
| | | | | | | | | | | | | | | | | | | | | files (handled by Config::General) * removed most version specific distribution modules (only Debian-3.1 remains as it requires some special treatment). For all the other distributions, the specific info is now contained in the configuration files * added configuration files (settings.default) for every supported distribution (only Fedora is still missing some info) * added support for inclusion of (externally generated) mirror lists and automatic selection of the five best (fastest) mirrors from that list (20 are tried). For each repository, a mirror configuration file is created (in /etc/opt/openslx/distro-info/<distro>/mirrors/<repo>) after that info has been gathered. * added current mirror lists for each distribution repository to the distro-info hierarchy * updated settings.example to reflect new configuration syntax git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1322 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added 64-bit targets for Ubuntu 6.10, 7.04 and Debian 4.0 (3.1 doesOliver Tappe2007-08-057-20/+326
| | | | | | | | not officially support the amd64 architecture) * Debian-4.0_amd64 is now the OpenSLX build platform for 64-bit git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1318 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added OpenSLX build platform as explicit selection to Debian-3.1Oliver Tappe2007-08-031-0/+8
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1314 95ad53e4-c205-0410-b2fa-d234c58c8868
* * finished support for installation of Debian & Ubuntu. Things seem to beOliver Tappe2007-08-038-2/+185
| | | | | | | | working more or less fine now. Some systems I have tested do not boot into the graphical environment automatically, but that may be a problem in stage3 (as manually invoking gdm works). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1313 95ad53e4-c205-0410-b2fa-d234c58c8868