logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

[patch 1/3] Enable yum plugins: msg#00007

Subject: [patch 1/3] Enable yum plugins
Enable plugins so that we can use the priorities plugin

This might not be the best idea - e.g. just because you enable
and configure a plugin doesn't mean you want to change the
behaviour of pungi.

Possible alternatives:

 - add some way to make yum load a specific plugin with a
   specific configuration
 - add the code for handling repo priorities into pungi
 - add the code for handling repo priorities into yum itself

Note, it would most likely make sense for e.g. anaconda and
livecd-creator to also handle priorities, so this isn't just
and issue for pungi

Signed-off-by: Mark McLoughlin <markmc@xxxxxxxxxx>

Index: pungi/pypungi/gather.py
===================================================================
--- pungi.orig/pypungi/gather.py
+++ pungi/pypungi/gather.py
@@ -81,6 +81,9 @@ class Gather(vpro.pypungi.PungiBase):
         yumvars['basearch'] = 
yum.rpmUtils.arch.getBaseArch(myarch=self.config.get('default', 'arch'))
         yumconf.yumvar = yumvars
         self.ayum._conf = yumconf
+        self.ayum.doPluginSetup(plugin_types = (yum.plugins.TYPE_CORE, ),
+                                searchpath = 
yum.config.StartupConf.pluginpath.default,
+                                confpath = 
yum.config.StartupConf.pluginconfpath.default)
         self.ayum.repos.setCacheDir(self.ayum.conf.cachedir)
 
         self.ayum.cleanMetadata() # clean metadata that might be in the cache 
from previous runs

-- 



Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.firebase.por...    text.xml.xalan....    qnx.openqnx.dev...    user-groups.zar...    internationaliz...    kde.devel.konve...    finance.e-gold....    emacs.latex.pre...    gis.therion/200...    web.webmin.gene...    yellowdog.gener...    vserver/2003-08...    redhat.release....    sysutils.tivoli...    xfree86.expert/...    mail.becky.user...    hardware.netapp...    netbsd.ports.xe...    python.distutil...    boot-loaders.gr...    culture.interne...    java.springfram...    activedir/2006-...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe