From 4eedf6793b5dc5c6f3d91fb1db0b32a3fc40c24d Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Thu, 20 Sep 2018 20:03:26 +0200 Subject: [PATCH] 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 --- src/scripts/rebuild-initrd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/scripts/rebuild-initrd b/src/scripts/rebuild-initrd index 91e68ca571..3dd08dc215 100644 --- a/src/scripts/rebuild-initrd +++ b/src/scripts/rebuild-initrd @@ -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 . # +# Copyright (C) 2018 IPFire-Team . # # # ############################################################################ # # -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 -- 2.39.5