
Lars Ellenberg wrote:
Looks nice! But I have a little problem: It seems that you can only use ftp/http/rsync server to load the patches from. A (nfs) directory like in /etc/suseservers (dir://<directory>) doesn't seem to work.
You can mount the directory containing the patches to /var/cache/fou4s/packages (or set RpmDir in /etc/fou4s.conf)
better: MNTPOINT=/var/cache/fou4s/packages/localdir mkdir $MNTPOINT mount #something# $MNTPOINT or LOCALDIR=<<directory>> ln -s $DIR /var/cache/fou4s/packages/${LOCALDIR##*/}
that way you can have both remote (which will get wget/rsync'ed) or local dirs (which just happen to be there).
I tried both. They only work if I have a "server" entry in the config file. Maybe I'm just too blind to see it. I have a directory /net/linux/updates/suse91/i386/update/9.1/ containing the normal entries (mirror): dice:/var/cache/fou4s # ls /net/linux/updates/suse91/i386/update/9.1/ . .. misc patches patches.obsolete rpm scripts What exactly do I have to set as RpmDir in /etc/fou4s.conf? Thanks Andreas -- | Andreas Haupt | E-Mail: andreas.haupt@hmi.de | Hahn-Meitner-Institut (DN) | WWW: | Glienicker Straße 100 | Phone: +49/30/8062-2597 | 14109 Berlin | Fax: +49/30/8062-2096