warning: add tumbleweed flavor (#710)

*  add tumbleweed flavor

 - Adds new opensuse-tumbleweed and opensuse-tumbleweed-arm-rpi flavors
 - Renames opensuse to opensuse-leap
 - Adapt earthfile to new names
 - Adapt CI to new names
 - Drop uneeded argument from dockerfiles
 - Updates docs to point older core-opensuse mentions to new
core-opensuse-leap flavor.
 - Add core-opensuses-tumbleweed flavor to matrix of version
 - Point to new kairos provider repos which include the version in the
naming

Signed-off-by: Itxaka <itxaka@spectrocloud.com>
This commit is contained in:
Itxaka 2023-01-25 10:15:24 +01:00 committed by Itxaka
parent 9d2dbdd164
commit f52ec9f27c

View File

@ -1,7 +1,7 @@
VERSION 0.6
FROM alpine
ARG VARIANT=core # core, lite, framework
ARG FLAVOR=opensuse
ARG FLAVOR=opensuse-leap
ARG IMAGE=quay.io/kairos/${VARIANT}-${FLAVOR}:latest
ARG ISO_NAME=kairos-${VARIANT}-${FLAVOR}
ARG LUET_VERSION=0.33.0
@ -230,7 +230,7 @@ docker:
IF [ "$FLAVOR" = "alpine-arm-rpi" ]
COPY overlay/files-opensuse-arm-rpi/ /
ELSE IF [ "$FLAVOR" = "opensuse-arm-rpi" ]
ELSE IF [ "$FLAVOR" = "opensuse-leap-arm-rpi" ] || [ "$FLAVOR" = "opensuse-tumbleweed-arm-rpi" ]
COPY overlay/files-opensuse-arm-rpi/ /
ELSE IF [ "$FLAVOR" = "fedora" ] || [ "$FLAVOR" = "rockylinux" ]
COPY overlay/files-fedora/ /
@ -262,7 +262,7 @@ docker:
RUN rm -rf /boot/initrd.img-*
END
# Regenerate initrd if necessary
IF [ "$FLAVOR" = "opensuse" ] || [ "$FLAVOR" = "opensuse-arm-rpi" ] || [ "$FLAVOR" = "tumbleweed-arm-rpi" ]
IF [ "$FLAVOR" = "opensuse-leap" ] || [ "$FLAVOR" = "opensuse-leap-arm-rpi" ] || [ "$FLAVOR" = "opensuse-tumbleweed-arm-rpi" || [ "$FLAVOR" = "opensuse-tumbleweed" ]
RUN mkinitrd
ELSE IF [ "$FLAVOR" = "fedora" ] || [ "$FLAVOR" = "rockylinux" ]
RUN kernel=$(ls /boot/vmlinuz-* | head -n1) && \