check if there is actually anything to extract from the firmware tarball
authorrobert <robert@openbsd.org>
Fri, 14 Apr 2023 15:00:40 +0000 (15:00 +0000)
committerrobert <robert@openbsd.org>
Fri, 14 Apr 2023 15:00:40 +0000 (15:00 +0000)
commit7afcfc7d2a073532a6dfc81e3916d1f86dc73456
treef2963fa2bfc823948c04a0a0181a48ef7f96f390
parentdb8e9f93c77297dba1e67e80823fca89b5ae4535
check if there is actually anything to extract from the firmware tarball
on apple silicon so that we don't fill up the ramdisk by extracting the
whole tarball

while here, change the code so that the machdep.compatible sysctl gets
read once and then that value is used in the script instead of calling
sysctl several times

from input and ok kn@, kettenis@
distrib/arm64/ramdisk/install.md