]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
CI: fix Fedora 39 build
authorIker Pedrosa <ipedrosa@redhat.com>
Mon, 13 Nov 2023 08:53:10 +0000 (09:53 +0100)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Mon, 13 Nov 2023 11:39:13 +0000 (12:39 +0100)
libbsd is unwanted in Fedora and RHEL, and the recently released Fedora
39 doesn't contain this dependency in the base image.

shadow removed libbsd from its dependencies for Fedora 39, so let's
build without it to avoid compilation errors.

Resolves: https://github.com/shadow-maint/shadow/issues/839

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
Reviewed-by: Alejandro Colomar <alx@kernel.org>
share/containers/fedora.dockerfile

index 097a2fbc5aac9b28e1f8fd8719d8be0a0cdf356d..7c58f9186ffaeb4031c2fba7eadf8f99eebbdc10 100644 (file)
@@ -10,7 +10,7 @@ WORKDIR /usr/local/src/shadow/
 
 RUN ./autogen.sh --enable-shadowgrp --enable-man --with-audit \
         --with-sha-crypt --with-bcrypt --with-yescrypt --with-selinux \
-        --without-libcrack --without-libpam --enable-shared \
+        --without-libcrack --without-libpam --enable-shared --without-libbsd \
         --with-group-name-max-length=32 --enable-lastlog --enable-logind=no
 RUN make -kj4 || true
 RUN make