]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
ci(debian): make sure that systemd-ukify is installed when available
authorJo Zzsi <jozzsicsataban@gmail.com>
Wed, 29 Jan 2025 04:32:59 +0000 (23:32 -0500)
committerLaszlo <laszlo.gombos@gmail.com>
Wed, 29 Jan 2025 04:56:19 +0000 (23:56 -0500)
Fix typo in the containerfile.

test/container/Dockerfile-debian

index 16622538968701ee3b7d9427e9ff4281d7cd3eb6..dd6d39609794882346fffe13eabfff1c9f2b8687 100644 (file)
@@ -23,19 +23,14 @@ ENV V=2
 # Install dracut as a linux-initramfs-tool provider so that the default initramfs-tool package does not get installed
 RUN apt-get update -y -qq && apt-get upgrade -y -qq && apt-get install -y -qq --no-install-recommends dracut
 
-# extra packages for sid, ubuntu
-RUN if [ "${DISTRIBUTION}" ! = "debian:latest" ] ; then \
-    DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends -o Dpkg::Use-Pty=0 \
-    network-manager \
-    systemd-ukify \
-    ; fi
-
 # extra packages for sid, rolling, devel
-RUN if [ "$DISTRIBUTION" = "debian:sid" ] || [ "${DISTRIBUTION}" = "ubuntu:rolling" ] || [ "${DISTRIBUTION}" = "ubuntu:devel" ] ; then \
+RUN if [ "$DISTRIBUTION" = "debian:sid" ] || [ "$DISTRIBUTION" = "ubuntu:rolling" ] || [ "$DISTRIBUTION" = "ubuntu:devel" ] ; then \
     DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends -o Dpkg::Use-Pty=0 \
     plymouth-themes \
+    network-manager \
     systemd-cryptsetup \
     systemd-repart \
+    systemd-ukify \
     ; fi
 
 RUN \