diff options
author | Bill Nottingham <notting@redhat.com> | 2004-03-05 19:17:39 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-03-05 19:17:39 +0000 |
commit | 57b85ff689790b663b9b13b6b02f49a36bdd7d44 (patch) | |
tree | 802b4c49793513a540d8a1745e3b1369ee9d0fef /packages.py | |
parent | f2ae036638851637b3447f40c63aeffd446cc559 (diff) | |
download | anaconda-57b85ff689790b663b9b13b6b02f49a36bdd7d44.tar.gz anaconda-57b85ff689790b663b9b13b6b02f49a36bdd7d44.tar.xz anaconda-57b85ff689790b663b9b13b6b02f49a36bdd7d44.zip |
various other foo.o -> foo.ko conversions
Diffstat (limited to 'packages.py')
-rw-r--r-- | packages.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages.py b/packages.py index 433410358..5bae58327 100644 --- a/packages.py +++ b/packages.py @@ -1316,10 +1316,10 @@ def copyExtraModules(instPath, grpset, extraModules): pkg = "kernel-%s" %(tag,) arch = grpset.hdrlist[pkg][rpm.RPMTAG_ARCH] # version 1 path - pattern = pattern + " %s/%s/%s.o " % (n, arch, name) + pattern = pattern + " %s/%s/%s.ko " % (n, arch, name) # version 0 path - pattern = pattern + " %s/%s.o " % (n, name) - names = names + " %s.o" % (name,) + pattern = pattern + " %s/%s.ko " % (n, name) + names = names + " %s.ko" % (name,) command = ("cd %s/lib/modules; gunzip < %s | " "%s/bin/cpio --quiet -iumd %s" % (instPath, path, instPath, pattern)) @@ -1334,7 +1334,7 @@ def copyExtraModules(instPath, grpset, extraModules): toDir = "%s/lib/modules/%s/updates" % \ (instPath, n) - to = "%s/%s.o" % (toDir, name) + to = "%s/%s.ko" % (toDir, name) if (os.path.isdir("%s/lib/modules/%s" %(instPath, n)) and not os.path.isdir("%s/lib/modules/%s/updates" %(instPath, n))): @@ -1343,7 +1343,7 @@ def copyExtraModules(instPath, grpset, extraModules): continue arch = grpset.hdrlist[pkg][rpm.RPMTAG_ARCH] - for p in ("%s/%s.o" %(arch, name), "%s.o" %(name,)): + for p in ("%s/%s.ko" %(arch, name), "%s.ko" %(name,)): fromFile = "%s/lib/modules/%s/%s" % (instPath, n, p) if (os.access(fromFile, os.R_OK)): |