Added -joliet "on" to xorriso run in merge_debian_isos

This commit is contained in:
Thomas Schmitt 2023-04-14 18:20:33 +02:00
parent d0ff0a381a
commit ad1b9bfe03
6 changed files with 51 additions and 15 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# Copyright 2022 Thomas Schmitt <scdbackup@gmx.net> , libburnia project. # Copyright 2022-2023 Thomas Schmitt <scdbackup@gmx.net> , libburnia project.
# Provided under BSD license: Use, modify, and distribute as you like. # Provided under BSD license: Use, modify, and distribute as you like.
# This obtrusive setting shall make the script safe against exotic locales. # This obtrusive setting shall make the script safe against exotic locales.
@ -13,12 +13,12 @@ usage() {
echo "mount_template1 to mount_templateN, if not already mounted that way." >&2 echo "mount_template1 to mount_templateN, if not already mounted that way." >&2
echo "Then the Debian pools and package lists get merged and a new" >&2 echo "Then the Debian pools and package lists get merged and a new" >&2
echo "ISO 9660 image result_iso is produced. If iso1 is bootable then" >&2 echo "ISO 9660 image result_iso is produced. If iso1 is bootable then" >&2
echo "then the new image will be bootable by the same means." >&2 echo "the new image will be bootable by the same means." >&2
echo >&2 echo >&2
echo "The file depicted by result_iso must not yet exist or has to be a" >&2 echo "The file depicted by result_iso must not yet exist or has to be a" >&2
echo "device which is acceptable for Linux-specific helper script" >&2 echo "device which is acceptable for Linux-specific helper script" >&2
echo "xorriso-dd-target. If xorriso-dd-target agrees and the user" >&2 echo "xorriso-dd-target. If xorriso-dd-target agrees and the user" >&2
echo 'confirms by input "yes" then xoriso will be run under sudo.' >&2 echo 'confirms by input "yes" then xorriso will be run under sudo.' >&2
echo 'Exempted from this evaluation are addresses which begin by "mmc:"' >&2 echo 'Exempted from this evaluation are addresses which begin by "mmc:"' >&2
echo 'for an optical drive on Linux, BSDs, Solaris, or by "stdio:/dev/"' >&2 echo 'for an optical drive on Linux, BSDs, Solaris, or by "stdio:/dev/"' >&2
echo 'for which the user takes full and dangerous responsibility.' >&2 echo 'for which the user takes full and dangerous responsibility.' >&2
@ -1116,6 +1116,7 @@ if $XORRISO_SUDO "$XORRISO" \
-stdio_sync "$XORRISO_STDIO_SYNC" \ -stdio_sync "$XORRISO_STDIO_SYNC" \
-padding included \ -padding included \
-stream_recording on \ -stream_recording on \
-joliet on \
-compliance no_emul_toc -compliance no_emul_toc
then then
# Revoke mark for possible removal by cleanup # Revoke mark for possible removal by cleanup

View File

@ -122,6 +122,16 @@ Directory ./merge_mount/ will be created if not yet existing.
merge_debian_isos merged.iso merge_mount/iso \\ merge_debian_isos merged.iso merge_mount/iso \\
debian\-11.2.0\-amd64\-DVD\-[12345].iso debian\-11.2.0\-amd64\-DVD\-[12345].iso
.br
Expect to see some harmless warnings like
.br
xorriso : WARNING : \-volid text does not comply to ISO 9660 / ECMA 119 rules
libisofs: WARNING : Cannot add /debian to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Image size exceeds 1024 cylinders. Cannot align partition.
.SS .SS
.B Use GNU xorriso instead of installed xorriso .B Use GNU xorriso instead of installed xorriso
merge_debian_isos will refuse to work if the installed version of xorriso merge_debian_isos will refuse to work if the installed version of xorriso

View File

@ -115,6 +115,19 @@ Directory ./merge_mount/ will be created if not yet existing.
merge_debian_isos merged.iso merge_mount/iso \ merge_debian_isos merged.iso merge_mount/iso \
debian-11.2.0-amd64-DVD-[12345].iso debian-11.2.0-amd64-DVD-[12345].iso
Expect to see some harmless warnings like
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA
119 rules
libisofs: WARNING : Cannot add /debian to Joliet tree. Symlinks can
only be added to a Rock Ridge tree.
libisofs: WARNING : Image size exceeds 1024 cylinders. Cannot align
partition.
 
File: merge_debian_isos.info, Node: ExXorriso, Next: ExOptical, Prev: ExPlain, Up: Examples File: merge_debian_isos.info, Node: ExXorriso, Next: ExOptical, Prev: ExPlain, Up: Examples
@ -331,16 +344,16 @@ Node: Overview1014
Node: Options3381 Node: Options3381
Node: Examples3771 Node: Examples3771
Node: ExPlain4196 Node: ExPlain4196
Node: ExXorriso4548 Node: ExXorriso4870
Node: ExOptical5342 Node: ExOptical5664
Node: ExDdTarget6126 Node: ExDdTarget6448
Node: ExStdio7649 Node: ExStdio7971
Node: Files8561 Node: Files8883
Node: Environ8717 Node: Environ9039
Node: Seealso9782 Node: Seealso10104
Node: Bugreport9931 Node: Bugreport10253
Node: Legal10516 Node: Legal10838
Node: CommandIdx11344 Node: CommandIdx11666
Node: ConceptIdx11491 Node: ConceptIdx11813
 
End Tag Table End Tag Table

Binary file not shown.

View File

@ -220,6 +220,18 @@ Directory ./merge_mount/ will be created if not yet existing.
merge_debian_isos merged.iso merge_mount/iso \ merge_debian_isos merged.iso merge_mount/iso \
debian-11.2.0-amd64-DVD-[12345].iso debian-11.2.0-amd64-DVD-[12345].iso
@*
@sp 1
Expect to see some harmless warnings like
@*
@sp 1
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
libisofs: WARNING : Cannot add /debian to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Image size exceeds 1024 cylinders. Cannot align partition.
@c man .SS @c man .SS
@c man .B Use GNU xorriso instead of installed xorriso @c man .B Use GNU xorriso instead of installed xorriso
@node ExXorriso, ExOptical, ExPlain, Examples @node ExXorriso, ExOptical, ExPlain, Examples

View File

@ -1 +1 @@
#define Xorriso_timestamP "2023.03.19.153432" #define Xorriso_timestamP "2023.04.14.161945"