summaryrefslogtreecommitdiffstats
path: root/installer
Commit message (Collapse)AuthorAgeFilesLines
* Allow Mandriva systems to inherit the BASEURL.Lars Müller2007-01-211-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@637 95ad53e4-c205-0410-b2fa-d234c58c8868
* Add support for Mandrica 2007.0.Lars Müller2007-01-213-1/+112
| | | | | | | | | | | | | | | | | | | | Mandriva uses urpmi to make the life with RPM easier. Therfore we have to add support for this meta packager too. The initial bootstrap works already. The install of the rpm package spits warni9ngs about missing user and group rpm. As the pre script has the required call to /usr/share/rpm-helper/add-user and the userer and the group are there after the system is bootstraped. This is a minor problem as the ownership falls back to root and all rpm calls run as root at the moment. Unfortunately my local Mandriva mirror doesn't have the media_info sub dirs yet. Therefore I was not able to test if the call to urpmi.addmedia works. This is used to setup the available installation medias. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@636 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fix spelling.Lars Müller2007-01-211-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@635 95ad53e4-c205-0410-b2fa-d234c58c8868
* Set META_PACKAGER if SLX_META_PACKAGER is not set from a settings file.Lars Müller2007-01-218-64/+87
| | | | | | | | | | | | | | We now use yum by default for SUSE and Fedora systems. Move the packages of required by the meta packager to the end of the SLX_BASE_BOOTSTRAP_PACKAGES list. This might alow us to easily split them of to a separat list later. Remove smart and add yum to the package lists of suse101 and opensuse102 systems. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@634 95ad53e4-c205-0410-b2fa-d234c58c8868
* Add SLX_BASE_BOOTSTRAP_PREREQ_PACKAGES to settings for RPM based systemsLars Müller2007-01-204-14/+105
| | | | | | | | | | | | | | | | | | | | where we have to cheat. In the particular case of SUSE Linux 9.3 the suse-build-key uses mktemp but does not have mktemp in the prerequired list of packages. Therefore the call to rpm with all packages returns non zero as the postinstall scriptlet of the suse-build-key failed. To ensure a clean system we delete the just built RPM database and inklude the BOOTSTRAP_PREREQ_PACKAGES with the install of all other packages. Add the list of SUSE Linux 9.3 package to bootstrap the basic system. Unfortunately smart nor yum is included in the vanilla SUSE Linux 9.3. Therefore we're not yet able to install or update packages from the configured installation sources. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@633 95ad53e4-c205-0410-b2fa-d234c58c8868
* Revert accidently checkin part of rev 625.Lars Müller2007-01-201-2/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@632 95ad53e4-c205-0410-b2fa-d234c58c8868
* Store the return code and pass it on error to the error messageLars Müller2007-01-201-1/+2
| | | | | | | function. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@631 95ad53e4-c205-0410-b2fa-d234c58c8868
* Remove obsoleted variables from settings files.Lars Müller2007-01-205-10/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@630 95ad53e4-c205-0410-b2fa-d234c58c8868
* * moved basic perl modules into new 'lib' folder in order to make them availableOliver Tappe2007-01-141-3/+4
| | | | | | | to other parts than the config-db git-svn-id: http://svn.openslx.org/svn/openslx/trunk@625 95ad53e4-c205-0410-b2fa-d234c58c8868
* Remove superfluous settings.Lars Müller2007-01-121-6/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@620 95ad53e4-c205-0410-b2fa-d234c58c8868
* Add native Debian systems (sarge and etch) to the bootstrapable systems.Lars Müller2007-01-125-7/+35
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@619 95ad53e4-c205-0410-b2fa-d234c58c8868
* Remove superfluous audit-libs package from systems suse10[01].Lars Müller2007-01-124-6/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@618 95ad53e4-c205-0410-b2fa-d234c58c8868
* No longer use SLX_SYSTEM_VARIANTNAME in this prototype code.Lars Müller2007-01-101-9/+8Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@616 95ad53e4-c205-0410-b2fa-d234c58c8868
* Create *-x86_64 system directories and modified setting files.Lars Müller2007-01-1020-0/+653
| | | | | | | | This is only required for RPM based systems. Ubuntu should be happy as soon as the stage1a is working well on x86_64. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@615 95ad53e4-c205-0410-b2fa-d234c58c8868
* Remove no longer used functions. These are obsoleted by the busyboxLars Müller2007-01-101-215/+0Star
| | | | | | | approach. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@614 95ad53e4-c205-0410-b2fa-d234c58c8868
* Check return code of debootstrap and exit in this case of an error fromLars Müller2007-01-101-1/+4
| | | | | | | slxossetup. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@613 95ad53e4-c205-0410-b2fa-d234c58c8868
* Revert most of the changes made with rev 607.Lars Müller2007-01-106-362/+328Star
| | | | | | | | | | | There are to may extra tweaks required if we'd like to guess the correct full path name. Therefore we'll use instead per system one separat file for any supported architecture per. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@612 95ad53e4-c205-0410-b2fa-d234c58c8868
* As our original filename does not end with .rpm we have to check if thisLars Müller2007-01-101-1/+2
| | | | | | | | | | | is a .deb file and do nothing and in the other case add the required suffix. This is a bit dirty as we have to construct this different as soon as we have a third package format beside RPM and DEB. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@608 95ad53e4-c205-0410-b2fa-d234c58c8868
* Add support to install x86_86 systems.Lars Müller2007-01-096-340/+389
| | | | | | | | As long as SLX_INSTALL_ARCH is not set for a system slxossetup uses the architecture of the hosting system. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@607 95ad53e4-c205-0410-b2fa-d234c58c8868
* Only use the packages which are part of SLX_BASE_PREREQ_PACKAGES orLars Müller2007-01-091-3/+15
| | | | | | | SLX_BASE_BOOTSTRAP_PACKAGES. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@606 95ad53e4-c205-0410-b2fa-d234c58c8868
* Do not call rpm ... *.rpm. Intead collect the list of package from theLars Müller2007-01-091-3/+6
| | | | | | | | | | download dir. Then call rpm with this package list. This fixes the problem seen by Dirk as soon as the dir from where slxossetup was called contained one or more files ending with *.rpm. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@605 95ad53e4-c205-0410-b2fa-d234c58c8868
* Ensure that we don't add a superfluous space and later do not detect ifLars Müller2007-01-091-1/+2
| | | | | | | the packagelist is empty. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@603 95ad53e4-c205-0410-b2fa-d234c58c8868
* Add missing '1' char.Lars Müller2007-01-081-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@602 95ad53e4-c205-0410-b2fa-d234c58c8868
* Use ftp-1.gwdg.de as default for Fedora 6. ftp.gwdg.de does not haveLars Müller2007-01-081-2/+2
| | | | | | | Fedora. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@601 95ad53e4-c205-0410-b2fa-d234c58c8868
* Add SLX_BOOTSTRAP_FAIL_WGET. This allows us to tolerate failing wgetLars Müller2007-01-073-3/+25
| | | | | | | | | | | | | | calls in the bootstrap environment. This is required as the SUSE Linux 10.1 exits in two different flavors. The Genral Availability (GA) and the remastert version. Till now we did all testing with the remastered CDs. Therefore we failed as soon as we tired to use the version available from openSUSE.org. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@599 95ad53e4-c205-0410-b2fa-d234c58c8868
* Rename install mode to bootstrap and add install-selection mode. ThisLars Müller2007-01-071-4/+5
| | | | | | | | allow us to test the installation with the meta packager separatly without bootstrapping every time. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@596 95ad53e4-c205-0410-b2fa-d234c58c8868
* Also set LC_ALL=POSIX in the install case.Lars Müller2007-01-071-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@595 95ad53e4-c205-0410-b2fa-d234c58c8868
* Add SLX_META_PACKAGER feature to set the used meta packager per system.Lars Müller2007-01-073-14/+109
| | | | | | | | | | | This for example allows us to use YUM instead of smart in cases where smart is not available. Update the configuration for the SUSE Linux 10.0 system and add the required information to support the new bootstrap technique. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@594 95ad53e4-c205-0410-b2fa-d234c58c8868
* We also have to fake mtab to make RPM happy.Lars Müller2007-01-071-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@593 95ad53e4-c205-0410-b2fa-d234c58c8868
* Modify configuration for Fedora 6 to work with the new busybox basedLars Müller2007-01-073-19/+137
| | | | | | | | | | | | | | | concept. The BASEURL for fedora6update is by intention in single ticks as this allows us to be more flexible with $releasever and $basearch. All the changes are tested with x86 32-bit systems only. With the current implementation we'll run into trouble with x64_64. As Fedora does not ship smart we use yum as meta packager. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@592 95ad53e4-c205-0410-b2fa-d234c58c8868
* Busybox compiled for x86_64 (tested on 64bit SuSE9.3, 10.0 and DebianDirk von Suchodoletz2007-01-061-1/+4
| | | | | | | Sarge) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@591 95ad53e4-c205-0410-b2fa-d234c58c8868
* Add slxbootstrap used by busybox.Lars Müller2007-01-061-0/+66
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@589 95ad53e4-c205-0410-b2fa-d234c58c8868
* Start to use busybox to bootstrap the stage1 systems.Lars Müller2007-01-066-31/+478
| | | | | | | | | | | The configuration is slightly extended as we have to provide for RPM based systems a detailed package list. As soon as the base system including smart is installed we're able to use smart to install additional packages. Then we no longer have to provide detailed package information. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@588 95ad53e4-c205-0410-b2fa-d234c58c8868
* Cleanup of exclude files for system clone and stage1-to-stage2 copy ...Dirk von Suchodoletz2007-01-067-103/+4Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@587 95ad53e4-c205-0410-b2fa-d234c58c8868
* How to use local installation sources (busybox httpd), see InstallerNeuDirk von Suchodoletz2007-01-051-0/+23
| | | | | | | too ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@585 95ad53e4-c205-0410-b2fa-d234c58c8868
* Add missing parantheses.Lars Müller2007-01-011-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@582 95ad53e4-c205-0410-b2fa-d234c58c8868
* We no longer have to use the _main suffix for SLX_INST_SOURCE* as weLars Müller2006-12-192-2/+2
| | | | | | | | have the global SLX_INST_SOURCE_DISTRIBUTION to identify the used Debian distribution for bootstrapping. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@576 95ad53e4-c205-0410-b2fa-d234c58c8868
* Allow to set the priority of an installation source.Lars Müller2006-12-193-4/+16
| | | | | | | | | | Add distribution to the global settings. This allows us to reuse the distribution for an installation source in settings.local. This is usefull if we have a local installation source - e.g. a DVD - which contains most but not all required parts. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@575 95ad53e4-c205-0410-b2fa-d234c58c8868
* Use cp -pr instead of cp -a as we might not have GNU cp.Lars Müller2006-12-191-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@574 95ad53e4-c205-0410-b2fa-d234c58c8868
* Check if BOOTSTRAP_PATH is set. Else we might run in trouble on DebianLars Müller2006-12-181-1/+1
| | | | | | | based systems if slxossetup is used. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@573 95ad53e4-c205-0410-b2fa-d234c58c8868
* Use debootstrap to bootstrap Debian based systems.Lars Müller2006-12-182-5/+27
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@572 95ad53e4-c205-0410-b2fa-d234c58c8868
* Collecting the list of packages after the download allows us to installLars Müller2006-12-181-3/+9
| | | | | | | | | | more than one prerequired package. Only change to the SLX_STAGE1_PATH directory if the packaging tool requires it. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@571 95ad53e4-c205-0410-b2fa-d234c58c8868
* Add support to save more than downloaded prerequired RPM files.Lars Müller2006-12-181-1/+7
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@570 95ad53e4-c205-0410-b2fa-d234c58c8868
* Reorder case statememnts and add one indent level.Lars Müller2006-12-181-10/+10
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@569 95ad53e4-c205-0410-b2fa-d234c58c8868
* Allow download of multiple prerequired packages.Lars Müller2006-12-181-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@568 95ad53e4-c205-0410-b2fa-d234c58c8868
* Allow install_prereq_packages to handle debs.Lars Müller2006-12-181-3/+13
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@567 95ad53e4-c205-0410-b2fa-d234c58c8868
* Move installation of prerequired files and packages to separateLars Müller2006-12-181-59/+70
| | | | | | | functions. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@565 95ad53e4-c205-0410-b2fa-d234c58c8868
* Move settings.local to settings.local.example.Lars Müller2006-12-171-0/+0
| | | | | | | The .example file do not influnce the behaviour of slxossetup. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@563 95ad53e4-c205-0410-b2fa-d234c58c8868
* Move settings.local to settings.local.example.Lars Müller2006-12-174-0/+0
| | | | | | | The .example file do not influnce the behaviour of slxossetup. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@562 95ad53e4-c205-0410-b2fa-d234c58c8868
* Check for required smart binary.Lars Müller2006-12-171-0/+7
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@561 95ad53e4-c205-0410-b2fa-d234c58c8868