[Ilug-cal-discuss] YUMPack generator.

Debarshi 'Rishi' Ray debarshi.ray at gmail.com
Fri Apr 6 17:27:33 EDT 2007


http://glug-nith.org/~rishi/download/src/rum.sh

The above is a BASH script to create offline YUMPacks that would
enable installation or update of a specific package on a standalone
machine.

Right now the script downloads all the given package and all its
dependencies into a directory, generates the meta-data needed by YUM
and creates a couple of tarballs out of this. Work remains to be done
on these fronts:
a. Recursively check for dependencies. ie. if A has dependency B, and
B has dependency C, then get all three of them. Currently only A and B
are obtained.
b. Selectively download only those dependencies that are missing in
the standalone machine.
c. Install or upgrade from the created tarball.

How to use:
$ ./rum.sh exaile

You might like to tweak some of the variables in the script for fun.

Dependencies:
a. yum
b. createrepo
c. yum-utils
d. tar
e. coreutils

Regards,
Debarshi
-- 
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu


More information about the Ilug-cal-discuss mailing list