summaryrefslogtreecommitdiffstats
path: root/installer
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * finally purged the obsolete folderOliver Tappe2008-05-2880-3851/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1810 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
* * added explicit check for /srv/openslx/export/nfs being a bind-mount toOliver Tappe2008-05-121-0/+34
| | | | | | | | /var/opt/openslx/stage1 and skip the rsync step in that case This makes it possible to use a bind mount during development, which in turn avoids having to wait for rsync to do copy the largish vendor-OS folder. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1763 95ad53e4-c205-0410-b2fa-d234c58c8868
* * renamed --verbose-level to --log-level to make it more separate from ↵Oliver Tappe2008-04-073-3/+3
| | | | | | --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-0618-161/+91Star
| | | | | | | | | | | | 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
* * no longer asks for root password upon install (will be done as a plugin later)Oliver Tappe2008-03-231-2/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1675 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Switched indent used in Perl-code and settings files from tabs to 4 spaces.Oliver Tappe2008-03-2034-3495/+3495
| | | | | | 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 new action 'list-selections' which shows the availableOliver Tappe2008-03-121-3/+23
| | | | | | selections for the given vendor-OS - closes ticket #202 git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1628 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
* Updated pxelinux*, added isolinux.bin (to create a bootable ISO image)Dirk von Suchodoletz2008-02-274-0/+0
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1575 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-174-11/+20
| | | | | | | | | | | '<<<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
* * hopefully finally fixed the utf8-related character problems in --manOliver Tappe2008-02-122-2/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1539 95ad53e4-c205-0410-b2fa-d234c58c8868
* * obsoleted distro-specs folderOliver Tappe2008-02-1118-0/+0
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1536 95ad53e4-c205-0410-b2fa-d234c58c8868
* * cmdline options are now collected in a hash instead of individual variables,Oliver Tappe2008-02-092-31/+14Star
| | | | | | as this is much clearer git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1527 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
* * switched config-demuxer over to internal generation of initramfsOliver Tappe2008-02-021-0/+801
| | | | | | * obsoleted mkdxsinitrd git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1511 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
* * changed (and hopefully improved) fix for locale-problems thatOliver Tappe2008-01-072-4/+4
| | | | | | | lead to strange characters being used when invoking any script with the '--man' option. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1445 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