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:
zqxwce
2026-08-12 13:29:42 +03:00
committed by zqxwce
co-authored by Claude Fable 5
parent ceccc126c8
commit 3bb6f0fda4
+9
View File
@@ -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 $?"