-
Hi folks! In my adventure on Flatcar + RPi setup, I'm looking for a way to optimize the /usr partition for the small machine, is there a documentation somewhere that explain how partitions like /usr are built out of these links? https://www.flatcar.org/docs/latest/reference/developer-guides/sdk-building-production-images/ Especially the crypt volume part of it, is it a LUKS? A feature of BTRFS? (Not knowing btrfs super well). As it would require some sort of cryptographic keys I guess and I'd like to know how they're handled and if I can swap the /usr partition from crypted volume to simple uncrypted volume as for RPi the cost of the crypt layer is having a real impact on responsiveness and performance. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
To build the What is the goal you want to achieve? |
Beta Was this translation helpful? Give feedback.
To build the
/usr
from scratch you would have to follow https://www.flatcar.org/docs/latest/reference/developer-guides/sdk-modifying-flatcar/ - the underlying technology is dm-verity, the crypto part is just for verification of integrity.Building your own
/usr
means you won't consume updates anymore, though (basically, Flatcar consists of just/usr
and the rest is established from there).What is the goal you want to achieve?