[Question] Generate only an index
bearrito opened this issue · 1 comments
Is it possible to only generate an index from a blob (in this case a partition)
We are moving to using Read-Only images for our robot fleet, but currently the images deployed by OTA system are modified once they are written to partition. This means the indexes we create on the servers differs from the partition. This breaks cache/extracting.
I guess I'd be looking for something equivalent to the made up command desync index --inplace-blob /dev/sdaX sdaX.caibx
I imagine I could technically do this with extract, but we are space constrained, maybe there is some redirect magic that could be used to get it to /dev/null
?
I'm aware of the option on extract
of degenerateInvalidSeeds
but I'd like to be able to generate the indices ahead of time so I can use them with the -ignore
flag on the cache
command.
Closing. I found what I was looking for in the source code. I opened a PR updating the README with examples.