summaryrefslogtreecommitdiffstats
path: root/os-plugins/OpenSLX/OSPlugin/Engine.pm
Commit message (Collapse)AuthorAgeFilesLines
* change dir structureSebastian Schmelzer2010-09-021-857/+0Star
|
* bindmount can't be mounted ro, if source is mounted rwSebastian2010-08-221-1/+1
|
* bind all required perl includes to chrooted systemSebastian Schmelzer2009-06-061-57/+68
| | | | | | required for distroutils git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2939 95ad53e4-c205-0410-b2fa-d234c58c8868
* Various changes to xserver plugin:Bastian Wissler2009-06-051-0/+4
| | | | | | | | | | * added support for kernel version detection - yet from local function * now falls back to ati package installation, if download fails ATTENTION: If you have a recent Kernel Version in Suse-11.1, consider downgrading your Kernel to support fglrx-drivers from their RPM repository. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2937 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed a couple of problems that inhibited the installation of pluginsOliver Tappe2009-06-041-59/+39Star
| | | | | | | into the (virtual) default vendor-OS in order to specify the set of plugins that will be installed into every vendor-OS automatically git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2930 95ad53e4-c205-0410-b2fa-d234c58c8868
* * in an attempt to solve #399 (and #398), we now mount the host's perl coreOliver Tappe2009-03-201-3/+30
| | | | | | | | path into the vendor-OS before chrooting into it for every plugin, which seems to solve the dynamic loading issue described in these two tickets git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2749 95ad53e4-c205-0410-b2fa-d234c58c8868
* * implemented support for recursive file-based locksOliver Tappe2008-09-131-1/+5
| | | | | | | | | * 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
* * remove plugin-specifc repo- and tmp-path in order to avoid problemsOliver Tappe2008-09-011-0/+1
| | | | | | during re-installation (as suggested by Michael) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2174 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added checking of attributes to installation stage of plugins,Oliver Tappe2008-08-121-22/+52
| | | | | | closing #258 git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2036 95ad53e4-c205-0410-b2fa-d234c58c8868
* closing ticket #241:Oliver Tappe2008-07-251-0/+20
| | | | | | | | * support for plugin-hooks preInstallationPhase() and postRemovalPhase() has been (re-)introduced, such that each plugin has a chance to copy files into/from the chroot git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1939 95ad53e4-c205-0410-b2fa-d234c58c8868
* implemented plugin dependency handling:Oliver Tappe2008-07-231-0/+82
| | | | | | | | | | | | | | | | * 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
* * cleaned up and clearified comment a little furtherOliver Tappe2008-07-051-1/+4
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1906 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added information to perldoc. Makes the description ofVolker Uhrig2008-07-051-0/+2
| | | | | | | checkStage3AttrValues() failsafe. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1901 95ad53e4-c205-0410-b2fa-d234c58c8868
* fixed problem reported by Michael:Oliver Tappe2008-06-021-1/+4
| | | | | | | | | * improved robustness of config-demuxer and OSPlugin::Engine with respect to checking of attributes for plugins that no longer exist - now the config-demuxer will no longer fail, but print a warning about non-existing plugins (and their attributes) instead. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1835 95ad53e4-c205-0410-b2fa-d234c58c8868
* * when installing packages, we now request an update, in order to avoidOliver Tappe2008-05-291-1/+1
| | | | | | mismatches between remote repository and local info git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1814 95ad53e4-c205-0410-b2fa-d234c58c8868
* * reworked plugin-API concerning the way the parameters are passed into Oliver Tappe2008-05-261-20/+48
| | | | | | | | | | | installationPhase() and removalPhase() - now we use a hash as the amount of parameters has become too large * adjusted all plugins to these API change * now not only the openslx base path, but the openslx config path is bind mounted into the vendor-OS chroot, such that plugins can check the available local configuration extensions git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1803 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fixed non-working installation & deinstallation of plugins into/from the ↵Oliver Tappe2008-05-261-18/+26
| | | | | | | | | | | | '<<<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
* * heavily redesigned and improved the checking of attributes: instead of dyingOliver Tappe2008-05-241-6/+35
| | | | | | | | | | | on the first error, we now collect all errors and return them. The caller can now decide what to do - die or just print a warning or whatever. * slxconfig now dies with the list of all attribute problems if there were any * slxconfig-demuxer prints warnings for all attribute problems that were found (checking for each system & client in turn) * adjusted desktop plugin to API changes concerning the attribute checks git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1796 95ad53e4-c205-0410-b2fa-d234c58c8868
* * attributes set via slxconfig are now being checked not only against the ↵Oliver Tappe2008-05-221-1/+39
| | | | | | | | | | | | | | respective regex, but the corresponding plugin is being invoked to do a check of its own, too (where it has the chance to look at the vendor-OS attributes and determine the possible stage3-values from their state). * listing a vendor-OS in verbose mode now shows the vendor-OS attributes (stage1 & stage3), too * used Clone::clone instead of Storable::dclone since the latter is not capable of cloning compiled regexes git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1783 95ad53e4-c205-0410-b2fa-d234c58c8868
* * delete the respective plugin-repo subfolder upon removal of a specific pluginOliver Tappe2008-05-181-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1774 95ad53e4-c205-0410-b2fa-d234c58c8868
* * made names of distro module consistent across OpenSLX - now the always ↵Oliver Tappe2008-04-061-33/+7Star
| | | | | | | | | | | | 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
* * getInstalledPackages() has to fetch the info from the packager, not the Oliver Tappe2008-03-241-3/+3
| | | | | | meta-packager git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1683 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Switched from explicit cleanup functions to "resource acquisition by ↵Oliver Tappe2008-03-241-21/+24
| | | | | | | | | 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
* * improved error handling when trying to load plugin-specific distro modules ↵Oliver Tappe2008-03-201-2/+13
| | | | | | | | (now the actual error should be shown) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1663 95ad53e4-c205-0410-b2fa-d234c58c8868
* * improved log output when trying to load plugin-specific distro modulesOliver Tappe2008-03-201-2/+4
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1660 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Switched indent used in Perl-code and settings files from tabs to 4 spaces.Oliver Tappe2008-03-201-308/+308
| | | | | | 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
* * Heavily worked at OSPlugin::Engine and 'desktop'-plugin. Support for stage1Oliver Tappe2008-03-171-14/+67
| | | | | | | | | attributes and most of the desktop framework is implemented. Although we have made good progress, we are not quite there yet, i.e. the desktop plugin gets the correct attributes into stage3, but it still does not work: kdm gets started although gdm should be run. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1650 95ad53e4-c205-0410-b2fa-d234c58c8868
* * intermediate checking for new desktop plugin (successor of displaymanagerOliver Tappe2008-03-151-10/+51
| | | | | | 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-1/+49
| | | | | | | | | 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
* * OSPlugin::Engine now provides a real support interface for plugins, whichOliver Tappe2008-02-271-69/+283
| | | | | | | | | 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
* * adjusted plugin-API according to recent discussion with Volker:Oliver Tappe2008-02-231-16/+33
| | | | | | | | | | | | + dropped pre- and post-methods as they are not really needed, since ... + we now bind-mount /opt/openslx into /mnt/openslx of the vendor-OS chroot, so plugins can copy any required files from there * cleaned up existing plugin implementations * improved documentation for plugin developers (available via 'perldoc os-plugins/OpenSLX/OSPlugins/Base.pm'). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1570 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support to listing the plugins that have been installed into aOliver Tappe2008-02-171-59/+83
| | | | | | | specific vendor-OS * several small fixes and improvements git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1558 95ad53e4-c205-0410-b2fa-d234c58c8868
* * actually activated the removal of a plugin in OSPlugin engineOliver Tappe2008-02-131-0/+34
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1541 95ad53e4-c205-0410-b2fa-d234c58c8868
* Hopefully finished the adjustments of the tools with respect to themeOliver Tappe2008-01-271-10/+0Star
| | | | | | | | | | | | | | | | | | naming and other recent discussions of user interface. * adjusted and simplified code to the fact that plugins are now named in all lowercase * slxos-plugin --verbose list now shows description for each plugin and a list of supported attributes * fixed some outstanding issues with respect to lowercasing of plugin names * Separated theme::name into theme::splash, theme::displaymanager and theme::desktop, leading to DB-schema 0.24. Please note that although these attributes exist, currently only theme::splash is being used (the new ones will be used by the reimplemented mkdxsinitrd) * moved some information gathering from OSPlugin::Engine into OSPlugin::Roster, where it belongs git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1500 95ad53e4-c205-0410-b2fa-d234c58c8868
* * implemented automatic synchronization of new/changed attributes (eitherOliver Tappe2008-01-081-0/+52
| | | | | | | from core or plugins) into the default system * reworked the way plugins pass out their attribute info git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1451 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added the 'os-plugins'-folder I missed with last commitOliver Tappe2007-07-031-0/+124
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1221 95ad53e4-c205-0410-b2fa-d234c58c8868