From efd02229ae5402bad762a20c9ce75607267e3309 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Wed, 24 Feb 2016 16:01:33 +0100 Subject: [PATCH] flash-images: change root uuid replacer sed i cannot really test this on my systems. Signed-off-by: Arne Fitzenreiter --- lfs/flash-images | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/flash-images b/lfs/flash-images index 36a0425754..0d57a2a8d6 100644 --- a/lfs/flash-images +++ b/lfs/flash-images @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2014 IPFire Team # +# Copyright (C) 2007-2016 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -185,7 +185,7 @@ endif # Insert the UUID because grub-mkconfig often fails to # detect that correctly sed -i $(MNThdd)/boot/grub/grub.cfg \ - -e "s/root=[A-Za-z0-9=-\/]*/root=UUID=$$(blkid -o value -s UUID $(PART_ROOT))/g" + -e "s/root=[A-Za-z0-9\/=-]*/root=UUID=$$(blkid -o value -s UUID $(PART_ROOT))/g" # Install GRUB grub-install --force --recheck --no-floppy \ -- 2.39.2