Skip to content

Draft: scripts: update xorrisofs parameter -volid to --volset

Jingyun Hua requested to merge huajingyun01/aports:script-dev into master

When creating a standard iso for loongarch64 based on the v3.21.0_rc1 tag, I received the following error:

>>> mkimage-loongarch64: Creating alpine-standard-v3.21.0_rc1-loongarch64.iso
xorriso 1.5.6 : RockRidge filesystem manipulator, libburnia project.

xorriso : NOTE : Environment variable SOURCE_DATE_EPOCH encountered with value 1733103889
xorriso : FAILURE : -volid: Text too long (34 > 32)

Apparently it was longer than 32 characters, so I tried updating -volid to --volset and created an iso for it without any problems, and the iso worked fine.

Related parameter reference:

-V text Set the Volume Id of the ISO image. xorriso accepts any text up to 32 characters, but according to rarely obeyed specs stricter rules apply: Conformant are ASCII characters out of [A-Z0-9_]. Like: "IMAGE_23" Joliet allows 16 UCS-2 characters. Like: "Windows name" Be aware that the volume id might get used automatically as name of the mount point when the medium is inserted into a playful computer system.
 -volid text
          Alias of -V.

   -volset text
          Set the Volume Set Id of the ISO image.  Permissible are up to 128 characters.

Thanks!

Merge request reports

Loading