[kernel-gwh] intel-ucode.cpio

This commit is contained in:
Gwenhael Le Moine 2024-05-21 22:26:17 +02:00
parent 820a1fc9dc
commit f16d4ed1ed
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -112,7 +112,9 @@ echo OK
echo -n "building initrd… "
cd /
eval \$(/usr/share/mkinitrd/mkinitrd_command_generator.sh -k $VERSION -r | sed "s|/boot/initrd.gz|/boot/initrd-gwh-${VERSION}.gz|")
UCODE=""
[ -e /boot/intel-ucode.cpio] && UCODE="-P /boot/intel-ucode.cpio"
eval "\$(/usr/share/mkinitrd/mkinitrd_command_generator.sh -k $VERSION -r | sed "s|/boot/initrd.gz|/boot/initrd-gwh-${VERSION}.gz|") ${UCODE}"
echo "OK"
[ -L /boot/initrd-gwh.gz ] && rm /boot/initrd-gwh.gz