diff options
author | William A. Kennington III <wak@google.com> | 2022-04-05 00:51:52 +0300 |
---|---|---|
committer | William A. Kennington III <wak@google.com> | 2022-04-06 00:04:22 +0300 |
commit | 790c9722f410d4f54a7036f8a1d680f300d4b533 (patch) | |
tree | 8138939885c2dcd8e1bc03c0ce984c7073909741 /meta-google/recipes-phosphor | |
parent | 878454ad544c4dfe1fa75e33cecce28ef646f749 (diff) | |
download | openbmc-790c9722f410d4f54a7036f8a1d680f300d4b533.tar.xz |
meta-google: gbmc-update: Fixup rm
This is a minor nit to remove some extraneous failed logs. It prevents
rm from trying to remove `.` and `..`.
Tested: Failing and retrying now longer prints out failed `rm` messages
Change-Id: Ida92f7d90b989e0875d6a63f4216127cd7151c53
Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'meta-google/recipes-phosphor')
-rw-r--r-- | meta-google/recipes-phosphor/flash/gbmc-update/75-gbmc-upgrade.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta-google/recipes-phosphor/flash/gbmc-update/75-gbmc-upgrade.sh b/meta-google/recipes-phosphor/flash/gbmc-update/75-gbmc-upgrade.sh index 4c7d15e4a8..87a1219369 100644 --- a/meta-google/recipes-phosphor/flash/gbmc-update/75-gbmc-upgrade.sh +++ b/meta-google/recipes-phosphor/flash/gbmc-update/75-gbmc-upgrade.sh @@ -46,8 +46,7 @@ gbmc_upgrade_fetch() ( local st=(0) wget -q -O - "$bootfile_url" | tar -xC "$tmpdir" || st=("${PIPESTATUS[@]}") (( st[0] != 0 )) || break - shopt -s nullglob - rm -rf -- "${tmpdir:?}"/* "${tmpdir:?}"/.* + (shopt -s nullglob dotglob; rm -rf -- "${tmpdir:?}"/*) sleep 5 done |