Skip to content

Commit

Permalink
kernel-install: strip BOOT_IMAGE= from kernel options
Browse files Browse the repository at this point in the history
  • Loading branch information
keszybz committed Sep 20, 2020
1 parent 1d1f500 commit 1599741
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/kernel-install/90-loaderentry.install
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ else
read -r -d '' -a line < /proc/cmdline
for i in "${line[@]}"; do
[[ "${i#initrd=*}" != "$i" ]] && continue
[[ "${i#BOOT_IMAGE=*}" != "$i" ]] && continue
BOOT_OPTIONS+=("$i")
done
fi
Expand Down

0 comments on commit 1599741

Please sign in to comment.