SDB:Howto add Directories into YaST as an Installation Source

From openSUSE


Version: 10.1

Howto add Directories into YaST as an Installation Source

Situation

You have your own patch files on the drive but you could not add the directory as a source into the YaST Installation Source. It always says: "unable to create installation source"

Procedure

You can use the command:

createrepo

to make your own repositories.

Example: You have a directory

/tmp/myownpackages/10.1/ with the usual subdirectories:

i586/ nosrc/ src/ x86_64/

The subdirectories contain the usual rpm, noscr.rpm and scr.rpm files.

To create the metadata just run the command

createrepo /tmp/myownpackages/10.1/

You could now add the source into the YaST installation source as a directory.


Very Important! You have to install Createrepo from the DVD. It is not on the CD-Roms.