]> cvs.zerfleddert.de Git - m1-debian/blob - fwx.sh
little helper script to extract firmware
[m1-debian] / fwx.sh
1 mkdir -p /tmp/fwx
2 cd /tmp/fwx
3 curl -sL https://tg.st/u/installer.tar.gz | tar xzf -
4
5 export LC_ALL=C
6 export LANG=C
7
8 export DYLD_LIBRARY_PATH=$PWD/Frameworks/Python.framework/Versions/Current/lib
9 export DYLD_FRAMEWORK_PATH=$PWD/Frameworks
10 python=Frameworks/Python.framework/Versions/3.9/bin/python3.9
11 export SSL_CERT_FILE=$PWD/Frameworks/Python.framework/Versions/Current/etc/openssl/cert.pem
12 export PATH="$PWD/bin:$PATH"
13
14 python3 -m firmware.wifi /usr/share/firmware/wifi /tmp/linux-firmware.tar
15
16 echo Firmware is in /tmp/linux-firmware.tar
Impressum, Datenschutz