You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
helios-build -o build failed with a CPIO error #238
@grwilson was running a helios-build image -o build -N ??? (I don't remember the -N value) and it failed with:
Dec 05 19:47:32.028 INFO creating Oxide boot image...
Dec 05 19:47:32.028 INFO exec: ["/home/gwilson/helios/projects/bootserver/target/release/mkimage", "-i", "/rpool/images/gwilson/output/sled-zfs.raw", "-N", "cosmo-b-120525_0115", "-o", "build/zfs.img", "-O", "/home/gwilson/helios/tmp/image/boot_image_csum", "-s", "4096"], pwd: None
Dec 05 19:47:33.004 INFO O| ok, image written!
Dec 05 19:47:33.004 INFO O| ok, boot_image_csum file written!
Dec 05 19:47:33.008 INFO creating boot archive (CPIO)...
Dec 05 19:47:33.008 INFO exec: ["bash", "/home/gwilson/helios/image/mkcpio.sh", "/rpool/images/gwilson/work/sled/ramdisk", "build/cpio", "/home/gwilson/helios/tmp/image"], pwd: None
Dec 05 19:47:33.014 INFO E| + root=/rpool/images/gwilson/work/sled/ramdisk
Dec 05 19:47:33.014 INFO E| + outfile=build/cpio
Dec 05 19:47:33.014 INFO E| + tmpdir=/home/gwilson/helios/tmp/image
Dec 05 19:47:33.016 INFO E| + cd /rpool/images/gwilson/work/sled/ramdisk
Dec 05 19:47:33.017 INFO E| + cpio -qo -H odc -O build/cpio
Dec 05 19:47:33.019 INFO E| cpio: Cannot open "build/cpio" for output
Dec 05 19:47:33.019 INFO E| USAGE:
Dec 05 19:47:33.019 INFO E| cpio -i[bcdfkmqrstuv@BSV6] [-C size] [-E file] [-H hdr] [-I file [-M msg]] [-R id] [patterns]
Dec 05 19:47:33.019 INFO E| cpio -o[acv@ABLV] [-C size] [-H hdr] [-O file [-M msg]]
Dec 05 19:47:33.019 INFO E| cpio -p[adlmuv@LV] [-R id] directory
Error: exec ["bash", "/home/gwilson/helios/image/mkcpio.sh", "/rpool/images/gwilson/work/sled/ramdisk", "build/cpio", "/home/gwilson/helios/tmp/image"]: failed ExitStatus(unix_wait_status(256))
Activity
rmustacc commentedon Dec 5, 2025
I can reproduce this so there isn't something specific to George's environment. That was a simple:
jclulow commentedon Dec 5, 2025
Presumably it doesn't fail if you do
-o $PWD/buildthough? I expect we're flubbing the expansion of that potentially relative path.