From: Arne Fitzenreiter Date: Thu, 20 Sep 2018 18:03:26 +0000 (+0200) Subject: rebuild-initrd: update for grub2 X-Git-Tag: v2.21-core124~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4eedf6793b5dc5c6f3d91fb1db0b32a3fc40c24d;p=people%2Fpmueller%2Fipfire-2.x.git 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 --- 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