summaryrefslogtreecommitdiff
path: root/meta/classes/kernel-grub.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/kernel-grub.bbclass')
-rw-r--r--meta/classes/kernel-grub.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-grub.bbclass b/meta/classes/kernel-grub.bbclass
index 85721ffd70..a63f482a91 100644
--- a/meta/classes/kernel-grub.bbclass
+++ b/meta/classes/kernel-grub.bbclass
@@ -67,7 +67,7 @@ pkg_postinst_kernel-image_prepend () {
if [ "${grubcfg##*/}" = "grub.cfg" ]; then
cat "$grubcfg"
elif [ "${grubcfg##*/}" = "menu.list" ]; then
- cat "$grubcfg" | sed -e '/^default/d' -e '/^timeout/d'
+ sed -e '/^default/d' -e '/^timeout/d' "$grubcfg"
fi
}