Ensure secure boot options are escaped properly
This commit is contained in:
parent
bf2701ba08
commit
5bbe197ec6
1 changed files with 2 additions and 2 deletions
|
@ -19,11 +19,11 @@ begin
|
||||||
|
|
||||||
sudo sed -i \
|
sudo sed -i \
|
||||||
-e "/esp=/{" \
|
-e "/esp=/{" \
|
||||||
-e "a esp=\"$efiDir\"" \
|
-e "a esp=$(echo "$efiDir" | string escape)" \
|
||||||
-e "d" \
|
-e "d" \
|
||||||
-e "}" \
|
-e "}" \
|
||||||
-e "/bootloader_id=/{" \
|
-e "/bootloader_id=/{" \
|
||||||
-e "a bootloader_id=\"$label\"" \
|
-e "a bootloader_id=$(echo "$label" | string escape)" \
|
||||||
-e "d" \
|
-e "d" \
|
||||||
-e "}" \
|
-e "}" \
|
||||||
/etc/secureboot.conf
|
/etc/secureboot.conf
|
||||||
|
|
Loading…
Reference in a new issue