summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2013-11-07 08:24:48 +0200
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2013-11-07 08:30:09 +0200
commit80c52e1f91361d89da6e3b66d1ad94b92069e933 (patch)
treeec50e4aa88bd2498d7aa466da986f17294ba618d
parent9726610bd709d53df6d0cd2b7b0f5642932779ea (diff)
downloadsetup-efi-ivi-80c52e1f91361d89da6e3b66d1ad94b92069e933.tar.gz
setup-efi-ivi-80c52e1f91361d89da6e3b66d1ad94b92069e933.tar.bz2
setup-efi-ivi-80c52e1f91361d89da6e3b66d1ad94b92069e933.zip
setup-gummiboot-conf: fix the default entry name (again)
The default entry on loader.conf should _not_ contain the ".conf" suffix. This patch fixes 'setup-gummiboot-conf' correspondingly. Change-Id: If07685002f0025354f5f474e65c0730fdb23af24 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
-rwxr-xr-xsetup-gummiboot-conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-gummiboot-conf b/setup-gummiboot-conf
index 8767f2f..fa0cf58 100755
--- a/setup-gummiboot-conf
+++ b/setup-gummiboot-conf
@@ -96,7 +96,7 @@ done
# Update the default entry
newest_kernel="$(printf "%s" "$kernels" | head -n1)"
-sed -i -e "s/[ \t]*default[ \t]\+.*/default $newest_kernel.conf/" "$conf_file"
+sed -i -e "s/[ \t]*default[ \t]\+.*/default $newest_kernel/" "$conf_file"
# Remove gummiboot entries for non-existing kernels
printf "%s\n" "$entries" | while IFS= read -r entry; do