summaryrefslogtreecommitdiffstats
path: root/installer
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add basic support for Ubuntu 6.10. The setup works but the installLars Müller2006-12-172-13/+65
| | | | | | | | | | | | | | | fails. To save us from repeating the BASEURL and COMPONENTS setting we're now able to share 'global' settings across channels. This is required for a Debian based system as they use the same BASEURL. Currently it's only possible to define BASEURL or COMPONENTS global. It's still possible to overwrite any setting for a particular channel. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@560 95ad53e4-c205-0410-b2fa-d234c58c8868
* Only try to copy from prereqfiles if the directory exists.Lars Müller2006-12-171-3/+5
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@559 95ad53e4-c205-0410-b2fa-d234c58c8868
* Add a default repo type in slxossetup and remove any repo type which isLars Müller2006-12-176-6/+6
| | | | | | | identical to the default from the settings files. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@558 95ad53e4-c205-0410-b2fa-d234c58c8868
* Config files from the prerequired packages - which must be presentLars Müller2006-12-161-0/+5
| | | | | | | | | | before the package is installed by RPM - are installed by RPM with a .rpmnew suffix. With this loop we move any of these file to the right name. As result we get a clean rpm -V output even for prerequired packages and don't longer stay withj superfluous extra files. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@557 95ad53e4-c205-0410-b2fa-d234c58c8868
* Use a prereqfiles sub directory instead of the BASE_FILE_ hack.Lars Müller2006-12-1618-20/+28
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@556 95ad53e4-c205-0410-b2fa-d234c58c8868
* Always prefix SLX_STAGE1_PATH if we cleanup the chroot.Lars Müller2006-12-161-3/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@555 95ad53e4-c205-0410-b2fa-d234c58c8868
* Add SLX_INSTALL_BIND_MOUNT and SLX_INSTALL_FAKE_FILE to make the FedoraLars Müller2006-12-162-0/+24
| | | | | | | | | | | kernel RPM happy while installation. For Fedora we mount -o bind /sys into the stage1 chroot. We touch /etc/fstab which is enumerated in SLX_INSTALL_FAKE_FILE. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@554 95ad53e4-c205-0410-b2fa-d234c58c8868
* Support Fedora 6.Lars Müller2006-12-167-37/+86
| | | | | | | | | | Add SLX_BASE_PREREQ_CLEANUP_PATH to control which pathes are cleaned up after the prerequired packages are unpacked. Ensure we have to download any prerequired package else skip this part. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@553 95ad53e4-c205-0410-b2fa-d234c58c8868
* Move YAST_IS_RUNNING define to the place where we're able to devideLars Müller2006-12-161-5/+6
| | | | | | | between different OS vendors. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@552 95ad53e4-c205-0410-b2fa-d234c58c8868
* Use a temp dir to download the prerequired packages. If we can't createLars Müller2006-12-151-4/+21
| | | | | | | | | | a temp dir fallback to the default packages dir. If we've used a temp dir move the packages to the default packages dir to prevent superfluous downloads of the same packages. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@550 95ad53e4-c205-0410-b2fa-d234c58c8868
* Remove bogus extra " in front of the file name.Lars Müller2006-12-151-2/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@548 95ad53e4-c205-0410-b2fa-d234c58c8868
* Only unpack the packages we have in SLX_BASE_PREREQ_PACKAGES. Here isLars Müller2006-12-151-2/+3
| | | | | | | | | still the race if we have package foo in the list of required packages but hhave foo-1.2.3...rpm and foo-devel-1.2.3...rpm in smarts packages directory. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@547 95ad53e4-c205-0410-b2fa-d234c58c8868
* Allow to use a systems directory from the current working directory. ByLars Müller2006-12-151-1/+8
| | | | | | | this we're able to call slxossetup the subversion tree. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@546 95ad53e4-c205-0410-b2fa-d234c58c8868
* Add settings and settings.local example for SUSE Linux 9.3.Lars Müller2006-12-155-0/+82
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@544 95ad53e4-c205-0410-b2fa-d234c58c8868
* Use correct update tree in the default settings file.Lars Müller2006-12-151-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@542 95ad53e4-c205-0410-b2fa-d234c58c8868
* Use right update tree.Lars Müller2006-12-151-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@541 95ad53e4-c205-0410-b2fa-d234c58c8868
* Add settings and settings.local example for SUSE Linux 10.0.Lars Müller2006-12-155-0/+89
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@540 95ad53e4-c205-0410-b2fa-d234c58c8868
* Add SUSE Linux 10.1 configuration.Lars Müller2006-12-155-0/+90
| | | | | | | Ther're no big differences to the one from openSUSE 10.2. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@539 95ad53e4-c205-0410-b2fa-d234c58c8868
* Add example how to use a second local SLX_INSTALL_PACKAGES_ variable.Lars Müller2006-12-151-0/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@538 95ad53e4-c205-0410-b2fa-d234c58c8868
* slxossetup is a prototype of an OS setup script. At the momentLars Müller2006-12-157-0/+240
| | | | | | | | | | | | | | | slxossetup is able to install openSUSE 10.2 from any installation source useable by smart. See the example from systems/opensuse102/settings. This file is intended to be installed as the default. As with the config demuxer we're able to apply local settings in settings.local. As I did not find a way to create base files out of shell variables I added a hack to copy template files. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@537 95ad53e4-c205-0410-b2fa-d234c58c8868
* First steps to include (open)SuSE10.2 into SLX environment (see #98). Tried ↵Dirk von Suchodoletz2006-12-142-0/+3
| | | | | | | | | to fix the /dev/nvidia* permissions (failed, see #92 too)... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@534 95ad53e4-c205-0410-b2fa-d234c58c8868