imgcreate/live.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit a4bc51e6ba18aef36a866ef14b324723fdc2ba01
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Sun Nov 16 19:55:14 2008 -0500
Fix up --base-on (#471656)
diff --git a/imgcreate/live.py b/imgcreate/live.py
index 362d68a..fb1f917 100644
--- a/imgcreate/live.py
+++ b/imgcreate/live.py
@@ -131,7 +131,7 @@ class LiveImageCreatorBase(LoopImageCreator):
#
def _base_on(self, base_on):
"""helper function to extract ext3 file system from a live CD ISO"""
- isoloop = Mount(LoopbackDisk(base_on), self._mkdtemp())
+ isoloop = DiskMount(LoopbackDisk(base_on, 0), self._mkdtemp())
try:
isoloop.mount()
@@ -145,7 +145,7 @@ class LiveImageCreatorBase(LoopImageCreator):
else:
squashimg = isoloop.mountdir + "/LiveOS/squashfs.img"
- squashloop = Mount(LoopbackDisk(squashimg), self._mkdtemp(), "squashfs")
+ squashloop = DiskMount(LoopbackDisk(squashimg, 0), self._mkdtemp(), "squashfs")
try:
if not squashloop.disk.exists():