summaryrefslogtreecommitdiffstats
path: root/lib/OpenSLX
Commit message (Collapse)AuthorAgeFilesLines
* change dir structureSebastian Schmelzer2010-09-0214-4149/+0Star
|
* quotation marks part of string so changes revertedMichael Janczyk2010-08-221-1/+2
|
* h2ph was executed on every loadperlheader call making demuxer really slow..Sebastian2010-04-071-16/+18
|
* Cleaning up the runlevel mess of vmware plugin ... Not finished yet.Dirk von Suchodoletz2010-02-111-4/+4
|
* add trim to utilsSebastian2010-01-121-1/+12
|
* added default menu entry to pxe menuMichael Janczyk2009-12-181-0/+1
|
* distroutils updateSebastian Schmelzer2009-08-114-23/+202
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3069 95ad53e4-c205-0410-b2fa-d234c58c8868
* Starting into handling of special partition IDs (45, 46), see wiki.Dirk von Suchodoletz2009-07-161-1/+1
| | | | | | | | | * id45 for generic scratch (just mounted, not formatted) * id46 for special openslx directories (boot, config and home) Not completely implemented. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3009 95ad53e4-c205-0410-b2fa-d234c58c8868
* suppress error from #463 cp: cannot stat ↵Michael Janczyk2009-07-031-1/+1
| | | | | | /mnt/opt/openslx/lib/plugins/desktop/themes/gdm/... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2991 95ad53e4-c205-0410-b2fa-d234c58c8868
* no need for different syslinux dirs, now everything inside syslinuxMichael Janczyk2009-07-031-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2990 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed a whole lot of circular references which I found when researching #451Oliver Tappe2009-06-092-5/+13
| | | | | | * some minor cleanups along the way git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2944 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed pretty stupid bug that involved mixed use of bufferd/non-buffered IOOliver Tappe2009-06-091-1/+1
| | | | | | | which caused locks to hang even in the same process-group (for which they should be recursable) - closes #451 git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2943 95ad53e4-c205-0410-b2fa-d234c58c8868
* use distroutils in xserver pluginSebastian Schmelzer2009-06-061-9/+3Star
| | | | | | remove debug code git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2941 95ad53e4-c205-0410-b2fa-d234c58c8868
* remove debug codeSebastian Schmelzer2009-06-061-13/+2Star
| | | | | | @INC manipulation moved to plugin engine (see #2939) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2940 95ad53e4-c205-0410-b2fa-d234c58c8868
* Various changes to xserver plugin:Bastian Wissler2009-06-053-3/+62
| | | | | | | | | | * 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
* quick fix distroutilsSebastian Schmelzer2009-06-051-6/+4Star
| | | | | | | TODO: add prefix /mnt only in chrooted environment see also Olli's mail on openslx-devel git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2934 95ad53e4-c205-0410-b2fa-d234c58c8868
* fix "Module not found" bug of distroutils in plugin install routineSebastian Schmelzer2009-06-041-3/+24
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2932 95ad53e4-c205-0410-b2fa-d234c58c8868
* current state of work on runlevel generator.. (still not fully useable)Sebastian Schmelzer2009-04-146-213/+367
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2813 95ad53e4-c205-0410-b2fa-d234c58c8868
* added version 3.73 of pxelinux to trunkMichael Janczyk2009-04-031-1/+0Star
| | | | | | | | | | | added pxechain which allows to chainload pxelinux.0 from different tftp server, so ip prefixes are no longer needed (dirk read about this feature) removed tftp-server-ip from slxsettings again ;) added small kernel and small initrd which only executes 'echo sub >/proc/sysrq-trigger' introducing menu-include / menu-botton (s. Readme.pxe) it's for testing now... if it's to complicated it can be simplyfied or removed again git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2800 95ad53e4-c205-0410-b2fa-d234c58c8868
* disputable realization of pxe-theme as defaultMichael Janczyk2009-04-021-2/+6
| | | | | | | | | | | | | | | | | | openslx theme will now be used as default all theming definitions should take place in a separate file general configuration should take place via slxsettings pxe-passwd='secret' pxe-theme='openslx' pxe-timeout='100' pxe-title='Welcome to OpenSLX' pxe-totaltimeout='600' tftp-server-ip='132.230.4.4' for further tests an include file in etc/opt could be used, which will be loaded at the end i had to introduce tftp-server-ip in slxsettings since i need the ip for (vesa)menu.c32 and the image do you thionk it's to complicated now? we can still change it, any better ideas, simplifications? git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2793 95ad53e4-c205-0410-b2fa-d234c58c8868
* * in an attempt to solve #399 (and #398), we now mount the host's perl coreOliver Tappe2009-03-201-6/+0Star
| | | | | | | | 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
* Sorry, wrong r2434 - fixing problem in reply to the list ...Dirk von Suchodoletz2008-12-181-1/+2
| | | | | | | (undoing some old changes) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2435 95ad53e4-c205-0410-b2fa-d234c58c8868
* ..Dirk von Suchodoletz2008-12-171-14/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2434 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fix (hopefully)Sebastian Schmelzer2008-12-171-5/+3Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2429 95ad53e4-c205-0410-b2fa-d234c58c8868
* Trying to simplify stuff in plugins (checks if a certain packageDirk von Suchodoletz2008-12-171-0/+14
| | | | | | | is installed and installing ...) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2427 95ad53e4-c205-0410-b2fa-d234c58c8868
* More general location of helper functions (to check if a certainDirk von Suchodoletz2008-12-171-0/+30
| | | | | | | binary is installed somewhere). git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2426 95ad53e4-c205-0410-b2fa-d234c58c8868
* git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2408 ↵Sebastian Schmelzer2008-12-152-2/+201
| | | | 95ad53e4-c205-0410-b2fa-d234c58c8868
* git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2407 ↵Sebastian Schmelzer2008-12-156-13/+220
| | | | 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added descriptionsSebastian Schmelzer2008-12-153-0/+39
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2406 95ad53e4-c205-0410-b2fa-d234c58c8868
* * first ideas of distro based utilitiesSebastian Schmelzer2008-12-154-0/+316
| | | | | | | | | | | | | | | | | | | | | | | | | * usage: use OpenSLX::DistroUtils; # get initfile object my $initfile = newInitFile(); # modify the object $initfile->addToBlock('head', 'set some variables'); # 3rd parameter is setting the priority of the entry # default is 5 $initfile->addToBlock('head', 'set sth at the very beginning', 1); $initfile->addToBlock('start', '/bin/startsomething'); $initfile->addToBlock('stop', '/bin/stopsomething'); $initfile->setName('foo'); .. # get generated content of initfile $source = getInitFileForDistro($initfile, 'Ubuntu'); git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2405 95ad53e4-c205-0410-b2fa-d234c58c8868
* * this file was missing from last commitOliver Tappe2008-10-091-14/+49
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2280 95ad53e4-c205-0410-b2fa-d234c58c8868
* * add asm subfolder to ph-search path, tooOliver Tappe2008-10-081-0/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2276 95ad53e4-c205-0410-b2fa-d234c58c8868
* * first try at making sure that the required Perl-headers exist before we tryOliver Tappe2008-10-081-2/+9
| | | | | | to use one of them git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2275 95ad53e4-c205-0410-b2fa-d234c58c8868
* * drop trailing slashed from lock names as the respective file can't beOliver Tappe2008-09-131-0/+3
| | | | | | created otherwise git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2216 95ad53e4-c205-0410-b2fa-d234c58c8868
* * implemented support for recursive file-based locksOliver Tappe2008-09-132-12/+84
| | | | | | | | | * 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
* * next refactoring step: made MakeInitRamFS part of boot environmentOliver Tappe2008-09-011-0/+262
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2167 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed possible hiding of error messages when something goes wrong in aOliver Tappe2008-08-121-3/+4
| | | | | | | module that is being loaded dynamically (specifically the case when a plugin is trying to load the most appropriate Distro module) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2033 95ad53e4-c205-0410-b2fa-d234c58c8868
* * increased robustness against leaking resources by ignoring INT-signals whenOliver Tappe2008-06-081-1/+5
| | | | | | trying to release a resource (a.k.a. umount a folder) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1868 95ad53e4-c205-0410-b2fa-d234c58c8868
* * moved code from MakeInitRamFS::Engine that determines the list of availableOliver Tappe2008-05-311-0/+26
| | | | | | | | 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
* * fixed problem in module loading code that under some circumstances led to ↵Oliver Tappe2008-05-251-7/+6Star
| | | | | | | | | modules being loaded several times (which in turn produced warnings about functions being redefined) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1800 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed a problem with a failing child process passing the death gate by ↵Oliver Tappe2008-05-241-7/+8
| | | | | | | | | throwing - this resulted in the seemingly weirdest behaviour of the config-demuxer (which was actually the child process trying to demux from within the chroot) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1795 95ad53e4-c205-0410-b2fa-d234c58c8868
* * make sure to remove all warning- and error-indicator strings already containedOliver Tappe2008-05-241-2/+2
| | | | | | in message before adding a new one git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1791 95ad53e4-c205-0410-b2fa-d234c58c8868
* * changed warning indicator from '°°°' to '! ' in order to avoid ↵Oliver Tappe2008-05-241-2/+2
| | | | | | | | possible charset encoding problems ('°' is non-ascii) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1786 95ad53e4-c205-0410-b2fa-d234c58c8868
* * renamed --verbose-level to --log-level to make it more separate from ↵Oliver Tappe2008-04-071-7/+7
| | | | | | --verbose. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1729 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added PODs to all Perl-modules in lib, documenting those functions that ↵Oliver Tappe2008-04-065-183/+756
| | | | | | | | | are meant to be used by other OpenSLX components (i.e. scripts and plugins) * applied minor cleanups and convenience extensions to a couple of functions git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1722 95ad53e4-c205-0410-b2fa-d234c58c8868
* * made names of distro module consistent across OpenSLX - now the always ↵Oliver Tappe2008-04-061-4/+73
| | | | | | | | | | | | 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 TODO about missing documentationOliver Tappe2008-03-311-0/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1710 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Changed check of syscall from die() to warn() in order to let the callerOliver Tappe2008-03-271-1/+1
| | | | | | | continue. Of course, this ain't going to fix anything, but it might help to see what's going wrong after failing to enter 32-bit personality. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1700 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Switched from explicit cleanup functions to "resource acquisition by ↵Oliver Tappe2008-03-242-59/+100
| | | | | | | | | 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-231-0/+56
| | | | | | | * 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