[kernel-gwh] intel-ucode.cpio
This commit is contained in:
parent
820a1fc9dc
commit
f16d4ed1ed
1 changed files with 3 additions and 1 deletions
|
@ -112,7 +112,9 @@ echo OK
|
||||||
|
|
||||||
echo -n "building initrd… "
|
echo -n "building initrd… "
|
||||||
cd /
|
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"
|
echo "OK"
|
||||||
|
|
||||||
[ -L /boot/initrd-gwh.gz ] && rm /boot/initrd-gwh.gz
|
[ -L /boot/initrd-gwh.gz ] && rm /boot/initrd-gwh.gz
|
||||||
|
|
Loading…
Reference in a new issue