Hallo,
what is the best way to manage and install own rpm-collections. My idea: 1) saving the rpms in an own repo 2) adding this repo while autoyast is installing the system 3) installing the packages after the basic-system is ready using a script
My idea is that an own rep gives me the chance to manage updates for these packages too.
Thanks for hints and ideas.
Ralf Prengel wrote:
Hallo,
what is the best way to manage and install own rpm-collections. My idea:
saving the rpms in an own repo 2) adding this repo while autoyast is installing the system 3) installing the packages after the basic-system is ready using a script
Create your own package repository and then you can add it with yast or zypper and use said tools for managing those packages. If you have an install server create a file called add_on_products in the base directory of the installation source which points to your other repositories.
add_on_products: http://192.168.0.100/suse/10.3/updates http://192.168.0.100/suse/10.3/non-oss http://192.168.0.100/suse/10.3/my-repo
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:$%7Bbasedir%7D/autoinstall/classes/$i screen -D -m yast /usr/share/YaST2/clients/ayast_setup.ycp setup filename=/tmp/$i done cd -
cheers Hajo
autoinstall@lists.opensuse.org