From b8b41f7891500bb8d9caef40e9c434f31724727c Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Thu, 3 Nov 2022 19:08:51 +0100 Subject: [PATCH] penguin: Keep openSUSE kernel on RPI (#378) Signed-off-by: Ettore Di Giacinto Signed-off-by: Ettore Di Giacinto --- Earthfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Earthfile b/Earthfile index 1e9a3ac..41c029f 100644 --- a/Earthfile +++ b/Earthfile @@ -175,7 +175,11 @@ framework: RUN luet install -y --system-target /framework \ system/elemental-toolkit-$TOOLKIT_IMG dracut/kcrypt system/kcrypt system/suc-upgrade - IF [ "$WITH_KERNEL" = "true" ] || [ "$FLAVOR" = "alpine" ] || [ "$FLAVOR" = "alpine-arm-rpi" ] + # Keep openSUSE kernel on ARM + IF [ "$FLAVOR" = "opensuse-arm-rpi" ] || [ "$FLAVOR" = "alpine-arm-rpi" ] + RUN luet install -y --system-target /framework \ + distro-kernels/opensuse distro-initrd/opensuse + ELSE IF [ "$WITH_KERNEL" = "true" ] || [ "$FLAVOR" = "alpine" ] RUN luet install -y --system-target /framework \ distro-kernels/ubuntu distro-initrd/ubuntu END