mirror of
https://github.com/Lakr233/vphone-cli.git
synced 2026-09-02 02:34:29 +00:00
frida: Add build.frida.re as a Sileo/apt source at first boot
The JB first-boot setup adds the Frida repo (deb https://build.frida.re/ ./) next to the existing Havoc source, so Sileo/apt can install and update Frida packages. Idempotent — skipped if a build.frida.re source is already present — and picked up by the same insecure-repo `apt-get update` that follows. Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
committed by
zqxwce
co-authored by
Claude Fable 5
parent
ceccc126c8
commit
3bb6f0fda4
@@ -229,6 +229,15 @@ else
|
||||
log " Havoc source already present"
|
||||
fi
|
||||
|
||||
FRIDA_LIST="$(dirname "$HAVOC_LIST")/frida.list"
|
||||
if ! grep -rIl 'build.frida.re' /etc/apt /var/jb/etc/apt 2>/dev/null | grep -q .; then
|
||||
mkdir -p "$(dirname "$FRIDA_LIST")"
|
||||
printf '%s\n' 'deb https://build.frida.re/ ./' > "$FRIDA_LIST"
|
||||
log " Frida source added: $FRIDA_LIST"
|
||||
else
|
||||
log " Frida source already present"
|
||||
fi
|
||||
|
||||
apt-get -o Acquire::AllowInsecureRepositories=true \
|
||||
-o Acquire::AllowDowngradeToInsecureRepositories=true \
|
||||
update -qq 2>&1 || log " apt update exited with $?"
|
||||
|
||||
Reference in New Issue
Block a user