[opensuse-autoinstall] best way to install "own" rpms
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. -- i.A. Ralf Prengel Customer Care Manager Comline AG Hauert 8 D-44227 Dortmund/Germany Fon +49231 97575- 904 Fax +49231 97575- 905 EMail ralf.prengel@comline.de www.comline.de Vorstand Stephan Schilling, Erwin Leonhardi Aufsichtsrat Dr. Franz Schoser (Vorsitzender) HR Dortmund B 14570 USt.-ID-Nr. DE 124727422 -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Ralf Prengel wrote:
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
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 -- Darin Perusich Unix Systems Administrator Cognigen Corporation 395 Youngs Rd. Williamsville, NY 14221 Phone: 716-633-3463 Email: darinper@cognigencorp.com -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
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@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (3)
-
Darin Perusich
-
Hans-Joachim Ehlers
-
Ralf Prengel