How to install all packages at once?
Scenario: Automated installs of SLES10 from a repository with "CD1" etc, installdir given as http://<...>/os_sles10_x8664/CD1 We're trying to run some chroot scripts, which according to the docs are run after all packages are installed. Unfortunately, that's not correct - some packages (from other CDs) are installed after boot (with no further interaction, even). And one of those packages is needed for the post script. In order to work around this.... * Is there a way to make it behave like one would expect: install all packages before booting? Yast knows about the repositories containing CD2-4. * alternatively, is there a way to make autoyast run the chroot script when it actually has installed all the packages instead of when it currently does it? (before the boot) Or failing that, is there an easy way to create a "DVD"-repository from the CDs, to work around this behaviour? The repository docs only mentions how to create it from CDs. -- Trond Eivind Glomsrød Technical Manager Scali - www.scali.com Scaling the Linux Datacenter
On Friday 28 July 2006 12:01, Trond Eivind Glomsrød wrote:
Scenario: Automated installs of SLES10 from a repository with "CD1" etc, installdir given as http://<...>/os_sles10_x8664/CD1
We're trying to run some chroot scripts, which according to the docs are run after all packages are installed.
hmm. That's a bug in the documentation. chroot scripts run before the first reboot. Not after all packages are installed.
Unfortunately, that's not correct - some packages (from other CDs) are installed after boot
right
In order to work around this....
* Is there a way to make it behave like one would expect: install all packages before booting?
you have to change the directory layout from CDx to one directory with all RPMs in it (like a DVD installation). Then all packages are installed before the first reboot.
alternatively, is there a way to make autoyast run the chroot script when it actually has installed all the packages instead of when it currently does it? (before the boot)
no but a post-script would run after all packages are installed. So maybe a post-script is a solution for you. If your script MUST run before the reboot, then you have to change the layout of your installation server. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany Business: http://www.suse.de/~ug now playing :Wumpscut: - Pest
participants (2)
-
Trond Eivind Glomsrød
-
Uwe Gansert