diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-03-31 16:16:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-03-31 16:16:10 +0000 |
commit | a7df80ab7071480723f6f681dc3bbfcda8caffb5 (patch) | |
tree | e699440a2ea2ee1b0208c170ab5937d00115ef02 /distrib/arm64 | |
parent | 52b9195ba30fa76e1ed6c2ddffcd5450dd162a35 (diff) |
on-ramdisk firmware extraction can overflow the install-media directory
because of the the tar+mv combination. Purge both path variations
better, so that an interrupted install can be restarted.
ok miod abieber kettenis
Diffstat (limited to 'distrib/arm64')
-rw-r--r-- | distrib/arm64/ramdisk/install.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/arm64/ramdisk/install.md b/distrib/arm64/ramdisk/install.md index abd5fdfdc1b..7e2fa08990d 100644 --- a/distrib/arm64/ramdisk/install.md +++ b/distrib/arm64/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.30 2022/03/28 18:53:40 kettenis Exp $ +# $OpenBSD: install.md,v 1.31 2022/03/31 16:16:09 deraadt Exp $ # # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -209,7 +209,7 @@ md_consoleinfo() { apple,*) make_dev sd0 if mount -o ro /dev/sd0l /mnt2 2>/dev/null; then - rm -rf /usr/mdec/rpi + rm -rf /usr/mdec/rpi /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*" |