-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John Meyer wrote:
I've been wondering if it is possible to create a repository out of a directory you have downloaded rpms into, and if so, how.
Hi John
Use "createrepo", it's the easiest option.
The only parameter it needs is the name of the directory where the RPM
files are located. It will recursively hunt for RPMs and create a
"repodata" subdirectory (that's a "rpm-md" aka "yum" repository, you can
use it with yast2, zmd, zypper, smart, yum, and recent versions of apt-rpm).
e.g.:
cd ~/my/rpms
createrepo .
Then add ~/my/rpms as the location of the repository.
NB: createrepo is in the package... "createrepo" ;)
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\