← Back to team overview

ubuntu-bugcontrol team mailing list archive

[Merge] ubuntu-qa-tools:joilet-long into ubuntu-qa-tools:master

 

Brian Murray has proposed merging ubuntu-qa-tools:joilet-long into ubuntu-qa-tools:master.

Requested reviews:
  Ubuntu Bug Control (ubuntu-bugcontrol)

For more details, see:
https://code.launchpad.net/~ubuntu-bugcontrol/ubuntu-qa-tools/+git/ubuntu-qa-tools/+merge/458557

I was trying to build an Ubuntu server virtual machine using `uvt new jammy amd64 microstack --type server` when I encountered an error. Here are the last bits of the terminal log:

Scanning /tmp/vm-new-setup-hrgi8b4u/dists/jammy/restricted
Scanning /tmp/vm-new-setup-hrgi8b4u/dists/jammy/restricted/binary-i386
Scanning /tmp/vm-new-setup-hrgi8b4u/dists/jammy/restricted/binary-amd64
Scanning /tmp/vm-new-setup-hrgi8b4u/dists/jammy/restricted/source
Scanning /tmp/vm-new-setup-hrgi8b4u/install
Using UBUNTU_SERVER_MINIMAL000.MANIFE;1 for  /tmp/vm-new-setup-hrgi8b4u/casper/ubuntu-server-minimal.ubuntu-server.installer.generic-hwe.manifest (ubuntu-server-minimal.ubuntu-server.installer.generic.manifest)
Using UBUNTU_SERVER_MINIMAL_UBUNT000.;1 for  /tmp/vm-new-setup-hrgi8b4u/casper/ubuntu-server-minimal.ubuntu-server.installer.generic-hwe.squashfs.gpg (ubuntu-server-minimal.ubuntu-server.installer.generic.squashfs.gpg)
Using UBUNTU_SERVER_MINIMAL000.SQUASH;1 for  /tmp/vm-new-setup-hrgi8b4u/casper/ubuntu-server-minimal.ubuntu-server.installer.generic-hwe.squashfs (ubuntu-server-minimal.ubuntu-server.installer.generic.squashfs)
Using UBUNTU_SERVER_MINIMAL_UBU000.SI;1 for  /tmp/vm-new-setup-hrgi8b4u/casper/ubuntu-server-minimal.ubuntu-server.installer.generic-hwe.size (ubuntu-server-minimal.ubuntu-server.installer.generic.size)
genisoimage: Error: /tmp/vm-new-setup-hrgi8b4u/casper/ubuntu-server-minimal.ubuntu-server.installer.generic-hwe.squashfs and /tmp/vm-new-setup-hrgi8b4u/casper/ubuntu-server-minimal.ubuntu-server.installer.generic-hwe.squashfs.gpg have the same Joliet name
Joliet tree sort failed. The -joliet-long switch may help you.

I added the -joliet-long switch and was able to create the image.
-- 
Your team Ubuntu Bug Control is requested to review the proposed merge of ubuntu-qa-tools:joilet-long into ubuntu-qa-tools:master.
diff --git a/vm-tools/uvt b/vm-tools/uvt
index d181047..c43d321 100755
--- a/vm-tools/uvt
+++ b/vm-tools/uvt
@@ -1865,7 +1865,7 @@ def create_preseeded_iso(release_iso, iso_type, vm_name, release,
         mkisofs_cmd += ['-eltorito-alt-boot', '-eboot/grub/efi.img',
                         '-no-emul-boot']
 
-    mkisofs_cmd += ['-v', '-v', '-o', release_iso_preseed_path,
+    mkisofs_cmd += ['-v', '-v', '-joliet-long', '-o', release_iso_preseed_path,
                     temp_dir]
 
     rc, out = runcmd(mkisofs_cmd)

Follow ups