sparkles: Add kcrypt to images (#195)

*  Add kcrypt to images

This adds the dracut module and the binary to the images.

Related to https://github.com/kairos-io/kairos/issues/184

*  Add Kcrypt post-install hook

Fixes https://github.com/kairos-io/kairos/issues/184
This commit is contained in:
Ettore Di Giacinto
2022-10-07 13:36:32 +02:00
committed by Itxaka
parent 4cc1e7a0f2
commit e2128af85f

View File

@@ -172,8 +172,9 @@ framework:
ARG TOOLKIT_IMG="$FLAVOR"
END
# Framework files
RUN luet install -y --system-target /framework \
system/elemental-toolkit-$TOOLKIT_IMG
system/elemental-toolkit-$TOOLKIT_IMG dracut/kcrypt system/kcrypt
IF [ "$WITH_KERNEL" = "true" ] || [ "$FLAVOR" = "alpine" ] || [ "$FLAVOR" = "alpine-arm-rpi" ]
RUN luet install -y --system-target /framework \