Mailinglist Archive: opensuse-autoinstall (100 mails)
| < Previous | Next > |
Re: [suse-autoinstall] How to install all packages at once?
- From: Uwe Gansert <ug@xxxxxxx>
- Date: Mon, 31 Jul 2006 09:53:15 +0000 (UTC)
- Message-id: <200607311153.14519.ug@xxxxxxx>
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
> 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
| < Previous | Next > |