libcdio-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libcdio-devel] Rock Ridge and libisofs/xorriso 'AL' extension


From: Pete Batard
Subject: Re: [Libcdio-devel] Rock Ridge and libisofs/xorriso 'AL' extension
Date: Wed, 26 Jul 2017 10:00:57 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 2017.07.25 21:34, Thomas Schmitt wrote:
I added my insight and suspicion now.
Maybe Raphael bothers to show me the code that controls the xorriso run.

Don't know about Raphael, but I certainly can do that now.

That code resides in a /usr/lib/live/build/binary_iso script, that one gets after installing Kali's 'live-build' package (which of course is the parent package one needs to run the scripts we've seen in 'live-build-config'). I've uploaded a copy of that script at [1] (altered to show the full xorriso command line).

And after letting a build process to run overnight, I can also provide a full log of the xorriso pass, with the options being used, attached.

Looks like your suspicion is correct: they are using --hardlinks with mkisofs. And of course, I confirmed that the ISO I got had the same issue as the official Kali ones.

Now, I still fail to see what information is so private about this kind of commandline (and other xorriso invocations) that should preclude it from being stored on the ISO, and thus avoid a lot of time wasted on this exercise. But I guess that's just me:

xorriso -as mkisofs -R -r -J -joliet-long -l -cache-inodes -iso-level 3 -isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin -partition_offset 16 -A Kali Linux -p live-build 1:20170213kali1; http://live-systems.org/devali -V Kali Live --modification-date=2017072602070000 -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table --hardlinks -eltorito-alt-boot --efi-boot boot/grub/efi.img -aary/boot/grub/efi.img -o live-image-amd64.hybrid.iso binary

Regards,

/Pete

[1] http://files.akeo.ie/live-build-config/binary_iso
xorriso -as mkisofs -R -r -J -joliet-long -l -cache-inodes -iso-level 3 
-isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin -partition_offset 16 -A Kali 
Linux -p live-build 1:20170213kali1; http://live-systems.org/devali -V Kali 
Live --modification-date=2017072602070000 -b isolinux/isolinux.bin -c 
isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table --hardlinks 
-eltorito-alt-boot --efi-boot boot/grub/efi.img -aary/boot/grub/efi.img -o 
live-image-amd64.hybrid.iso binary
xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.

Drive current: -outdev 'stdio:live-image-amd64.hybrid.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 4605m free
xorriso : NOTE : -as mkisofs: Ignored option '-cache-inodes'
xorriso : WARNING : -volid text problematic as automatic mount point name
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
Added to ISO image: directory '/'='/binary'
xorriso : UPDATE : 1307 files added in 1 seconds
xorriso : UPDATE : 1307 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 432 bytes from file 
'/usr/lib/ISOLINUX/isohdpfx.bin'
libisofs: WARNING : Cannot add /debian to Joliet tree. Symlinks can only be 
added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /dists/stable to Joliet tree. Symlinks can only 
be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /dists/testing to Joliet tree. Symlinks can only 
be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /dists/unstable to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/amd64-microcode_3.20160316.3_amd64.deb 
to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/atmel-firmware_1.3-4_all.deb to Joliet 
tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/bluez-firmware_1.2-3_all.deb to Joliet 
tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/dahdi-firmware-nonfree_2.11.1-1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-amd-graphics_20170404-0kali1_all.deb to Joliet tree. 
Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-ath9k-htc_1.4.0-81-gf206e56+dfsg-2_all.deb to Joliet tree. 
Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-atheros_20170404-0kali1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/firmware-bnx2_20170404-0kali1_all.deb 
to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/firmware-bnx2x_20170404-0kali1_all.deb 
to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-brcm80211_20170404-0kali1_all.deb to Joliet tree. Symlinks 
can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-cavium_20170404-0kali1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-intel-sound_20170404-0kali1_all.deb to Joliet tree. Symlinks 
can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-intelwimax_20170404-0kali1_all.deb to Joliet tree. Symlinks 
can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-ipw2x00_20170404-0kali1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/firmware-ivtv_20170404-0kali1_all.deb 
to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-iwlwifi_20170404-0kali1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-libertas_20170404-0kali1_all.deb to Joliet tree. Symlinks 
can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/firmware-linux-free_3.4_all.deb to 
Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/firmware-linux_20170404-0kali1_all.deb 
to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-misc-nonfree_20170404-0kali1_all.deb to Joliet tree. 
Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-myricom_20170404-0kali1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-netxen_20170404-0kali1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-qlogic_20170404-0kali1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-realtek_20170404-0kali1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-samsung_20170404-0kali1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/firmware-siano_20170404-0kali1_all.deb 
to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-ti-connectivity_20170404-0kali1_all.deb to Joliet tree. 
Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/firmware-zd1211_1%3a1.5-4_all.deb to 
Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/hdmi2usb-fx2-firmware_0.0.0~git20151225-1_all.deb to Joliet tree. 
Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/intel-microcode_3.20170511.1_amd64.deb 
to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/ixo-usb-jtag_0.0.0+git20160908-1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /debian to Joliet tree. Symlinks can only be 
added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /dists/stable to Joliet tree. Symlinks can only 
be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /dists/testing to Joliet tree. Symlinks can only 
be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /dists/unstable to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/amd64-microcode_3.20160316.3_amd64.deb 
to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/atmel-firmware_1.3-4_all.deb to Joliet 
tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/bluez-firmware_1.2-3_all.deb to Joliet 
tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/dahdi-firmware-nonfree_2.11.1-1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-amd-graphics_20170404-0kali1_all.deb to Joliet tree. 
Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-ath9k-htc_1.4.0-81-gf206e56+dfsg-2_all.deb to Joliet tree. 
Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-atheros_20170404-0kali1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/firmware-bnx2_20170404-0kali1_all.deb 
to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/firmware-bnx2x_20170404-0kali1_all.deb 
to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-brcm80211_20170404-0kali1_all.deb to Joliet tree. Symlinks 
can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-cavium_20170404-0kali1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-intel-sound_20170404-0kali1_all.deb to Joliet tree. Symlinks 
can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-intelwimax_20170404-0kali1_all.deb to Joliet tree. Symlinks 
can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-ipw2x00_20170404-0kali1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/firmware-ivtv_20170404-0kali1_all.deb 
to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-iwlwifi_20170404-0kali1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-libertas_20170404-0kali1_all.deb to Joliet tree. Symlinks 
can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/firmware-linux-free_3.4_all.deb to 
Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/firmware-linux_20170404-0kali1_all.deb 
to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-misc-nonfree_20170404-0kali1_all.deb to Joliet tree. 
Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-myricom_20170404-0kali1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-netxen_20170404-0kali1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-qlogic_20170404-0kali1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-realtek_20170404-0kali1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-samsung_20170404-0kali1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/firmware-siano_20170404-0kali1_all.deb 
to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/firmware-ti-connectivity_20170404-0kali1_all.deb to Joliet tree. 
Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/firmware-zd1211_1%3a1.5-4_all.deb to 
Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/hdmi2usb-fx2-firmware_0.0.0~git20151225-1_all.deb to Joliet tree. 
Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/intel-microcode_3.20170511.1_amd64.deb 
to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add 
/firmware/ixo-usb-jtag_0.0.0+git20160908-1_all.deb to Joliet tree. Symlinks can 
only be added to a Rock Ridge tree.
libisofs: NOTE : Automatically adjusted MBR geometry to 1023/169/32
libisofs: NOTE : Aligned image size to cylinder size by 431 blocks
xorriso : UPDATE :  1.65% done
xorriso : UPDATE :  14.64% done
xorriso : UPDATE :  24.17% done, estimate finish Wed Jul 26 02:16:09 2017
xorriso : UPDATE :  29.78% done, estimate finish Wed Jul 26 02:16:11 2017
xorriso : UPDATE :  42.45% done, estimate finish Wed Jul 26 02:16:10 2017
xorriso : UPDATE :  52.68% done, estimate finish Wed Jul 26 02:16:10 2017
xorriso : UPDATE :  64.32% done, estimate finish Wed Jul 26 02:16:10 2017
xorriso : UPDATE :  75.11% done, estimate finish Wed Jul 26 02:16:10 2017
xorriso : UPDATE :  78.98% done, estimate finish Wed Jul 26 02:16:11 2017
xorriso : UPDATE :  90.70% done
xorriso : UPDATE :  98.36% done
ISO image produced: 1383448 sectors
Written to medium : 1383448 sectors at LBA 0
Writing to 'stdio:live-image-amd64.hybrid.iso' completed successfully.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]