[kernel] fix initrd name
This commit is contained in:
parent
d952f80d12
commit
96e709d1a1
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ set -e
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
PRGNAM=$(basename "$CWD")
|
PRGNAM=$(basename "$CWD")
|
||||||
BUILD=${BUILD:-19}
|
BUILD=${BUILD:-20}
|
||||||
BRANCH=${BRANCH:-stable} # stable ; mainline
|
BRANCH=${BRANCH:-stable} # stable ; mainline
|
||||||
ARCH=$(uname -m)
|
ARCH=$(uname -m)
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ echo -n "building initrd… "
|
||||||
cd /
|
cd /
|
||||||
UCODE=""
|
UCODE=""
|
||||||
[ -e /boot/intel-ucode.cpio ] && UCODE="-P /boot/intel-ucode.cpio"
|
[ -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-${VERSION}-gwh.gz|") \${UCODE}"
|
eval "\$(/usr/share/mkinitrd/mkinitrd_command_generator.sh -k $VERSION -r | sed "s|/boot/initrd.gz|/boot/initrd-${VERSION}.gz|") \${UCODE}"
|
||||||
echo "OK"
|
echo "OK"
|
||||||
|
|
||||||
grub-mkconfig -o /boot/grub/grub.cfg
|
grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
|
|
Loading…
Reference in a new issue