Adding a local YaST repo

Adding a local package repository to be used by YaST is straightforward.

  1. Create and populate the directory tree:
    mkdir -p /srv/suse/RPMS/{i586,i686,x86_64,noarch}
  2. Generate the RPM header information using createrepo (from the package with the same name):
    createrepo /srv/suse/RPMS
  3. Digitally sign the header file:
    cd /srv/suse/RPMS/repodata && gpg -a --detach-sign repomd.xml
  4. Add as an installation source in YaST:
    /usr/bin/zypper service-add -t YUM /srv/suse/RPMS/ repo-alias

Comments

Popular posts from this blog

Pull files off Android phone