summaryrefslogtreecommitdiffstats
path: root/installer
Commit message (Collapse)AuthorAgeFilesLines
* git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2048 ↵Oliver Tappe2008-08-182-2/+2
| | | | 95ad53e4-c205-0410-b2fa-d234c58c8868
* Beagle hides very well (if anybody knows where in SuSE 11 please tell,Dirk von Suchodoletz2008-08-111-0/+2
| | | | | | | just tried to toast my old X20 - the hot metallic smell warned me :)) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2020 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
* * fixed bad bug that would cause removal of vendor-OS if the export wasOliver Tappe2008-07-171-31/+52
| | | | | | | | faked by bind-mounting to the vendor-OS. Now we simply give the same warning as when faking the export and skip the actuall removal. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1933 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
* * 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