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