summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-05-04 16:40:06 +0000
committerErik Troan <ewt@redhat.com>1999-05-04 16:40:06 +0000
commit2453dbf26185b884cbe47716c84ce8859452b066 (patch)
treef5c9bc6a59009d3ec0c8afda391b0e9e1f5a0823 /image.py
parentdd9da1b73f090cf8a66c6354450d845c1a9dd288 (diff)
downloadanaconda-2453dbf26185b884cbe47716c84ce8859452b066.tar.gz
anaconda-2453dbf26185b884cbe47716c84ce8859452b066.tar.xz
anaconda-2453dbf26185b884cbe47716c84ce8859452b066.zip
integrated image stuff into todo
Diffstat (limited to 'image.py')
-rw-r--r--image.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/image.py b/image.py
index 8177e4363..1ddd3d1d2 100644
--- a/image.py
+++ b/image.py
@@ -1,11 +1,15 @@
# Install method for disk image installs (CD & NFS)
import rpm
+from comps import ComponentSet
class InstallMethod:
+ def readComps(self, hdlist):
+ return ComponentSet('i386', self.tree + '/RedHat/base/comps', hdlist)
+
def getFilename(self, h):
- return self.tree + "/" + "RedHat/RPMS/" + h[1000000]
+ return self.tree + "/RedHat/RPMS/" + h[1000000]
def readHeaders(self):
return rpm.readHeaderList(self.tree + "/RedHat/base/hdlist")