summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * extract debug-level from kernel_params and add pass itOliver Tappe2008-01-221-0/+6
| | | | | | to MakeInitramFS::Engine git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1484 95ad53e4-c205-0410-b2fa-d234c58c8868
* * moved functionality of slxldd into a module (LibScanner),Oliver Tappe2008-01-222-206/+269
| | | | | | | | such that it can be used by other programs, too * slxldd is now just a wrapper for the LibScanner module git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1483 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fix priority optionVolker Uhrig2008-01-171-12/+29
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1482 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fix order of menus in xdialogVolker Uhrig2008-01-172-8/+10
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1481 95ad53e4-c205-0410-b2fa-d234c58c8868
* * it is now possible to cause slxconfig-demuxer to use theOliver Tappe2008-01-162-11/+55
| | | | | | | new, internal code for generating the initialramfs (option --makeinitramfs) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1480 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
* * use mkpath() instead of system()Oliver Tappe2008-01-161-3/+4
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1478 95ad53e4-c205-0410-b2fa-d234c58c8868
* * started to work on re-implementation of mkdxsinitrd in perlOliver Tappe2008-01-162-1/+266
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1477 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed problems in AttributeRoster with respect to syntaxOliver Tappe2008-01-162-354/+368
| | | | | | | checking (perl -cw) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1476 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-142-2/+5
| | | | | | | | | | | | * 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-1320-286/+277Star
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* * avoid possible warnings about undefined values in regex-substitutionOliver Tappe2008-01-121-3/+5
| | | | | | (fixed the second incarnation of this bug, too) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1471 95ad53e4-c205-0410-b2fa-d234c58c8868
* * avoid possible warnings about undefined values in regex-substitutionOliver Tappe2008-01-121-4/+5
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1470 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed encoding problem with script-internal default PXE-templateOliver Tappe2008-01-121-9/+11
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1469 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed 'uninitialized value' warningOliver Tappe2008-01-121-4/+6
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1468 95ad53e4-c205-0410-b2fa-d234c58c8868
* * changed default for 'pxe-theme' from 'openslx' to unset to stay compatibleOliver Tappe2008-01-121-1/+1
| | | | | | with old setting (avoid suprising users with unwanted PXE-theming) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1467 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added hook mechanism to initramfs-init which can be used by pluginsOliver Tappe2008-01-1115-4/+153
| | | | | | | | | | | 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 TODO about lacking performance of set...Attrs()Oliver Tappe2008-01-111-0/+3
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1465 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bug where changing an attribute of a client or system would dropOliver Tappe2008-01-113-7/+70
| | | | | | | | | | all other (pre-existing) attributes * now detailed info about the active plugins are shown when listing a system * the default attributes of the plugins are now synchronized against the default system whenever a plugin is installed into a vendor-OS (otherwise, the respective plugin would not be activated automatically) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1464 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed encoding problem of PXE-config file outputOliver Tappe2008-01-112-8/+23
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1463 95ad53e4-c205-0410-b2fa-d234c58c8868
* * oops, remove debug output :-/Oliver Tappe2008-01-111-2/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1462 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support to the config-demuxer for PXE-theming, i.e. it will lookOliver Tappe2008-01-112-13/+63
| | | | | | | | | | | | | | | | | | | | at the contents of the 'pxe-theme' setting and then try to activate the PXE-theme with the given name. That includes these actions: - an optional template is still loaded and the PXE theme config file is appended to it (such that the theme configuration overrides and/or extends the general PXE-template) - the last background picture referenced by the PXE configuration is copied to the target folder - the menu margin is set according to the 'pxe-theme-menu-margin' setting - any separator lines are rendered as appropriate for the given margin - if any system has a description, it is formatted as appriopriate for the given margin and added to the PXE menu as a TEXT HELP block The whole setup seems to work properly, except for a charset conversion bug concerning the data that has come from the DB (label and description) Thanks go to Michael for his great work on the PXE theme! git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1461 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added two new global settings:Oliver Tappe2008-01-111-0/+2
| | | | | | | | | | + 'pxe-theme' contains the name of the theme to apply to PXE default is 'openslx' + 'pxe-theme-menu-margin' contains the margin size for the PXE menu default is '9' git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1460 95ad53e4-c205-0410-b2fa-d234c58c8868
* * now accepts \n and \t in values and converts them to the respective realOliver Tappe2008-01-111-3/+14
| | | | | | thing (newline or tab) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1459 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added new column 'description' to system, which holds an optionalOliver Tappe2008-01-112-267/+318
| | | | | | | | | | descriptive text that is going to be shown via PXE TEXT (as outlined by Michael in his work on PXE themes) * made setup of DB upgrade functions less error-prone (it is now harder to forget parts of the necessary setup) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1458 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
* * fixed bug that disallowed setting of scoped (a.k.a. plugin-specific) Oliver Tappe2008-01-091-2/+2
| | | | | | attributes (the contained double-colon was being rejected) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1456 95ad53e4-c205-0410-b2fa-d234c58c8868
* * the config-demuxer now only demuxes attributes of active plugins that haveOliver Tappe2008-01-092-2/+9
| | | | | | been installed into the current system's vendor-OS. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1455 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
* * fixed several occurrences of 'attr_'-namesOliver Tappe2008-01-091-8/+9
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1453 95ad53e4-c205-0410-b2fa-d234c58c8868
* * several fixes related to the handling of plugin-specific attributesOliver Tappe2008-01-095-69/+37Star
| | | | | | 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-089-612/+726
| | | | | | | 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
* * minor fix (VERSION)Oliver Tappe2008-01-081-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1450 95ad53e4-c205-0410-b2fa-d234c58c8868
* * improved robustness of schema upgrading code against intermediateOliver Tappe2008-01-081-3/+6
| | | | | | problems (or oversights like my last one) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1449 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added missing invocation of _upgradeDBTo0_21(), such that nowOliver Tappe2008-01-081-0/+5
| | | | | | the auto upgrade to schema version 0.21 will actually work git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1448 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added new DB-table 'installed_plugin', moving schema version to 0.21Oliver Tappe2008-01-084-1/+236
| | | | | | | | * added functionality to DB-layer for adding, removing and fetching plugins that have been installed into a vendor-OS. * added a set of tests related to installed plugins. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1447 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed several smaller bugs found when testing slxexportOliver Tappe2008-01-073-22/+32
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1446 95ad53e4-c205-0410-b2fa-d234c58c8868
* * changed (and hopefully improved) fix for locale-problems thatOliver Tappe2008-01-073-5/+5
| | | | | | | 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
* * finished refactoring of attribute handling code, especially theOliver Tappe2008-01-0711-924/+1091
| | | | | | | | | | | | | merging of attributes, such that all tests are passed * tested and finished implementation of group support in slxconfig * added new class AttributeRoster which keeps track of the known attributes (the ones provided by the openslx core and any other ones that may have been added by some plugin). * added new option --list-attributes to slxconfig which shows information about all known attributes git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1444 95ad53e4-c205-0410-b2fa-d234c58c8868
* more refactoring (not limited to attribute handling)Oliver Tappe2008-01-0416-878/+1753
| | | | | | | | | * completed separation of attributes and standard (column) values * improved tests a lot That work is still not finished, so expect things to fail horribly. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1443 95ad53e4-c205-0410-b2fa-d234c58c8868
* more work at refactoring of the way attributes are handled:Oliver Tappe2008-01-044-388/+587
| | | | | | | | | | * finished and integrated support for declaring known attributes from within plugins (they need to install a AttrInfo module) * implemented support for checking which attributes are applicable to systems and clients respectively * adjusted slxconfig to new attribute handling (systems only at the moment) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1442 95ad53e4-c205-0410-b2fa-d234c58c8868
* more work at refactoring of the way attributes are handled:Oliver Tappe2008-01-041-19/+84
| | | | | | | | | | | * finished and integrated support for declaring known attributes from within plugins (they need to install a AttrInfo module) * implemented support for checking which attributes are applicable to systems and clients respectively * adjusted slxconfig to new attribute handling (systems only at the moment) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1441 95ad53e4-c205-0410-b2fa-d234c58c8868
* * intermediate checkin of refactoring of the way attributes are stored in DBOliver Tappe2008-01-035-292/+948
| | | | | | | and passed in and out via the DB-layer N.B.: this may break things, will be fixed later today git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1440 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-3037-91/+972
| | | | | | | | | | | | | | | | | | | | | * 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
* * completed test set for attribute merging, fixing several bugs along theOliver Tappe2007-12-292-58/+574
| | | | | | | | way - these tests expose the known problem of attributes not being resetable by higher priority layers (you can't set attr_start_xdmcp to '' in a client if it set by a system). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1437 95ad53e4-c205-0410-b2fa-d234c58c8868
* * completed basic tests and started to work on tests for aggregated valuesOliver Tappe2007-12-287-3/+681
| | | | | | (attributes) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1436 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added more tests for basic DB-features: group, global_info and Oliver Tappe2007-12-276-20/+435
| | | | | | | client_system_ref git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1435 95ad53e4-c205-0410-b2fa-d234c58c8868