Smart 1.4 is out!
Anders F Björklund
afb at algonet.se
Wed Apr 27 00:22:14 PDT 2011
Steve Kelem wrote:
> Antenore Gatta said the following on 04/01/2011 08:39 AM:
>> smart -o sync-yum-repos=true
> When I try that (with smart 1.3.1) I get:
> Usage: smart command [options] [arguments]
You'll need to give a command, like:
smart -o sync-yum-repos=true update
If you want to make options "stick" around,
you use the config command instead like so:
smart config --set sync-yum-repos=true
But normally, the sync option would be used
by the "distro" and enabled already in the
packaging like the APT-sync plugin already
is for the Debian/Ubuntu packaging (the deb):
# /usr/lib/smart/distro.py
if not sysconf.getReadOnly():
if not sysconf.has("sync-apt-sources"):
sysconf.set("sync-apt-sources", True, weak=True)
Could do the same with "sync-yum-repos" in
Fedora, if not wanting to use the channelsync
plugin and the "smart-config" package like now:
https://bugzilla.redhat.com/show_bug.cgi?id=253184
That would also upgrade the Fedora smart config,
from the current "13.89" to the actual "14"...
(it's always broken, with every release since 8)
https://bugzilla.redhat.com/show_bug.cgi?id=651067
--anders
More information about the Smart
mailing list