summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSExport
Commit message (Collapse)AuthorAgeFilesLines
...
* * fixed bug in used-count handling for exports that caused the image toOliver Tappe2007-06-201-1/+1
| | | | | | | be deleted no matter how many block devices used it * beautified list of exported vendor-OSes (slxos-export list-ex) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1183 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for creating the squashfs only if the vendor-OS has beenOliver Tappe2007-06-201-75/+92
| | | | | | | | changed since the last export. 'Changed' in this context means that the vendor-OS has been re-installed, updated, re-cloned or had a chrooted shell invoked. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1182 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed another oversight of recent commitOliver Tappe2007-06-201-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1180 95ad53e4-c205-0410-b2fa-d234c58c8868
* * split export type into filesystem and (optional) blockdevice, closingOliver Tappe2007-06-208-290/+624
| | | | | | | 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-173-5/+6
| | | | | | | | | | | | | | | | | | | | * 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-073-3/+4
| | | | | | 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-294-59/+56Star
| | | | | | | | | | 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
* * (hopefully) fixed problem with respect to wget repeatedly failing withOliver Tappe2007-05-291-1/+2
| | | | | | | | | | | | | | 'files exists' errors under some circumstances: we now simply remove that file and try again * renamed 'export-filter.local' to 'export-filter' and 'clone-filter.local' to 'clone-filter' * completed example files for clone-filter and export-filter for all distros * split distro-info in two parts: the static, shared part (now living in /opt/openslx/share) and the configurable part living in /etc/opt/openslx. This is the last part of settings file related changes, closing ticket#122 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1106 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fix of non-functional SuSE9.3, putting checked code to branch ...Dirk von Suchodoletz2007-05-141-1/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1080 95ad53e4-c205-0410-b2fa-d234c58c8868
* * simplified declaration of base classes via 'use base'Oliver Tappe2007-05-138-24/+24
| | | | | | | * simplified checking for correct API-version of modules git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1072 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added utility function followLink() and made use of itOliver Tappe2007-05-131-15/+24
| | | | | | | * reworked search for required kernel modules to be able to return the matching paths to the caller (not currently used though) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1069 95ad53e4-c205-0410-b2fa-d234c58c8868
* Switched default behaviour to late_dm="yes" (to avoid keyboard troublesDirk von Suchodoletz2007-05-121-1/+0Star
| | | | | | | in X with SuSE clients). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1053 95ad53e4-c205-0410-b2fa-d234c58c8868
* Aggregated exclude list of files for stage2 for all SuSE versions.Dirk von Suchodoletz2007-05-121-3/+8
| | | | | | | Added/updated config and function files for Debian distros. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1052 95ad53e4-c205-0410-b2fa-d234c58c8868
* The rootfilesystem has to be exported "no_root_squash" otherwise certainDirk von Suchodoletz2007-05-081-1/+1
| | | | | | | files are not accessible on the client. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1031 95ad53e4-c205-0410-b2fa-d234c58c8868
* Change in exclude list (do not know exactly if proper place ... becauseDirk von Suchodoletz2007-05-081-0/+2
| | | | | | | | only needed for systems with older Xorg versions (pre *.so driver files)) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1028 95ad53e4-c205-0410-b2fa-d234c58c8868
* * reworked construction of export-URI to be delegated into the respectiveOliver Tappe2007-05-074-3/+49
| | | | | | | | 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-064-0/+28
| | | | | | | * 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-063-21/+53
| | | | | | | | | | 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
* * improved mechanism used for locating the required kernel modules such that ↵Oliver Tappe2007-05-011-2/+39
| | | | | | | | | | it correctly handles the case of a module being linked into a newer kernel via weak-update. Closes ticket #119. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@972 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
* "Fix" for slxos-setup export system nbd-squash (to be checked) ...Dirk von Suchodoletz2007-04-171-0/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@909 95ad53e4-c205-0410-b2fa-d234c58c8868
* * activated check for required modules in slxos-export, such that you can ↵Oliver Tappe2007-04-153-5/+12
| | | | | | | | | | 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
* * added hook for checking the requirements of a specific export type (for ↵Oliver Tappe2007-04-142-0/+27
| | | | | | | | | NBD-squash, we look for the kernel modules). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@889 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 missing folder creation, found by DirkOliver Tappe2007-04-021-0/+8
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@856 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for removing an export (from disk and config-DB)Oliver Tappe2007-04-024-104/+177
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@855 95ad53e4-c205-0410-b2fa-d234c58c8868
* Trivial fix to match the nbd-server help output in hint ...Dirk von Suchodoletz2007-04-021-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@853 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
* * added yum- & smart-folders to the filterOliver Tappe2007-03-293-0/+6
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@837 95ad53e4-c205-0410-b2fa-d234c58c8868
* * now that (thanks to Vito's patch) mksquashfs has more versatile filtering, ↵Oliver Tappe2007-03-291-6/+57
| | | | | | | | | we no longer take the detour via rsync, but use mksquashfs directly. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@836 95ad53e4-c205-0410-b2fa-d234c58c8868
* * inserted correct copyright headerOliver Tappe2007-03-2311-42/+111
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@813 95ad53e4-c205-0410-b2fa-d234c58c8868
* Tribute to new VMware version 6 ...Dirk von Suchodoletz2007-03-232-0/+4
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@807 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for creating NBD-Squashfs exports. However, we currently ↵Oliver Tappe2007-03-234-50/+137
| | | | | | | | | | | 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-237-44/+280
| | | | | | | * 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-152-27/+23Star
| | | | | | | | | | | 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-142-2/+15
| | | | | | by Dirk) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@772 95ad53e4-c205-0410-b2fa-d234c58c8868
* * corrected assumption that rsync filters follow a best-match strategy to a ↵Oliver Tappe2007-03-142-54/+52Star
| | | | | | | | | first-match strategy and adjusted the default filter accordingly git-svn-id: http://svn.openslx.org/svn/openslx/trunk@767 95ad53e4-c205-0410-b2fa-d234c58c8868
* * moved the clone-filter around to make it actually work again.Oliver Tappe2007-03-132-48/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@763 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added distro specific part for os-export and put default export-filter thereOliver Tappe2007-03-125-21/+277
| | | | | | | | * 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-123-0/+340
implementation for NFS. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@760 95ad53e4-c205-0410-b2fa-d234c58c8868