diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2022-09-26 00:20:15 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2022-09-26 00:20:15 +0000 |
commit | 18fb9e640c4d6224add461cb04feec7b75a7b3b7 (patch) | |
tree | 0b16c88e2447d2ae4001326fa3c15668b385cadc /distrib | |
parent | 1d2903161a320eef47eabea10bce724f088747b9 (diff) |
Hide error messages while extracting Apple firmware. Depending on the
model there might be no firmware and we want to avoid confusing users
with WARNING messages about patterns that were not matched.
ok deraadt@
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/arm64/ramdisk/install.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/distrib/arm64/ramdisk/install.md b/distrib/arm64/ramdisk/install.md index 8dc5ad9d73c..8362fe935b1 100644 --- a/distrib/arm64/ramdisk/install.md +++ b/distrib/arm64/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.34 2022/09/03 21:16:05 kn Exp $ +# $OpenBSD: install.md,v 1.35 2022/09/26 00:20:14 kettenis Exp $ # # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -222,10 +222,10 @@ md_consoleinfo() { rm -rf /etc/firmware/brcm /etc/firmware/apple-bwfm if [[ -s /mnt2/vendorfw/firmware.tar ]]; then tar -x -C /etc/firmware \ - -f /mnt2/vendorfw/firmware.tar "*$_fw*" + -f /mnt2/vendorfw/firmware.tar "*$_fw*" 2>/dev/null tar -x -C /etc/firmware \ - -f /mnt2/vendorfw/firmware.tar "*$_fw2*" - mv /etc/firmware/brcm /etc/firmware/apple-bwfm + -f /mnt2/vendorfw/firmware.tar "*$_fw2*" 2>/dev/null + mv /etc/firmware/brcm /etc/firmware/apple-bwfm 2>/dev/null fi umount /mnt2 fi |