]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
feat(Makefile): filter out warpclock on S390(x) systems
authorBenjamin Drung <benjamin.drung@canonical.com>
Thu, 30 Oct 2025 12:21:26 +0000 (13:21 +0100)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Thu, 30 Oct 2025 13:36:46 +0000 (09:36 -0400)
hwclock does not exist on S390(x). So the module warpclock does not need
to be installed on S390(x) systems.

Makefile

index 887818ea1b90578fca781f3ba97e1abbbc0793f0..24e2fb622a4d791e888a31c84549d3ba094a82c0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -288,6 +288,8 @@ 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
+else
+       rm -r $(DESTDIR)$(pkglibdir)/modules.d/[0-9][0-9]warpclock
 endif
 
 clean: