@milhouse and chewitt thanks for the explanation. I did read all the old requests and expected such answer and understand it too. @milhouse you did kind of ask "is that all you need for encryption" and i could not resist to ask for my cryptsetup feature request and also practicly knowing what the answer will be. Sorry.
I do like less is more too. At work i do whenever possible working by the KISS principal.
How about giving the community the change to build addons with the encryption, lvm2, mdadm tools, but for that we need support in the kernel. Then i will lern to build addons. And there is less discussion why this tool gets into LE and that not. Most of them need kernel support.
I checked out le master and build 5 differen le versions in 2 flavors
PROJECT=Generic ARCH=x86_64
PROJECT=RPi DEVICE=RPi ARCH=arm
PROJECT=RPi DEVICE=RPi2 ARCH=arm
PROJECT=Rockchip DEVICE=RK3399 ARCH=arm UBOOT_SYSTEM=rockpro64
PROJECT=Amlogic DEVICE=S912 ARCH=arm
1st full build with IMAGE_SUFFIX=git (fresh and clean from git)
then i changed the kernel config for encryption, lvm2, raid
2nd just make again with IMAGE_SUFFIX=git+md+crypt+lvm+raid
2 concerns i did read about the kernel
- size for the kernel: that changes less than 10KB and the system around 1MB
- i am pretty sure there is no mesurable performance impact as long as you dont use the new modules
You can see for your self here HiDrive all images i build and the git diff for the kernel changes
ls -g kernel/system sizes le-9.0-testing-images-ls.txt
kernel config patch le-9.0-kernel-config-git+md+crypt+lvm+raid.patch.txt
Please consider the support in the kernel. I will build all the kernel config diff or more images for testing. Just ask and say what to build. Sorry for the patches again, i promise i will learn git.
Thanks for reading
sky42