Mailinglist Archive: opensuse-autoinstall (28 mails)

< Previous Next >
Re: [opensuse-autoinstall] Problem with updating installation source with new RPMs on OpenSUSE 11.0
  • From: Georg Wallner <Georg.Wallner@xxxxxxxxxxxxxx>
  • Date: Wed, 20 Aug 2008 07:54:24 +0200
  • Message-id: <200808200754.24610.Georg.Wallner@xxxxxxxxxxxxxx>
Hello,
Am Mittwoch, 20. August 2008 03:43:31 schrieb Alan Keng:
Hi,

I am trying to add some RPMs from the oss repositoiy to the AutoYast
installation.

I used the following instructions:

Suppose the source resides in myInstallSource
./create_update_source.sh myInstallSource
cp -a myPackage-x86_64.rpm myInstallSource/updates/suse/x86_64
cd myInstallSource/updates/suse
create_package_descr -x setup/descr/EXTRA_PROV
cd setup/descr
ls > directory.yast
cd ../../..
create_sha1sums -x -n ./

Try also create_sha1sums -x -n .

If it dosn't help, I followed this instruction for my Own Packages:

mkdir -p /installation/repository/OpenSuSE110/ownpackages
cd /installation/repository/OpenSuSE110/ownpackages
mkdir media.1
vi media.1/media (Copy from OpenSuSE repository, changed to my
needs)
vi content (Copy from OpenSuSE repository, changed to my
needs)
mkdir suse
cd suse
mkdir i386 i486 i586 i686 noarch x86_64 tar
ls -A1 > directory.yast
Copy the relevant packages to it's folders

create_package_descr -l german -l english -d suse/
create_sha1sums -x -n ./ (content file unter setup/descr
create_sha1sums -x -n . (für das content file im rootdirectory)

The nfs share is /installation


And added following lines to the control XML file:

<add-on>
<add_on_products config:type="list">
<listentry>
<media_url>nfs://"Server IP"/myInstallSource/updates</media_url>
<media_url>nfs://"ServerIP"/installation/repository/OpenSuSE110/ownpackages/</media_url>
<product>Own Packages</product>
<product_dir>/</product_dir>
<ask_on_error config:type="boolean">false</ask_on_error>

<ask_on_error config:type="boolean">true</ask_on_error>
<product_dir>/</product_dir>
</listentry>
</add_on_products>
</add-on>

looks OK

I also added the following lines between the <general><signature-handling>
… </signature-handling></general> tags:

<signature-handling>
<accept_unsigned_file config:type=”boolean”>true</accept_unsigned_file>
<accept_file_without_checksum
config:type=”boolean”>true</accept_file_without_checksum>
<accept_verification_failed
config:type=”boolean”>true</accept_verification_failed>
<accept_unknown_gpg_key config:type=”boolean”>true</accept_unknown_gpg_key>
<import_gpg_key config:type=”boolean”>true</import_gpg_key>
</signature-handling>
looks OK



I believe I got the NFS server all setup correctly because the control file
is also located on the NFS server.

During the installation, I got the "Add-on is not available via NFS" error:

"Please make the add-on "SuSE-Linux-Updates" available via "nfs://"Server
IP"/myInstallSource/updates"


Any one can help? What went wrong?

Thanks,
Alan

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

< Previous Next >
References