From: Jo Zzsi Date: Sun, 25 Jan 2026 22:37:12 +0000 (-0500) Subject: ci(busybox): do not mix kmod and busybox binaries X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3b19a9fb5b3fa96e627a6e877aebdf94a7d133b;p=thirdparty%2Fdracut-ng.git ci(busybox): do not mix kmod and busybox binaries Busybox provides applets for all (e.g. modprobe, rmmod) kmod binaries (under /sbin). These kmod binaries are all copied over in the busybox CI container except kmod binary itself, which will confuse dracut (as command kmod will return tue). Remove kmod from /bin/kmod from the busybox container. --- diff --git a/test/container/Dockerfile-alpine b/test/container/Dockerfile-alpine index 184f7d760..8cb20eda1 100644 --- a/test/container/Dockerfile-alpine +++ b/test/container/Dockerfile-alpine @@ -43,7 +43,7 @@ RUN \ ln -sf /boot/vmlinuz-virt /boot/vmlinuz-$(cd /lib/modules; ls -1 | tail -1) # busybox container -# replace all GNU coreutils and GNU util-linux binaries with busybox binaries +# replace GNU coreutils, util-linux, kmod binaries with busybox binaries RUN \ if [ "$OPTION" == "busybox" ] ; then \ mkdir /busybox && cd /busybox && /bin/busybox --install -s /busybox ;\ @@ -51,4 +51,5 @@ if [ "$OPTION" == "busybox" ] ; then \ cp -a /busybox/* /sbin/ ;\ cp -a /busybox/* /usr/bin/ ;\ cp -a /busybox/* /usr/sbin/ ;\ + rm -f /bin/kmod ;\ fi