summaryrefslogtreecommitdiffstats
path: root/os-plugins
Commit message (Collapse)AuthorAgeFilesLines
* Reorganisation of the repo structure as discussed on the devel list.Lars Müller2008-03-01208-16015/+0Star
| | | | | | | | | | - Move the majority of trunk and all branches to the new openslx/ dir. - Move ldap-site-mngmt to contrib/. - Move openslx/trunk/os-plugins/plugins/vmchooser/src/ to openslx-src-tools/trunk/os-plugins/plugins/vmchooser/ git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1591 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-236-226/+306
| | | | | | | | | | | | + 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
* * Removed deprecated vmware configurationVolker Uhrig2008-02-211-3/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1567 95ad53e4-c205-0410-b2fa-d234c58c8868
* Added example of os-name in example.pmBastian Wissler2008-02-211-0/+4
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1566 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Cleaned out some deprecated vmware commandsVolker Uhrig2008-02-202-17/+28
| | | | | | | | | * We won't build vmware modules in initramfs anymore. They will be on the system anyway. This avoids also issues with depmod. * Directory/URI of the images moved into the vmware plugin git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1565 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Forgot to change one option from example to vmchooser beforeVolker Uhrig2008-02-191-3/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1563 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Added minimal configured vmchooser.pm. This will prevent a warningVolker Uhrig2008-02-191-0/+110
| | | | | | | or error message after cloning a system (O-Ton: vmchooser.pm missing) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1562 95ad53e4-c205-0410-b2fa-d234c58c8868
* source code of virtualmachine chooser (not yet finished)Bastian Wissler2008-02-19209-0/+16042
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1561 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support to listing the plugins that have been installed into aOliver Tappe2008-02-172-68/+130
| | | | | | | specific vendor-OS * several small fixes and improvements git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1558 95ad53e4-c205-0410-b2fa-d234c58c8868
* * deleted debug linesVolker Uhrig2008-02-171-6/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1554 95ad53e4-c205-0410-b2fa-d234c58c8868
* * cleaned up codeVolker Uhrig2008-02-179-644/+828
| | | | | | | | | * fixed tabs * plugin includes now all needed files. they will get copied from the plugin dir git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1553 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Added example how you can copy files outside of the chrootVolker Uhrig2008-02-171-1/+14
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1552 95ad53e4-c205-0410-b2fa-d234c58c8868
* Refactored call-out to plugins when making the initramfs:Oliver Tappe2008-02-164-18/+81
| | | | | | | | | | | | | | | | * 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
* bugfix: ugly but it works now, i hope ;)Michael Janczyk2008-02-162-2/+5
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1548 95ad53e4-c205-0410-b2fa-d234c58c8868
* added D_SPLASHY variable to all systems, variable will be written in ↵Michael Janczyk2008-02-162-7/+2Star
| | | | | | XX_theme.sh, if theme_nosplash -eq 0 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1547 95ad53e4-c205-0410-b2fa-d234c58c8868
* changed runlevel linker stuff. debian needs splashy to term earlier, changed ↵Michael Janczyk2008-02-151-2/+1Star
| | | | | | now via variable D_SPLASHY git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1546 95ad53e4-c205-0410-b2fa-d234c58c8868
* test commit, splashy seems to be very pickyMichael Janczyk2008-02-153-21/+26
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1545 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-133-1/+56
| | | | | | | | | * 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
* * hopefully finally fixed the utf8-related character problems in --manOliver Tappe2008-02-121-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1539 95ad53e4-c205-0410-b2fa-d234c58c8868
* * check for /bin/splashy before we try to invoke it, avoids error whenOliver Tappe2008-02-101-1/+2
| | | | | | theme-plugin is active, but theme::splashy is empty git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1533 95ad53e4-c205-0410-b2fa-d234c58c8868
* * implement support for letting the plugins suggest additional kernel_paramsOliver Tappe2008-02-102-0/+32
| | | | | | | | | * 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
* * cmdline options are now collected in a hash instead of individual variables,Oliver Tappe2008-02-091-9/+9
| | | | | | as this is much clearer git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1527 95ad53e4-c205-0410-b2fa-d234c58c8868
* * vmware plugin is no longer offering the list of available vmwaresVolker Uhrig2008-02-061-43/+564
| | | | | | | | | | | | * Prepared vmware plugin for the new vm-chooser menu * VMware plugin could now be broken. Currently untested. * cleaned servconfig * check if SuSE systems have /opt/gdm/... perhaps the GDM configuration is broken. At least it suppresses an error. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1519 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bugs that stopped new-style initramfs from workingOliver Tappe2008-02-023-0/+88
| | | | | | | | | * 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
* Hopefully finished the adjustments of the tools with respect to themeOliver Tappe2008-01-276-22/+103
| | | | | | | | | | | | | | | | | | 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
* * renamed all plugins to lowercase in order to be consistent withOliver Tappe2008-01-272-0/+0
| | | | | | | the attribute names [missed VMware last time] git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1498 95ad53e4-c205-0410-b2fa-d234c58c8868
* * renamed all plugins to lowercase in order to be consistent withOliver Tappe2008-01-2722-45/+45
| | | | | | the attribute names git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1497 95ad53e4-c205-0410-b2fa-d234c58c8868
* BUGFIX: KDM theme should work now for suse 10.2, others have still to be changedMichael Janczyk2008-01-241-1/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1492 95ad53e4-c205-0410-b2fa-d234c58c8868
* kdm theme doesnt work yet, testcommitMichael Janczyk2008-01-241-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1491 95ad53e4-c205-0410-b2fa-d234c58c8868
* BUGFIX: kdm theme works now, we hope;), moved theme to pluginMichael Janczyk2008-01-241-3/+6
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1490 95ad53e4-c205-0410-b2fa-d234c58c8868
* Added needed parameter in the short documentation.Volker Uhrig2008-01-241-2/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1489 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fix order of menus in xdialogVolker Uhrig2008-01-171-4/+5
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1481 95ad53e4-c205-0410-b2fa-d234c58c8868
* * reactivated copying of displaymanager theme, but it still does notOliver Tappe2008-01-141-5/+5
| | | | | | seem to work, as all I see is the ugly standard look git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1475 95ad53e4-c205-0410-b2fa-d234c58c8868
* * the config-demuxer now passes through theme::name to mkdxsinitrd (via -s)Oliver Tappe2008-01-141-1/+1
| | | | | | | | | | | | * set default for theme::name to 'openslx' such that our theme is now automatically active for all systems that have the 'Theme' plugin active. I tested setting theme::name to something else (in my case: openSUSE), copied the required theme-files to /opt/openslx/share/themes and it worked as expected (a.k.a the bootsplash showed the new theme). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1474 95ad53e4-c205-0410-b2fa-d234c58c8868
* * no bootsplash is being used if a debuglevel has been set (as was before)Oliver Tappe2008-01-141-3/+4
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1473 95ad53e4-c205-0410-b2fa-d234c58c8868
* reimplemented splashy stuff via Theme plugin:Oliver Tappe2008-01-1313-206/+227
| | | | | | | | | | | | | | | | | | | | | | | | * activated invocation of init-hooks * removed explicit splashy calls from init (they are now done in several init-hooks provided by the Theme plugin) * the stage3 plugins are now invoked via '.' instead via a separate shell, such that they can export changed environment variables * changed invocation of initial_boot() - we now pass in the list of initscripts as otherwise I have been unable to let this function access a changed D_INITSCRIPTS variable (it would only see initial content) * moved invocation of initial_boot from servconfig to init (again such that a changed D_INITSCRIPTS will be handled correctly) * config-demuxer now passes the active plugins into mkdxsinitrd * mkdxsinitrd accepts a list of active plugins (-p) and copies the hooks directly into the initialramfs, such that they are available immediately in stage3 The bootsplash stuff (splashy) seems to work properly, but the handling of displaymanager themes is currently broken. I will look into that tomorrow. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1472 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added hook mechanism to initramfs-init which can be used by pluginsOliver Tappe2008-01-1112-1/+121
| | | | | | | | | | | to trigger execution of their own script at a certain point in the initramfs-init execution path. This is not active yet * added basic implementation outline for Theme (a.k.a splash) plugin - unable to test anything, though, as VMware does not seem to provide a VESA framebuffer, so splashy won't run git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1466 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added mandatory attributes (active,precedence) to VMware pluginOliver Tappe2008-01-091-0/+35
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1454 95ad53e4-c205-0410-b2fa-d234c58c8868
* * several fixes related to the handling of plugin-specific attributesOliver Tappe2008-01-093-14/+7Star
| | | | | | by the config-demuxer git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1452 95ad53e4-c205-0410-b2fa-d234c58c8868
* * implemented automatic synchronization of new/changed attributes (eitherOliver Tappe2008-01-085-112/+324
| | | | | | | 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
* * changed (and hopefully improved) fix for locale-problems thatOliver Tappe2008-01-071-1/+1
| | | | | | | 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
* Added base VMware plugin. Its more or less a copy from the currentVolker Uhrig2007-11-102-0/+294
| | | | | | | | | | VMware setup in servconfig. Its disabled at the moment, till we can clean the servconfig. Creation of the vmware container is currently not implemented. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1409 95ad53e4-c205-0410-b2fa-d234c58c8868
* Ash reports "ash: missing ]" if there's no space and the script won'tVolker Uhrig2007-11-091-1/+1
| | | | | | | work anymore git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1408 95ad53e4-c205-0410-b2fa-d234c58c8868
* * cosmetical changesOliver Tappe2007-11-042-4/+9
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1405 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed used of uninitialized valueOliver Tappe2007-11-011-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1402 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added missing 'snv:executable' propertyOliver Tappe2007-10-141-0/+0
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1382 95ad53e4-c205-0410-b2fa-d234c58c8868
* * base work towards utf8-cleanness (it is now possible to handle vendor-OSesOliver Tappe2007-07-211-1/+1
| | | | | | | | | whose name contain UTF8-characters * fixed problem with locale-specific number format being used during DB- creation (fixes the problem that database access would only work once for de_DE-locales [reported by Detlef Schulz]) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1266 95ad53e4-c205-0410-b2fa-d234c58c8868