rebuild-initrd: update for grub2

this was was not used for years because we usually ship a prebuild ramdisk
so this incompatiblity was not noticed long time...

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2018-09-20 20:03:26 +02:00
parent bdf9df742c
commit 4eedf6793b

View File

@@ -17,11 +17,11 @@
# along with IPFire; if not, write to the Free Software #
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
# #
# Copyright (C) 2008 IPFire-Team <info@ipfire.org>. #
# Copyright (C) 2018 IPFire-Team <info@ipfire.org>. #
# #
############################################################################
#
#
KVER=`uname -r | cut -d"-" -f1`
KVER=`uname -r`
dracut --force --early-microcode --verbose /boot/ipfirerd-$KVER.img $KVER-ipfire
dracut --force --early-microcode --xz /boot/initramfs-$KVER.img $KVER