fix: 🐛 make efibootmgr silent

This commit is contained in:
Adrian Wannenmacher 2021-02-11 07:58:15 +01:00
parent 5885881075
commit 988331e6e3
Signed by: tfld
GPG Key ID: 19D986ECB1E492D5

View File

@ -98,7 +98,7 @@ function create_uki -d "creates a new uki"
end
function add_efi_entry -d "adds a boot entry to efi"
efibootmgr -C -d $EFI_DEV -p $EFI_PART -l "$EFI_PATH\arch-linux-$SNAPSHOT_ID.efi" -L (rg "PRETTY_NAME" "$BUILD_PATH/$SNAPSHOT_ID/os-release-snapshot" | sed "s/PRETTY_NAME=\"\(.*\)\"/\1/")
efibootmgr -C -d $EFI_DEV -p $EFI_PART -l "$EFI_PATH\arch-linux-$SNAPSHOT_ID.efi" -L (rg "PRETTY_NAME" "$BUILD_PATH/$SNAPSHOT_ID/os-release-snapshot" | sed "s/PRETTY_NAME=\"\(.*\)\"/\1/") -q
end
function main -d "the main function"