summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX
Commit message (Collapse)AuthorAgeFilesLines
...
* * fixed problem reported by Bastian about pickKernelFile not correctly beingOliver Tappe2007-07-318-23/+102
| | | | | | | | used (turned out to be a problem when loading the distro-module for clone-only distributions) * cleaned up the distro module structure while looking at it git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1293 95ad53e4-c205-0410-b2fa-d234c58c8868
* * more work towards Debian & Ubuntu support, Debian-4.0, Ubuntu-6.10Oliver Tappe2007-07-306-13/+116
| | | | | | | & Ubuntu-7.04 seem to be working ok, now. Only Debian-3.1 refuses to install any kernel, tsk! git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1283 95ad53e4-c205-0410-b2fa-d234c58c8868
* * finished installation support for Debian-etch, Debian-sarge and UbuntuOliver Tappe2007-07-2814-105/+140
| | | | | | | are nearly done (Ubuntu still missing a kernel ...) * some more refactorings to accommodate Debian-support git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1282 95ad53e4-c205-0410-b2fa-d234c58c8868
* * changed several class interfaces as a result of trying to integrate supportOliver Tappe2007-07-289-131/+180
| | | | | | | | for Debian & Ubunto installation (which is still not complete, though) * fixed some bugs along the way (especially the meta-packagers trying to invoke a private function of OpenSLX::OSSetup::Engine) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1281 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed two incorrect method calls (using public name instead of private one),Oliver Tappe2007-07-261-2/+2
| | | | | | reported by Detlef Schulz git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1277 95ad53e4-c205-0410-b2fa-d234c58c8868
* * reworked OpenSLX::OSSetup::Distro structure to incorporateOliver Tappe2007-07-2518-383/+546
| | | | | | | | | | | | | | a distro specific hierarchy level in addition to the distro & version specific files. The latter will be converted to config-files soon. * moved string2Array() and chrootInto() from OpenSLX::OSSetup::Engine to OpenSLX::Utils to make them available to other callers * started work on ubuntu & debian installation (not done yet) * cleaned interface of OpenSLX::OSSetup::Engine (separated public from private methods) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1275 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bug in check for required kernel modules for distros that do notOliver Tappe2007-07-253-46/+87
| | | | | | | provide a vmlinuz-link (reported by Detlef Schulz) * filled void requirements check for NFS git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1274 95ad53e4-c205-0410-b2fa-d234c58c8868
* * minor cleanup (two uninit values)Oliver Tappe2007-07-211-1/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1267 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for automatic selection of most appropriate (newest) kernelOliver Tappe2007-07-202-0/+32
| | | | | | | | | | | | if the kernel file specified by DB (in most cases: vmlinuz) does not exist. A warning will be printed by slxconfig-demuxer if the kernel had to be picked this way. This should allow slxconfig-demuxer to work for ubuntu & debian, as those do not always provide a vmlinuz-link (and in general this change makes the system more robust). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1265 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
* * fixed (another) problem when trying to import a vendor-OS that isn't fullyOliver Tappe2007-07-201-8/+13
| | | | | | | supported (which can only be cloned). This time, things work not only for Debian (for which empty Distro-modules exist), but for *all* distributions. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1263 95ad53e4-c205-0410-b2fa-d234c58c8868
* * replaces most occurrences of confess() with croak(), as that is less noisy.Oliver Tappe2007-07-186-6/+4Star
| | | | | | | Confess()-ing can still be triggered by specifying --debug-confess on the commandline. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1249 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed one more use of an uninitialzed valueOliver Tappe2007-07-181-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1247 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed two bugs that inhibited the importing of vendor-OSes that are notOliver Tappe2007-07-181-8/+24
| | | | | | fully supported yet (i.e. that were cloned). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1246 95ad53e4-c205-0410-b2fa-d234c58c8868
* * more work towards perlcritic compliance, fixed the low-hanging fruit Oliver Tappe2007-07-1027-10/+116
| | | | | | for level 4 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1234 95ad53e4-c205-0410-b2fa-d234c58c8868
* * revitalised local URLsOliver Tappe2007-07-073-10/+17
| | | | | | | * simplified format of local URLs to consist of only a path * adjusted meta-packagers to use mirrors only in case of non-local URLs git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1232 95ad53e4-c205-0410-b2fa-d234c58c8868
* * modified default selection to (roughly) match the SUSE textmode installationOliver Tappe2007-07-072-2/+370
| | | | | | (minus a couple of packages that do not make sense in our environment) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1231 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for os-plugins:Oliver Tappe2007-07-031-1/+49
| | | | | | | | | | | | + added script slxos-plugin, which must be invoked to install a plugin into a vendor-OS + added handling of plugins to slxconfig-demuxer + added folder structure for plugins (below 'os-plugins') + implemented one simple plugin, called 'Example' which contains a couple of hints how to write own plugins git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1220 95ad53e4-c205-0410-b2fa-d234c58c8868
* * activated 'use warnings' to all modules and adjusted all occurences ofOliver Tappe2007-07-0130-505/+628
| | | | | | | '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
* Tried to add Ubuntu 7.04 to the list of cloneable systems.Dirk von Suchodoletz2007-07-011-0/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1206 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed double slash in export path (rootfs)Oliver Tappe2007-06-281-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1195 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed problem with some lame shells not supporting {a,b,c} constructs,Oliver Tappe2007-06-214-24/+18Star
| | | | | | reported by Dirk git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1185 95ad53e4-c205-0410-b2fa-d234c58c8868
* * 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-202-75/+108
| | | | | | | | 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-2010-364/+698
| | | | | | | ticket#139 * code-reformatting with perltidy git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1176 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for invoking a chrooted shell for any installed vendor-OS,Oliver Tappe2007-06-191-0/+37
| | | | | | | in order to simplify doing any manual changes to the vendor-OS. invoke 'slxos-setup shell <vendor-os>' to start the chrooted shell git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1175 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Added glibc-locale in order to allow use of locale-support in targetOliver Tappe2007-06-194-0/+4
| | | | | | | | | | | | | | vendor-OS. Bastian reported a (strange) problem that stopped him from installing packages via 'smart' on a suse-10.2 vendor-OS, as smart would insist on using German messages (although LC_ALL had been set to POSIX!). Adding glibc-locale to the vendor-OS circumvents this problem (as now de_DE.UTF-8 can be used as LC_ALL). However, it would still be interesting to find out just *why* smart is speaking German only on Bastian's system (which is a Gentoo host)... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1174 95ad53e4-c205-0410-b2fa-d234c58c8868
* largish change with respect to configurable paths:Oliver Tappe2007-06-175-12/+13
| | | | | | | | | | | | | | | | | | | | * 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 all warnings indicated by 'perl -w'Oliver Tappe2007-06-131-4/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1162 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
* * added missing glibc-32bit to suse-10.2_x86_64 distro infoOliver Tappe2007-05-301-0/+1
| | | | | | | | | | | | | * fixed bug in mkdxsinitrd regarding all 64-bit distros: we have to drop the x86_64 extension from DISTRO_VERSION as otherwise the distro-specific files aren't found * added missing slxldd call on libpci.so.2 which is required because this library is being copied over manually (and it needs to drag along glibc-32bit on 64-bit distros). this closes ticket#136 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1113 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added missing non-oss repo to suse-10.2_x86_64Oliver Tappe2007-05-301-0/+12
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1112 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-292-26/+44
| | | | | | | | | | | | | | '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
* * part one of settings file related changes (ticket#122): Oliver Tappe2007-05-281-1/+1
| | | | | | | | - 'settings.default' now lives in /opt/openslx/share - 'settings.local' has been renamed to 'settings' git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1103 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for 'local:'-URLs, which trigger the automatic start of a Oliver Tappe2007-05-281-3/+62
| | | | | | | | | | | | busybox-httpd for each repository, through which every request will be routed (thus giving access to files outside of the chroot) * renamed executeInSubprocess() to callInSubprocess() and added a real implementation of executeInSubprocess(), too * updated all settings.local.example files to reflect the new way of accessing local files git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1102 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bug introduced with last commit, package-installation was hosedOliver Tappe2007-05-281-5/+7
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1101 95ad53e4-c205-0410-b2fa-d234c58c8868
* * updated package name for smart, the seemingly strange package that was ↵Oliver Tappe2007-05-281-1/+1
| | | | | | | | used for suse-10.1 now seems to be gone (after updating my local mirror) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1100 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added explicit invocation of 'ldconfig' to all distros, just to make sure ↵Oliver Tappe2007-05-286-3/+7
| | | | | | | | that ld.so.cache is up-to-date after an install or update (clone should be working, too). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1099 95ad53e4-c205-0410-b2fa-d234c58c8868
* * changed meta-packager default for all SUSE distros from 'yum' to 'smart'Oliver Tappe2007-05-284-4/+4
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1098 95ad53e4-c205-0410-b2fa-d234c58c8868
* * before an update, the meta-packager is automatically adjusted to the one ↵Oliver Tappe2007-05-281-4/+18
| | | | | | | | that was used during installation of that specific system git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1097 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed typo: $1 => $!Oliver Tappe2007-05-281-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1096 95ad53e4-c205-0410-b2fa-d234c58c8868
* * integrated mirror support into yum & smart backendOliver Tappe2007-05-284-37/+36Star
| | | | | | | | | | * fixed smart backend with respect to being restarted (it no longer stops, waiting for you to enter an alternative name for any existing channel) * the use of mirrors can now be deactivated with SLX_NO_MIRROR=1, very useful for development git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1095 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed incorrect package name for smart on SUSE-10.1_x86_64Oliver Tappe2007-05-271-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1093 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added packages needed by the smart metapackager backendOliver Tappe2007-05-275-46/+100
| | | | | | | | * split packages required by the different meta-packagers (currently for SUSE only, as other distros do not [yet?] support more than one meta-packager) * tested smart & yum on 32-bit, both work ok git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1092 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support to packager for getting a list of the packages that areOliver Tappe2007-05-183-1/+25
| | | | | | | already installed git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1087 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
* * fixed incorrect execution of chroot with respect to setting up theOliver Tappe2007-05-132-36/+28Star
| | | | | | | | meta-packager repositories: that needs to be done inside the chroot, too * adjusted yum to setup its repository while chrooted git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1075 95ad53e4-c205-0410-b2fa-d234c58c8868