sys-apps/fwupd: Fix fwupd-at-boot.sh for multiple pending updates

This changes fixes the fwupd-at-boot.sh script to prevent the system
hanging during boot on the updating firmware splash screen when multiple
firmware updates are pending.

BUG=b:192101144
TEST=reboot with multiple files in /var/lib/fwupd/pending

Change-Id: Ia00083665f1d69cdaf379a0d1d2820fd10ca6364
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/chromiumos-overlay/+/2989317
Tested-by: Daniel Campello <campello@chromium.org>
Auto-Submit: Daniel Campello <campello@chromium.org>
Reviewed-by: Benson Leung <bleung@google.com>
Commit-Queue: Daniel Campello <campello@chromium.org>
1 file changed