mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 04:25:33 -04:00
universal7885: host_tools: Introduce a tool to update fp
This commit is contained in:
parent
340f28fe4b
commit
2fd6a2cb26
4 changed files with 209 additions and 0 deletions
13
universal7885-common/host-tools/update_fp.sh
Executable file
13
universal7885-common/host-tools/update_fp.sh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git config --local user.name "github-actions[bot]"
|
||||
|
||||
sudo apt update
|
||||
sudo apt install -y libcurl4-openssl-dev clang
|
||||
cd universal7885-common/host-tools/
|
||||
clang++ BuildFpUpdater.cc -o updater -lcurl
|
||||
./updater
|
||||
git add ..
|
||||
git commit -m "universal7885: Update fp [`date`]"
|
||||
git push
|
||||
Loading…
Reference in a new issue