Vendor the command set the menu and shell depend on

This commit is contained in:
2026-09-19 23:57:12 -04:00
parent 9501f2bb4d
commit c5434026a8
179 changed files with 12414 additions and 54 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
# blob:summary=Update system firmware using fwupd. Ensures the fwupd EFI binary is installed
# blob:requires-sudo=true
set -e
echo -e "\e[32mUpdate Firmware\e[0m"
if blob-cmd-missing fwupdmgr; then
blob-pkg-add fwupd
fi
if [[ -d /sys/firmware/efi ]] && [[ -f /usr/lib/fwupd/efi/fwupdx64.efi ]]; then
sudo install -D /usr/lib/fwupd/efi/fwupdx64.efi /boot/EFI/arch/fwupdx64.efi
fi
fwupdmgr refresh --force
sudo fwupdmgr update