Open smklein opened 2 years ago
Were I to hazard a guess, it's likely because your tar file doesn't include /opt
or /opt/oxide
directory entries and we're probably not creating missing parent directories automatically. I'll take a look at the code, but if you want a workaround for right now, make sure those entries appear in the archive.
Ah, perfect, that seems to be the fix. I'm manually injecting:
root
root/opt
root/opt/oxide
And things appear to be working! (Well, the "install is complete, probably", and what more can I ask for)
I'm using the following image:
The contents of
oxide.json
are as follows:I configured the zone using a pretty normal
zonecfg
:But when attempting to install the package, I see the following error;
As some baseline checks:
/opt/oxide/cockroachdb.tar.gz
definitely exists on my system/zones/testzone/root
definitely exists, but none of the files fromcockroachdb.tar.gz
appear unpacked in that filesystem.For whatever it's worth,
pkg info omicron1
shows the following version: