summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
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