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 Desktop 10
Situation
Resolution
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 | |
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
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com