]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
fix(Makefile): correct filter condition for s390 specific modules
authorBenjamin Drung <benjamin.drung@canonical.com>
Thu, 30 Oct 2025 11:53:27 +0000 (12:53 +0100)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Thu, 30 Oct 2025 12:58:17 +0000 (08:58 -0400)
Commit fe6c47025516fe9705fa0fb621b381ce85d5127c ("feat(Makefile): filter
out s390 specific dracut modules") want to exclude s390 specific dracut
modules but got the condition inversed.

Makefile

index cfbf673521a8c26e305e7da9f6d171efbe4b2594..887818ea1b90578fca781f3ba97e1abbbc0793f0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -284,7 +284,7 @@ endif
                        rm -r $(DESTDIR)$(pkglibdir)/modules.d/[0-9][0-9]$${i}; \
                done \
        fi
-ifeq ($(ARCH),s390x)
+ifneq ($(ARCH),s390x)
        for f in cio_ignore cms dasd dasd_mod dcssblk zfcp zipl znet; do \
                rm -r $(DESTDIR)$(pkglibdir)/modules.d/[0-9][0-9]$${f}; \
        done