summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSExport/Engine.pm
Commit message (Collapse)AuthorAgeFilesLines
* change dir structureSebastian Schmelzer2010-09-021-364/+0Star
|
* * some cleanup regarding log outputOliver Tappe2008-08-311-9/+9
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2162 95ad53e4-c205-0410-b2fa-d234c58c8868
* * made names of distro module consistent across OpenSLX - now the always ↵Oliver Tappe2008-04-061-27/+14Star
| | | | | | | | | | | | 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
* * Switched indent used in Perl-code and settings files from tabs to 4 spaces.Oliver Tappe2008-03-201-246/+246
| | | | | | 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
* * Forced DNBD2.pm into a (hopefully) working condition.Oliver Tappe2008-02-291-2/+11
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1586 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added explicit error message about trying to apply actions to the Oliver Tappe2008-02-171-0/+3
| | | | | | | | | | | '<<<default>>>' vendor-OS (which is going to be introduced, soon) * slxos-export list-exported now uses the usual export name format (<vendor-OS-name>::<export-type>) * when listing the installed vendor-OSes, plain files are now filtered out (only directories can contain a vendor-OS) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1555 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support to the OSExport engine for determining theOliver Tappe2008-01-221-0/+7
| | | | | | | | | required tools, too (not only the kernel modules) - such that MakeInitRamFS::Engine can now find out which tools are *required* by a specific system and can copy those (and bail if they are not available) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1485 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Changed naming scheme for exports from <vendor-os>:<type> to Oliver Tappe2007-12-261-2/+2
| | | | | | | | <vendor-os>::<type>, reusing the scope operator from perl and C++. This is in preparation for add scope support to attributes, which is going to use the same naming scheme. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1434 95ad53e4-c205-0410-b2fa-d234c58c8868
* git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1264 ↵Oliver Tappe2007-07-201-0/+5
| | | | 95ad53e4-c205-0410-b2fa-d234c58c8868
* * more work towards perlcritic compliance, fixed the low-hanging fruit Oliver Tappe2007-07-101-0/+7
| | | | | | for level 4 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1234 95ad53e4-c205-0410-b2fa-d234c58c8868
* * activated 'use warnings' to all modules and adjusted all occurences ofOliver Tappe2007-07-011-6/+7
| | | | | | | 'use of uninitialized values', a couple of which might still show up * adjusted all code with respect to passing perlcritic level 4 and 5 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1207 95ad53e4-c205-0410-b2fa-d234c58c8868
* * split export type into filesystem and (optional) blockdevice, closingOliver Tappe2007-06-201-100/+142
| | | | | | | ticket#139 * code-reformatting with perltidy git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1176 95ad53e4-c205-0410-b2fa-d234c58c8868
* largish change with respect to configurable paths:Oliver Tappe2007-06-171-3/+3
| | | | | | | | | | | | | | | | | | | | * instead of supporting configurable paths at different hierarchy levels, there are now only five configurable folder: + base-path (/opt/openslx), fixed at installation time + config-path (/etc/opt/openslx), fixed at installation time + private-path (/var/opt/openslx), freely configurable by user + public-path (/srv/openslx), freely configurable by user + temp-path (/tmp), freely configurable by user this closes ticket#143 * several holes have been plugged concerning the creation of folders before they are accessed, closing ticket#142 * the functionality of generating config default folders has been moved from the Makefile into a new Perl-module (ConfigFolder.pm), in order to be available to the Perl-scripts, too * slxsettings has been changed to reflect the nature of base-path and config-path as fixed paths git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1172 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed incorrectly generated exportURI (still used the export-name insteadOliver Tappe2007-06-071-2/+1Star
| | | | | | of the vendor-OS-name) [reported by Felix, thanks!] git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1155 95ad53e4-c205-0410-b2fa-d234c58c8868
* * renamed export type 'nbd-squash' to 'nbd' to make it shorterOliver Tappe2007-05-291-8/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1110 95ad53e4-c205-0410-b2fa-d234c58c8868
* * changed handling of exports to drop support for having more than oneOliver Tappe2007-05-291-32/+27Star
| | | | | | | | | | export for a given vendor-OS with the same export-type * exports are now named according to the pattern <vendor-os>-<export-type> (instead of <vendor-os>-<X> where X was a letter) * change slxos-export to show the export-config-info after updating an export, too (not only after creating a new export). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1108 95ad53e4-c205-0410-b2fa-d234c58c8868
* * reworked construction of export-URI to be delegated into the respectiveOliver Tappe2007-05-071-0/+15
| | | | | | | | exporter module, as a result, the NBD-URLs are now correct * added 'nbd' as an alias for the 'nbd-squash' export type git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1024 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support to exporter modules for passing out the required fs-modulesOliver Tappe2007-05-061-0/+7
| | | | | | | * improved config-demuxer to ask exporter for required fs-mods and pass this to mkdxsinitrd git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1019 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support to NBD_Squash-exporter for selecting the next free server-portOliver Tappe2007-05-061-17/+27
| | | | | | | | | | automatically * added missing code to clean dependent data if removing an export (systems) or a vendor-OS (exports and systems) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1013 95ad53e4-c205-0410-b2fa-d234c58c8868
* * changed semantics of slxos-export (back) to add/update/removeOliver Tappe2007-04-231-71/+112
| | | | | | | | | | | in order to seperate the creation of new exports from the updating of existing ones. This has become necessary with the new naming scheme. * introduced new naming scheme that names exports like the vendor-OS, but adds one letter to it to differentiate several exports of the same vendor-OS and type. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@922 95ad53e4-c205-0410-b2fa-d234c58c8868
* * exports no longer make use of a two-valued key, but requireOliver Tappe2007-04-211-7/+14
| | | | | | | | | a unqiue name. The current scheme is to name an export like the corresponding vendor-OS if possible and append the export type to that name if such an export already exists. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@916 95ad53e4-c205-0410-b2fa-d234c58c8868
* * activated check for required modules in slxos-export, such that you can ↵Oliver Tappe2007-04-151-0/+4
| | | | | | | | | | only create an nfs-squash export if the vendor-OS actually has support for that included... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@891 95ad53e4-c205-0410-b2fa-d234c58c8868
* * cleanup with respect to how modules/classes are loadedOliver Tappe2007-04-141-67/+10Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@890 95ad53e4-c205-0410-b2fa-d234c58c8868
* * changed POD back from documenting 'add' to 'export', as 'adding' an export ↵Oliver Tappe2007-04-131-1/+3
| | | | | | | | | | | that already exists is odd (as pointed out by Dirk). Actually, both forms are still accepted. * added automatic creation of a default system for an added export, that uses the standard kernel of the vendor-OS (vmlinuz). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@884 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for removing an export (from disk and config-DB)Oliver Tappe2007-04-021-60/+117
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@855 95ad53e4-c205-0410-b2fa-d234c58c8868
* * default name of export is now the same as the vendor-os-name. The type ↵Oliver Tappe2007-04-011-3/+5
| | | | | | | | | separates different exports, anyway. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@843 95ad53e4-c205-0410-b2fa-d234c58c8868
* * inserted correct copyright headerOliver Tappe2007-03-231-3/+10
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@813 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for creating NBD-Squashfs exports. However, we currently ↵Oliver Tappe2007-03-231-2/+2
| | | | | | | | | | | take a detour via copying the whole tree with rsync, in order to apply the filters. We currently have to do this since Vito's patch (while being accepted) has not yet been applied to mksquashfs by its author (Phillip Lougher). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@806 95ad53e4-c205-0410-b2fa-d234c58c8868
* * export backend is now capable of exporting just any distributionOliver Tappe2007-03-231-32/+24Star
| | | | | | | * added specializations for Gentoo, Fedora, Debian and Ubuntu git-svn-id: http://svn.openslx.org/svn/openslx/trunk@803 95ad53e4-c205-0410-b2fa-d234c58c8868
* * corrected bug with export-type not being added to DB correctlyOliver Tappe2007-03-231-1/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@798 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed nbd-squashfs from the supported export types, as long as it is not ↵Oliver Tappe2007-03-161-2/+2
| | | | | | yet supported git-svn-id: http://svn.openslx.org/svn/openslx/trunk@776 95ad53e4-c205-0410-b2fa-d234c58c8868
* * largish overhaul, changed ConfigDB to be object-oriented (could be ↵Oliver Tappe2007-03-151-25/+21Star
| | | | | | | | | | | improved, though!) * slxos-setup, slxos-export, slxconfig and slxconfig-demuxer can now be run one after the other in order to get a complete setup * still problems when trying to boot that system here, need to investigate... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@774 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed 'nbd' from supported export types as I have learned from Dirk ↵Oliver Tappe2007-03-141-2/+0Star
| | | | | | | | | yesterday that it simply doesn't make sense. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@773 95ad53e4-c205-0410-b2fa-d234c58c8868
* * applied several fixed to svnos-export and respective modules (as reported ↵Oliver Tappe2007-03-141-0/+4
| | | | | | by Dirk) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@772 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added distro specific part for os-export and put default export-filter thereOliver Tappe2007-03-121-2/+58
| | | | | | | | * the export filter is now built from the parts provided by us (in the distro-module) and the optional export-filter.local file (for which we provide an example) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@761 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added slxos-export script and the corresponding engine and exporter ↵Oliver Tappe2007-03-121-0/+174
implementation for NFS. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@760 95ad53e4-c205-0410-b2fa-d234c58c8868