summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-04-29 20:01:07 +0000
committerErik Troan <ewt@redhat.com>1999-04-29 20:01:07 +0000
commita8dda6b7a25fa25185b5a8184305d3472f138d0e (patch)
treef757aebcfb54ca3fdfe3acdc694a97f6f09f0803 /image.py
parente6d461200388d1dc30ffa3f80a88b57de29729e0 (diff)
downloadanaconda-a8dda6b7a25fa25185b5a8184305d3472f138d0e.tar.gz
anaconda-a8dda6b7a25fa25185b5a8184305d3472f138d0e.tar.xz
anaconda-a8dda6b7a25fa25185b5a8184305d3472f138d0e.zip
*** empty log message ***
Diffstat (limited to 'image.py')
-rw-r--r--image.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/image.py b/image.py
new file mode 100644
index 000000000..426c2deb0
--- /dev/null
+++ b/image.py
@@ -0,0 +1,11 @@
+# Install method for disk image installs (CD & NFS)
+
+import rpm
+
+class InstallMethod:
+
+ def readHeaders(self):
+ return rpm.readHeaderList(self.tree + "/RedHat/base/hdlist")
+
+ def __init__(self, tree):
+ self.tree = tree