Mailinglist Archive: opensuse-autoinstall (50 mails)

< Previous Next >
Re: [opensuse-autoinstall] best way to install "own" rpms
  • From: "Hans-Joachim Ehlers" <HansJoachim.Ehlers@xxxxxxxxxxxx>
  • Date: Fri, 30 May 2008 15:02:51 +0200
  • Message-id: <4840170C.8350.00AE.3@xxxxxxxxxxxx>
Is there a best way ?

I use the following approach:
Having
- a suse installation repository build form the origianl DVD .
- - Additional a mirror for Updates and/or other repositories ( like Packman )
- a self build YUM repository for self created rpms.

The base system itself is build from the original suse dvd images with
autoyast. After the initial installation a script runs to:
- add/remove additional repos
- add/remove/update software packages
- Do additional configuration to the system

Thus the basic system is easily installed with autoyast. I will have no problem
during the base installation with self repositories and other stuff.
The configuration script can easily be extended to support further
customization like nfs mounts and other stuff.


Further information:
* Create Yast installation Sources:
http://en.opensuse.org/Creating_YaST_Installation_Sources
* Add repositories to Yast:
http://en.opensuse.org/Add_Package_Repositories_to_YaST
Example: zypper sa http://myserver/opensuse103/x86addon "Self build
packages for OpenSuse 10.3 32bit "

* Stage 2 client configuration with AYAST
http://www.suse.de/~ug/tools/ayast_setup.ycp
* Unattened execution of yast
Example
...
## Run Stage 2 Yast configuration for stuff forgotten/changed in the initial
configuration
export TERM=vt100
cd /tmp
for i in ntp.xml dns.xml ; do
wget --no-clobber http://reposerver:${basedir}/autoinstall/classes/$i
screen -D -m yast /usr/share/YaST2/clients/ayast_setup.ycp setup
filename=/tmp/$i
done
cd -

cheers
Hajo


--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
References