From dffbd9f32728a641f93d6bd11ff6e1eb281a94a8 Mon Sep 17 00:00:00 2001 From: Jacob Payne Date: Wed, 18 Jan 2023 09:15:35 -0700 Subject: [PATCH] added zfs packages to all images Signed-off-by: Jacob Payne --- Earthfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Earthfile b/Earthfile index 09e1420..152987c 100644 --- a/Earthfile +++ b/Earthfile @@ -330,6 +330,23 @@ docker: # Avoid to accidentally push keys generated by package managers RUN rm -rf /etc/ssh/ssh_host_* + # Copy flavor-specific overlay files + IF [[ "$FLAVOR" =~ "alpine" ]] + COPY overlay/files-alpine/ / + END + + IF [ "$FLAVOR" = "opensuse" ] + COPY overlay/files-opensuse/ / + ELSE IF [ "$FLAVOR" = "alpine-arm-rpi" ] + COPY overlay/files-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/ / + ELSE IF [ "$FLAVOR" = "debian" ] || [ "$FLAVOR" = "ubuntu" ] || [ "$FLAVOR" = "ubuntu-20-lts" ] || [ "$FLAVOR" = "ubuntu-22-lts" ] + COPY overlay/files-ubuntu/ / + END + # Enable services IF [ -f /sbin/openrc ] RUN mkdir -p /etc/runlevels/default && \