SUSE Support

Here When You Need Us

Creating an Installation Source to Add Packages During SLE 10 Install

This document (3097654) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Desktop 10

Situation

Packages that were not included in the distribution CDs should be added to a network installation source.

Resolution

The solution in SLE 10 is to create an Add-on installation source to be referenced during installation. To do this, use the following steps:

Adding Additional Packages to Install Source


Task

Comments

Before beginning, create an install source with YaST if one doesn't exist.This only needs to be performed if no network install source is available.

In the following example it is assumed that the installation source is available at /export/install/sles10_xx/CD1/

Adding Packages to Network Install Source

1. Create an update install source directory.

Type the following at a terminal prompt.

create_update_source.sh /export/install/sles10_xx/CD1/

2. Copy update or 3rdparty rpm to the appropriate directory.

Type the following at a terminal prompt.

cp updated.rpm /export/install/sles10_xx/CD1/updates/suse/x86

3. Change directories to the new update source directory.

cd /export/install/sles10_xx/CD1/updates/suse

4. Create package description file for updated rpm.

Type the following at a terminal prompt.

create_package_descr -x setup/descr/EXTRA_PROV

5. create directory.yast file in the setup/descr directory.

Type the following in at a terminal prompt.

cd setup/descr

create_directory.yast .                   #(note the '.' at the end of the command)

6. create a add_on_products file in the sles10_64 install source directory.

Type the following in at a terminal prompt.

cd /export/install/sles10_xx/CD1/

Type the following in all on one line.

echo nfs://inst.src.ip.addr/export/install/sles10_xx/CD1/updates>add_on_products

7. Add the following lines to the appropriate AutoYaST control file or templates.

Allow the installation of unsigned installation sources in the
general section of the autoyast xml file:

   <general>
     <signature-handling>
       <accept_file_without_checksum config:type="boolean">true</accept_file_without_checksum>
       <accept_non_trusted_gpg_key config:type="boolean">false</accept_non_trusted_gpg_key>
       <accept_unknown_gpg_key config:type="boolean">false</accept_unknown_gpg_key>
       <accept_unsigned_file config:type="boolean">true</accept_unsigned_file>
       <accept_verification_failed config:type="boolean">false</accept_verification_failed>
       <import_gpg_key config:type="boolean">false</import_gpg_key>
     </signature-handling>
   </general>

8. Perform AutoYaST install on system using new control file.


If the updated package is a updated package replacing one that is installed based on the packages listed in the autoyast.xml then nothing more needs to be done. Begin install of new system. If you are adding a package that is not an update to an existing package, you will need to add it to the list of packages to be installed. For example if I am installing an updated package called clamav-0.90.1-1.2.i586.rpm I would add the following to the Software section of the autoyast.xml file:

<package>clamav</package>

Once this is completed, start a network install, and when you reach the package selection portion of the install, do a search for the custom package to make sure it appears.




Additional Information


Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:3097654
  • Creation Date: 08-Jan-2008
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.