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