Running scriptlet: kernel-core-6.4.6-200.fc38.x86_64 324/324 dkms: running auto installation service for kernel 6.4.6-200.fc38.x86_64Sign command: /lib/modules/6.4.6-200.fc38.x86_64/build/scripts/sign-file Signing key: /var/lib/dkms/mok.key Public certificate (MOK): /var/lib/dkms/mok.pub Building module: Cleaning build area... make -j4 KERNELRELEASE=6.4.6-200.fc38.x86_64 KVERSION=6.4.6-200.fc38.x86_64...(bad exit status: 2) Error! Bad return status for module build on kernel: 6.4.6-200.fc38.x86_64 (x86_64) Consult /var/lib/dkms/digimend/10/build/make.log for more information. dkms autoinstall on 6.4.6-200.fc38.x86_64/x86_64 failed for digimend(10) Error! One or more modules failed to install during autoinstall. Refer to previous errors for more information. Failed. grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / dracut-install: Failed to find module 'hid-polostar' dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.7Mu2oZ/initramfs --kerneldir /lib/modules/6.4.6-200.fc38.x86_64/ -m hid_kye hid-polostar hid-uclogic hid-viewsonic dkms: running auto installation service for kernel 6.4.6-200.fc38.x86_64Sign command: /lib/modules/6.4.6-200.fc38.x86_64/build/scripts/sign-file Signing key: /var/lib/dkms/mok.key Public certificate (MOK): /var/lib/dkms/mok.pub Building module: Cleaning build area... make -j4 KERNELRELEASE=6.4.6-200.fc38.x86_64 KVERSION=6.4.6-200.fc38.x86_64....(bad exit status: 2) Error! Bad return status for module build on kernel: 6.4.6-200.fc38.x86_64 (x86_64) Consult /var/lib/dkms/digimend/10/build/make.log for more information. dkms autoinstall on 6.4.6-200.fc38.x86_64/x86_64 failed for digimend(10) Error! One or more modules failed to install during autoinstall. Refer to previous errors for more information. Failed. Reproducible: Couldn't Reproduce Steps to Reproduce: 1.sudo dnf upgrade 2. 3. Actual Results: Error as above Expected Results: No error.
Dracut failure is a consequence, not the culprit. There is something wrong with your 3rd party kernel module. I don't think we can help you here; you need to reach the vendor of the said module.