Adding a local YaST repo
Adding a local package repository to be used by YaST is straightforward.
- Create and populate the directory tree:
mkdir -p /srv/suse/RPMS/{i586,i686,x86_64,noarch} - Generate the RPM header information using
createrepo(from the package with the same name):
createrepo /srv/suse/RPMS
- Digitally sign the header file:
cd /srv/suse/RPMS/repodata && gpg -a --detach-sign repomd.xml
- Add as an installation source in YaST:
/usr/bin/zypper service-add -t YUM /srv/suse/RPMS/ repo-alias
Comments
Post a Comment