SCIENTIFIC-LINUX-DEVEL Archives

February 2007

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Troy Dawson <[log in to unmask]>
Reply To:
Troy Dawson <[log in to unmask]>
Date:
Fri, 23 Feb 2007 15:57:43 -0600
Content-Type:
multipart/mixed
Parts/Attachments:
text/plain (3174 bytes) , kernel-module.py (7 kB)
Howdy Ho,
I got the yum kernel module plugin working for both kernel-module and 
kmdl rpm's.  It has two bugs in it, but they aren't fatal, they just 
spew out too much output.

I have tested this to install a kernel-module based package.  I have 
tested this to install a kdml based package.  Both worked great.
I have installed a new kernel, and it correctly got all the 
kernel-modules and kdml's.

If you are curious, here is the output from when I am installing a new 
kernel with both a kernel-module and a kdml already installed.
The madwifi and fuse shown here may or may not be what's in the release. 
  I really just moved these from SL4 and recompiled them.
This is from yum 3.0.3, with the newest yum-metadata-parser.  It's 
really pretty fast compared to older yums.

--------------
# yum install kernel
Loading "kernel-module" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package kernel.i686 0:2.6.18-1.2747.el5 set to be installed
--> Running transaction check
Beginning Kernel Module Plugin
/usr/lib/yum-plugins/kernel-module.py:98: DeprecationWarning: 
getHdrList() will go away in a future version of Yum.

   for hdr in conduit.getRpmDB().getHdrList():
/usr/lib/yum-plugins/kernel-module.py:54: DeprecationWarning: 
getHdrList() will go away in a future version of Yum.

   for hdr in conduit.getRpmDB().getHdrList():
---> Package madwifi-kmdl-2.6.18-1.2747.el5.i686 0:0.9.6.0-2.SL4 set to 
be installed
---> Package madwifi-kmdl-2.6.18-1.2747.el5.i686 0:0.9.6.0-2.SL4 set to 
be installed
---> Package madwifi-kmdl-2.6.18-1.2747.el5.i686 0:0.9.6.0-2.SL4 set to 
be installed
---> Package kernel-module-fuse-2.6.18-1.2747.el5.i686 5:2.6.3-1.SL set 
to be installed
Finished Kernel Module Plugin
--> Populating transaction set with selected packages. Please wait.
---> Package kernel-module-fuse-2.6.18-1.2747.el5.i686 5:2.6.3-1.SL set 
to be updated
---> Package madwifi-kmdl-2.6.18-1.2747.el5.i686 0:0.9.6.0-2.SL4 set to 
be updated
--> Running transaction check

Dependencies Resolved

 ============================================================================
  Package                 Arch       Version          Repository        Size
 ============================================================================
Installing:
  kernel                  i686       2.6.18-1.2747.el5  sl-base 
    13 M
  kernel-module-fuse-2.6.18-1.2747.el5  i686       5:2.6.3-1.SL 
sl-base           213 k
  madwifi-kmdl-2.6.18-1.2747.el5  i686       0.9.6.0-2.SL4    sl-base 
         189 k

Transaction Summary
 ============================================================================
Install      3 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 14 M
Is this ok [y/N]:
------------------------------

By the way, if anyone knows what you're supposed to do for the 
depreciation warning, please let me know.

Thanks
Troy
-- 
__________________________________________________
Troy Dawson  [log in to unmask]  (630)840-6468
Fermilab  ComputingDivision/LCSI/CSI DSS Group
__________________________________________________


ATOM RSS1 RSS2