summaryrefslogtreecommitdiffstats
path: root/installer
Commit message (Collapse)AuthorAgeFilesLines
* * cmdline options are now collected in a hash instead of individual variables,Oliver Tappe2008-02-092-31/+14Star
| | | | | | as this is much clearer git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1527 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added the contents of the following dirs to the exclude filter, sinceOliver Tappe2008-02-067-4/+36
| | | | | | | | | | | | | they do not make sense in the export: /media /mnt /proc /sys /tmp * added --delete-excluded to the rsync options in order to clean up anything that had been copied before git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1518 95ad53e4-c205-0410-b2fa-d234c58c8868
* Added /dev/urandom in chroot (slxos-setup shell ...)Volker Uhrig2008-02-061-1/+6
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1517 95ad53e4-c205-0410-b2fa-d234c58c8868
* * switched config-demuxer over to internal generation of initramfsOliver Tappe2008-02-021-0/+801
| | | | | | * obsoleted mkdxsinitrd git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1511 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support to the OSExport engine for determining theOliver Tappe2008-01-226-2/+40
| | | | | | | | | 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
* * requiredFSMods() now returns an array instead of a flattenedOliver Tappe2008-01-162-2/+2
| | | | | | list (string) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1479 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added implementation for zypper meta-packager (untested yet)Oliver Tappe2008-01-091-0/+95
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1457 95ad53e4-c205-0410-b2fa-d234c58c8868
* * changed (and hopefully improved) fix for locale-problems thatOliver Tappe2008-01-072-4/+4
| | | | | | | lead to strange characters being used when invoking any script with the '--man' option. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1445 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Fixed problem with invocation of debootstrap that caused it to failOliver Tappe2008-01-021-2/+2
| | | | | | | | downloading *some* Debian-packages, which in turn caused the whole process to fail. I do not precisely understand why, but invoking debootstrap via '.' instead of a second ash process fixes the problem. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1439 95ad53e4-c205-0410-b2fa-d234c58c8868
* cleaned up installation code in several ways:Oliver Tappe2007-12-305-34/+12Star
| | | | | | | | | | | | | | | | | | | | | * Removed some inconsistencies with respect to the separation of prereq- and bootstrap-packages, such that now all packages are being installed properly into the final system (the prereq packages have to installed twice for this). Before, the prereq packages were being installed without their scripts ever being run. While I haven't noticed a specific bug caused by this, the mere possibility seemed a good enough cause to change this. * added a default /etc/hosts file to all distros, as otherwise the lookup of localhost is flaky (at best) * fixed a multiple inclusion bug when expanding the packages of a selection * improved and clarified structure of selections: + now there is always a 'minimal' selection, on which most others are based + the default selection is now merely a different name for some other selection (currently, minimal or textmode, later this should probably be gnome or kde). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1438 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
* * when setting up the resolver for stage1a, we now copy nsswitch.conf fromOliver Tappe2007-11-291-1/+2
| | | | | | | the host system, too, as otherwise the resolver would not work on a opensuse-10.3 host (so nothing can be installed). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1411 95ad53e4-c205-0410-b2fa-d234c58c8868
* Cleanup, (empty) files for new Ubuntu 7.10 ...Dirk von Suchodoletz2007-10-191-0/+6
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1389 95ad53e4-c205-0410-b2fa-d234c58c8868
* Proper mount options for NFS/scratch ... Skip some files for SUSE exports.Dirk von Suchodoletz2007-10-141-0/+6
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1381 95ad53e4-c205-0410-b2fa-d234c58c8868
* Tried out new SuSE10.3 ... worked after just changing X settings forDirk von Suchodoletz2007-10-111-0/+1
| | | | | | | | keyboard (from deprecated value "keyboard" to "kbd" - should not even harm older systems) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1373 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed problems with respect to installation of prerequired packagesOliver Tappe2007-09-265-6/+120
| | | | | | | | | | * added support for setting the root-password: + slxos-setup now queries for the root-password + 'busybox cryptpw' is used to determine the hashed password as required by the specific distribution (MD5 or Blowfish) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1349 95ad53e4-c205-0410-b2fa-d234c58c8868
* * reverted changeset 1347, as installPrerequiredPackages() *should* have beenOliver Tappe2007-09-252-1/+21
| | | | | | | used (as installing the packages via installPackages() does not work for debian-based distros) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1348 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed installPrerequiredPackages(), as it is no longer usedOliver Tappe2007-09-242-21/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1347 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support to apt backend for integrating a specialOliver Tappe2007-08-291-0/+7
| | | | | | | | | | | | slx debconf database (a textfile) that can be used to provide default values for some packages that otherwise ask the user during instllation. * added a debconf defaults database for debian-3.1 which shuts up the installation process for that distro by providing default settings for the 'locales' package. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1329 95ad53e4-c205-0410-b2fa-d234c58c8868
* Hope it's OK that way to add upcoming SuSE10.3 to the list ofDirk von Suchodoletz2007-08-281-2/+8
| | | | | | | | "supported" OS ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1326 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed small bug that introduced an unnecessary prompt during installationOliver Tappe2007-08-232-2/+2
| | | | | | | | of Debian-3.1 and made use of the meta-packager when installing the initrd-tools (as it's cleaner that way). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1325 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed problem reported by Dirk that caused debian-3.1Oliver Tappe2007-08-212-4/+9
| | | | | | | installations to fail during first try (but work when retrying). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1324 95ad53e4-c205-0410-b2fa-d234c58c8868
* * switched from perl-based distro-configuration files to "real" configurationOliver Tappe2007-08-1519-4623/+361Star
| | | | | | | | | | | | | | | | | | | | | files (handled by Config::General) * removed most version specific distribution modules (only Debian-3.1 remains as it requires some special treatment). For all the other distributions, the specific info is now contained in the configuration files * added configuration files (settings.default) for every supported distribution (only Fedora is still missing some info) * added support for inclusion of (externally generated) mirror lists and automatic selection of the five best (fastest) mirrors from that list (20 are tried). For each repository, a mirror configuration file is created (in /etc/opt/openslx/distro-info/<distro>/mirrors/<repo>) after that info has been gathered. * added current mirror lists for each distribution repository to the distro-info hierarchy * updated settings.example to reflect new configuration syntax git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1322 95ad53e4-c205-0410-b2fa-d234c58c8868
* Proper mapping of vmware virtual SVGA ...Dirk von Suchodoletz2007-08-081-0/+4
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1320 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added 64-bit targets for Ubuntu 6.10, 7.04 and Debian 4.0 (3.1 doesOliver Tappe2007-08-057-20/+326
| | | | | | | | not officially support the amd64 architecture) * Debian-4.0_amd64 is now the OpenSLX build platform for 64-bit git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1318 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added OpenSLX build platform as explicit selection to Debian-3.1Oliver Tappe2007-08-031-0/+8
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1314 95ad53e4-c205-0410-b2fa-d234c58c8868
* * finished support for installation of Debian & Ubuntu. Things seem to beOliver Tappe2007-08-038-2/+185
| | | | | | | | working more or less fine now. Some systems I have tested do not boot into the graphical environment automatically, but that may be a problem in stage3 (as manually invoking gdm works). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1313 95ad53e4-c205-0410-b2fa-d234c58c8868
* * 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
* * dropped our own implementation of glob() - that was a fix at the wrong place.Oliver Tappe2007-07-222-4/+6
| | | | | | We now explicitly ecode the string before we are printing it. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1271 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
* * base work towards utf8-cleanness (it is now possible to handle vendor-OSesOliver Tappe2007-07-212-2/+2
| | | | | | | | | whose name contain UTF8-characters * fixed problem with locale-specific number format being used during DB- creation (fixes the problem that database access would only work once for de_DE-locales [reported by Detlef Schulz]) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1266 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
* * some cleanup - we now make use of here-docs where feasibleOliver Tappe2007-07-182-25/+32
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1252 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
* Completed list of AUTHORS. Updated pxelinux to v3.51 which fixes atDirk von Suchodoletz2007-07-185-0/+0
| | | | | | | | least booting from a flaky asrock/realtek PXE implementation ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1245 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed a couple of 'use of uninitialized values' reported by DirkOliver Tappe2007-07-182-2/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1244 95ad53e4-c205-0410-b2fa-d234c58c8868
* Removed late_dm option (too confusing and too little effect), small fixDirk von Suchodoletz2007-07-141-6/+2Star
| | | | | | | for Ubuntu functions-default, added "binfinder" function. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1242 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