COT.helpers.mkisofs module

Give COT access to mkisofs, genisoimage, or xorriso for creating ISO images.

http://cdrecord.org/ https://www.gnu.org/software/xorriso/

class MkIsoFS[source]

Bases: COT.helpers.helper.Helper

Helper provider for mkisofs, genisoimage, or xorriso.

http://cdrecord.org/ https://www.gnu.org/software/xorriso/

Methods

install_helper Install mkisofs, genisoimage, or xorriso.
create_iso Create a new ISO image at the requested location.
create_iso(file_path, contents)[source]

Create a new ISO image at the requested location.

Parameters:
  • file_path (str) – Desired location of new disk image
  • contents (list) – List of file paths to package into the created image.
install_helper()[source]

Install mkisofs, genisoimage, or xorriso.

name

Either mkisofs, genisoimage, or xorriso depending on environment.

path

Find mkisofs, genisoimage, or xorriso if available.