Mailinglist Archive: opensuse-autoinstall (56 mails)
| < Previous | Next > |
FYI: adding own RPMs to a SLES10 inst. source
- From: Uwe Gansert <ug@xxxxxxx>
- Date: Wed, 19 Apr 2006 09:06:16 +0000 (UTC)
- Message-id: <200604191106.14650.ug@xxxxxxx>
Hi,
here is a small documentation how to add own RPMs to a SLES10/SL10.1
installation source.
To create a tree with RPMs in parallel of your other installation source,
use at least version 20060418 of create_update_source.sh from my SUSE
Homepage (http://www.suse.de/~ug). The latest autoyast2-utils RPM will
contain that script too.
You can find documentation on how to use that script on my homepage.
After you have created the tree with your own RPMS, you have two optionsĀ·
to tell autoyast about that new installation source.
Either in the autoyast profile like this:
> <add-on>
> <add_on_products config:type="list">
> <listentry>
> <media_url>http://192.168.66.1/SLES10/updates</media_url>
> <product>SuSE-Linux-Updates</product>
> <product_dir>/</product_dir>
> </listentry>
> </add_on_products>
> </add-on>
You can do that with the autoyast UI on SLES10/SL10.1 too.
Or another option is to create a file called "add_on_products" on the
main installation source.
So it looks like this (the "updates" directory was created by the script):
> #:/space/SLES10 # tree -L 1
> .
> |-- ARCHIVES.gz
> |-- COPYING
> |-- COPYING.de
> |-- COPYRIGHT
> |-- COPYRIGHT.de
> |-- ChangeLog
> |-- INDEX.gz
> |-- LICENSE.TXT
> |-- NEWS
> |-- README
> |-- README.BETA
> |-- README.BETA.DOS
> |-- README.DOS
> |-- add_on_products
> |-- boot
> |-- content
> |-- control.xml
> |-- directory.yast
> |-- docu
> |-- dosutils
> |-- gpg-pubkey-0dfb3188-41ed929b.asc
> |-- gpg-pubkey-1d061a62-427a396f.asc
> |-- gpg-pubkey-307e3d54-44201d5d.asc
> |-- gpg-pubkey-3d25d3d9-36e12d04.asc
> |-- gpg-pubkey-9c800aca-40d8063e.asc
> |-- ls-lR.gz
> |-- media.1
> |-- pubring.gpg
> |-- suse
> `-- updates
>
> #:/space/SLES10 # cat add_on_products
> http://192.168.66.1/SLES10/updates
With that file on the installation source, you don't need to specify
the additional installation sources in the autoyast profile.
You can mix those two options. So it's possible to specify one
installation source in the autoyast profile and another one in
the "add_on_products"-file.
The "add_on_products"-file is not supported by autoyast in RC1 but will be
with later versions.
I hope that helps.
--
ciao, Uwe Gansert
Uwe Gansert, Server Technologies Team
SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany
e-mail: uwe.gansert@xxxxxxx, Tel: +49-(0)911-74053-0,
Fax: +49-(0)911-74053-476, Web: http://www.suse.de
here is a small documentation how to add own RPMs to a SLES10/SL10.1
installation source.
To create a tree with RPMs in parallel of your other installation source,
use at least version 20060418 of create_update_source.sh from my SUSE
Homepage (http://www.suse.de/~ug). The latest autoyast2-utils RPM will
contain that script too.
You can find documentation on how to use that script on my homepage.
After you have created the tree with your own RPMS, you have two optionsĀ·
to tell autoyast about that new installation source.
Either in the autoyast profile like this:
> <add-on>
> <add_on_products config:type="list">
> <listentry>
> <media_url>http://192.168.66.1/SLES10/updates</media_url>
> <product>SuSE-Linux-Updates</product>
> <product_dir>/</product_dir>
> </listentry>
> </add_on_products>
> </add-on>
You can do that with the autoyast UI on SLES10/SL10.1 too.
Or another option is to create a file called "add_on_products" on the
main installation source.
So it looks like this (the "updates" directory was created by the script):
> #:/space/SLES10 # tree -L 1
> .
> |-- ARCHIVES.gz
> |-- COPYING
> |-- COPYING.de
> |-- COPYRIGHT
> |-- COPYRIGHT.de
> |-- ChangeLog
> |-- INDEX.gz
> |-- LICENSE.TXT
> |-- NEWS
> |-- README
> |-- README.BETA
> |-- README.BETA.DOS
> |-- README.DOS
> |-- add_on_products
> |-- boot
> |-- content
> |-- control.xml
> |-- directory.yast
> |-- docu
> |-- dosutils
> |-- gpg-pubkey-0dfb3188-41ed929b.asc
> |-- gpg-pubkey-1d061a62-427a396f.asc
> |-- gpg-pubkey-307e3d54-44201d5d.asc
> |-- gpg-pubkey-3d25d3d9-36e12d04.asc
> |-- gpg-pubkey-9c800aca-40d8063e.asc
> |-- ls-lR.gz
> |-- media.1
> |-- pubring.gpg
> |-- suse
> `-- updates
>
> #:/space/SLES10 # cat add_on_products
> http://192.168.66.1/SLES10/updates
With that file on the installation source, you don't need to specify
the additional installation sources in the autoyast profile.
You can mix those two options. So it's possible to specify one
installation source in the autoyast profile and another one in
the "add_on_products"-file.
The "add_on_products"-file is not supported by autoyast in RC1 but will be
with later versions.
I hope that helps.
--
ciao, Uwe Gansert
Uwe Gansert, Server Technologies Team
SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany
e-mail: uwe.gansert@xxxxxxx, Tel: +49-(0)911-74053-0,
Fax: +49-(0)911-74053-476, Web: http://www.suse.de
| < Previous | Next > |