summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* updated installation of OpenSuse 11.1Alexander Hoppe2009-04-071-3/+176
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2807 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
* Ubuntu 9.04 "support" (inital to check for the howto/documentation, Dirk von Suchodoletz2009-03-2912-0/+0
| | | | | | | removing deprecated 7.10 version) ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2769 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
* * update distro-info IISebastian Schmelzer2009-03-098-0/+124
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2698 95ad53e4-c205-0410-b2fa-d234c58c8868
* * update suse distro-infoSebastian Schmelzer2009-03-0968-489/+4036
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2697 95ad53e4-c205-0410-b2fa-d234c58c8868
* Basic (yet incomplete) integration steps for Scientific Linux 5.1Dirk von Suchodoletz2009-02-147-0/+124
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2576 95ad53e4-c205-0410-b2fa-d234c58c8868
* checked mirrors and removed old onesAlexander Hoppe2009-02-0612-234/+14Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2569 95ad53e4-c205-0410-b2fa-d234c58c8868
* Removing old distributions which would be most probably neverDirk von Suchodoletz2009-01-1934-2475/+47Star
| | | | | | | supported (again). Added Scientific Linux outline (not functional yet) ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2492 95ad53e4-c205-0410-b2fa-d234c58c8868
* Removing old Ubuntu versions which would be most probably neverDirk von Suchodoletz2009-01-1912-1162/+0Star
| | | | | | | | supported (again). git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2491 95ad53e4-c205-0410-b2fa-d234c58c8868
* Removing old Ubuntu versions which would be most probably neverDirk von Suchodoletz2009-01-1912-1136/+0Star
| | | | | | | supported (again). git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2490 95ad53e4-c205-0410-b2fa-d234c58c8868
* Stub files (not really matched yet) for new distributions ...Dirk von Suchodoletz2008-12-2214-0/+1538
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2443 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
* * added ubuntu 8.10 supportSebastian Schmelzer2008-11-136-0/+581
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2382 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
* Added new distro-info for OpenSUSE 11.0 (simple string replacement,Dirk von Suchodoletz2008-08-1010-0/+1201
| | | | | | | but this certainly would not be sufficient ...) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2019 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
* * switch default meta-packager for SUSE-10.2 onwards from smart to zypperOliver Tappe2008-06-084-4/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1862 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
* * added sigtrap protection (against user pressing CTRL-C, for instance) and madeOliver Tappe2008-03-231-12/+21
| | | | | | | sure that any pending cleanup functions are invoked upon unload of module * some formatting corrections git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1676 95ad53e4-c205-0410-b2fa-d234c58c8868
* * improved error handling when trying to load plugin-specific distro modules ↵Oliver Tappe2008-03-201-7/+10
| | | | | | | | (now the actual error should be shown) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1663 95ad53e4-c205-0410-b2fa-d234c58c8868
* Checked in with wrong directory name (double underline) Dirk von Suchodoletz2008-03-2010-0/+0
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1659 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Switched indent used in Perl-code and settings files from tabs to 4 spaces.Oliver Tappe2008-03-2043-7606/+7606
| | | | | | 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
* * removed bogus packages called 'gpg-pubkey' - we handle those explicitly, ↵Oliver Tappe2008-03-174-24/+0Star
| | | | | | anway. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1640 95ad53e4-c205-0410-b2fa-d234c58c8868