summaryrefslogtreecommitdiffstats
path: root/os-plugins/OpenSLX/OSPlugin
Commit message (Collapse)AuthorAgeFilesLines
* change dir structureSebastian Schmelzer2010-09-023-1701/+0Star
|
* bindmount can't be mounted ro, if source is mounted rwSebastian2010-08-221-1/+1
|
* * fixed a whole lot of circular references which I found when researching #451Oliver Tappe2009-06-091-0/+5
| | | | | | * some minor cleanups along the way git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2944 95ad53e4-c205-0410-b2fa-d234c58c8868
* 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
* state for wlanboot-pluginAlexander Hoppe2009-06-031-1/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2913 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
* * cleaned all attributes that are marked obsolete by ticket #243 and a coupleOliver Tappe2008-08-201-23/+0Star
| | | | | | | | | more (see #243 for the list) * added all non-plugin-attrs into the hash-value that is being used to determine changes to the set of attributes & plugins git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2056 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
* * better error handlingVolker Uhrig2008-08-081-0/+2
| | | | | | | | | * fix of ticket #255 * error handling if no kind is installed is currently broken * documentation of exit statement in preInstallationPhase() added git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1992 95ad53e4-c205-0410-b2fa-d234c58c8868
* closing ticket #241:Oliver Tappe2008-07-252-0/+152
| | | | | | | | * 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-232-0/+129
| | | | | | | | | | | | | | | | * 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
* * cosmeticsOliver Tappe2008-07-051-2/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1905 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
* Implemented a better algorithm for keeping the plugins and the referencesOliver Tappe2008-06-031-0/+23
| | | | | | | | | | | to them (and their attributes) in the DB in sync: * The DB now keeps a hash-value for the list of known plugins and their attributes and checks this value against the current one on every connect. If the values do not match, the DB is brought up-to-date automatically (i.e. the attributes are synchronized with the systems, clients and groups). git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1837 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-262-36/+100
| | | | | | | | | | | 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-242-8/+38
| | | | | | | | | | | 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-223-15/+57
| | | | | | | | | | | | | | 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
* * fixed bug in slxconfig introduced yesterday that would not allow settingOliver Tappe2008-05-211-19/+4Star
| | | | | | any attribute that has not come from a plugin (reported by Reiner) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1779 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support to slxconfig for checking the given attribute values againstOliver Tappe2008-05-201-2/+38
| | | | | | | their respective regex, an appropriate complaint is shown if the value doesn't match git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1778 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
* * corrected minor formatting glitch in PODOliver Tappe2008-04-101-0/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1735 95ad53e4-c205-0410-b2fa-d234c58c8868
* * made names of distro module consistent across OpenSLX - now the always ↵Oliver Tappe2008-04-062-34/+8Star
| | | | | | | | | | | | 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
* * removed 'precedence'-attribute and made it part of the general plugin info -Oliver Tappe2008-03-241-15/+21
| | | | | | it makes no sense to have this configurable by the user git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1682 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-203-496/+496
| | | | | | 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
* * added separate class methods for adding stage1-, stage3- or all attributes toOliver Tappe2008-03-191-5/+79
| | | | | | a given hash and simplified the implementation git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1654 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
* * fixed bug in addAllStage3AttributesToHash() - the actual filtering was missingOliver Tappe2008-03-171-0/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1647 95ad53e4-c205-0410-b2fa-d234c58c8868
* * intermediate checking for new desktop plugin (successor of displaymanagerOliver Tappe2008-03-152-10/+68
| | | | | | 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-142-5/+53
| | | | | | | | | 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-272-77/+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-232-102/+243
| | | | | | | | | | | | + 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
* * Instead of giving up when a plugin folder does not contain the correspondingOliver Tappe2008-02-231-0/+8
| | | | | | | perl module, it is now simply skipped (such that all other plugins are still available). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1569 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
* Refactored call-out to plugins when making the initramfs:Oliver Tappe2008-02-161-6/+67
| | | | | | | | | | | | | | | | * The code for setting up the plugin in the initramfs has been moved into the plugin base, as this makes it possible for any plugin to override it (should the need ever arise). * The plugin scripts themselves are now being copied into the initramfs, instead of being part of the config-TGZ - they are static scripts, so there's no need to make them part of the config. Only the actual settings of each plugin are part of the config-TGZ now. * Cleaned up most accesses from plugins to private data of the makeInitRamFS- engine. I have tested with these changes with Ubuntu and Debian, and splashy still works for both, so it should be ok. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1551 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
* * added support for letting plugins suggest additional kernel modulesOliver Tappe2008-02-131-0/+29
| | | | | | | | | * used this new functionality in the theme and vmware plugins to suggest the kernel modules they need (this should fix showing the console in ubuntu) * added distro-specific kernel module filtering, such that there no longer are the spurious warnings about 'hid', 'unix' and/or 'af_packet' not being found git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1540 95ad53e4-c205-0410-b2fa-d234c58c8868
* * implement support for letting the plugins suggest additional kernel_paramsOliver Tappe2008-02-101-0/+10
| | | | | | | | | * the theme plugin now suggests the use of the kernel-params 'vga=0x317' and 'quiet' unless they have already been set [these values should be moved into the DB later, such that the user can change them (i.e. to set a different resolution via vga=...)]. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1532 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bugs that stopped new-style initramfs from workingOliver Tappe2008-02-022-0/+32
| | | | | | | | | * added support to new-style initramfs generator for integrating the active plugins into the initramfs With these fixes, I have been able to boot a cloned suse-10.2 into KDM with both bootsplash- and displaymanager-theme working. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1510 95ad53e4-c205-0410-b2fa-d234c58c8868