Opened 7 years ago

Last modified 6 years ago

#691 new defect

xorriso doesn't support "-hfs"

Reported by: Jiří Zárevúcky Owned by:
Priority: minor Milestone:
Component: helenos/unspecified Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

When building for ppc32:

make[2]: Entering directory '/home/jzr/helenos-workspace/mainline/boot'
rm -fr distroot
mkdir -p distroot/boot
mkdir -p distroot/ppc
cp image.boot distroot/boot/
cp yaboot/ofboot.b distroot/boot/
cp yaboot/bootinfo.txt distroot/ppc/
cp yaboot/yaboot distroot/boot/
cp yaboot/yaboot.conf distroot/boot/
xorriso -as genisoimage -hfs -part -map yaboot/maps -no-desktop -hfs-volid "HelenOS" -hfs-bless distroot/boot -r -o ../image.iso distroot/
xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.

Drive current: -outdev 'stdio:../image.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data,  302g free
xorriso : FAILURE : -as genisoimage: Unsupported option '-hfs'
xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'
make[2]: *** [Makefile.yaboot:42: ../image.iso] Error 5
make[2]: Leaving directory '/home/jzr/helenos-workspace/mainline/boot'
make[1]: *** [Makefile:35: all] Error 2
make[1]: Leaving directory '/home/jzr/helenos-workspace/mainline/boot'
make: *** [Makefile:53: all] Error 2

Change History (2)

comment:1 by Martin Decky, 7 years ago

This is exactly the reason why we prefer the original genisoimage or mkisofs (if it is the native tool and not just an alias for xorriso) instead of xorriso. See mainline,2527 and mainline,2590.

The proper solution would be to use native xorriso command line interface and not the genisoimage/mkisofs compatibility mode.

A probable workaround for you is to install genisoimage.

comment:2 by Jakub Jermář, 6 years ago

Milestone: 0.7.1
Note: See TracTickets for help on using tickets.