Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   Change test Python script sample from mkisofs to genisoimage (http://www.linux-archive.org/gentoo-user/524334-change-test-python-script-sample-mkisofs-genisoimage.html)

Ryan Finnie 05-10-2011 12:38 AM

Change test Python script sample from mkisofs to genisoimage
 
Fedora (as well as all Debian-based distros) currently ships with
cdrkit by default, so use genisoimage natively to create the sample ISO
for testing.

Signed-off-by: Ryan Finnie <ryan@finnie.org>
---
testpyisomd5sum.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/testpyisomd5sum.py b/testpyisomd5sum.py
index 6f79830..c20f582 100755
--- a/testpyisomd5sum.py
+++ b/testpyisomd5sum.py
@@ -4,7 +4,7 @@ import os
import pyisomd5sum

# create iso file
-os.system("mkisofs -quiet . > testiso.iso")
+os.system("genisoimage -quiet . > testiso.iso")

# implant it
print "Implanting -> ", pyisomd5sum.implantisomd5sum("testiso.iso", 1, 0)
--
1.5.6.5

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 07:04 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.