Cydia builds use rootless prefix and target arm64 ##build

This commit is contained in:
pancake 2026-02-04 19:32:01 +01:00 committed by pancake
parent 917b9f8d23
commit f9f695d44f
5 changed files with 11 additions and 4 deletions

View file

@ -267,7 +267,7 @@ jobs:
run: echo "branch=`./configure -qV`" >> $GITHUB_OUTPUT
id: r2v
- name: Create ${{ matrix.type }} package
run: ./sys/ios-${{ matrix.type }}.sh
run: ROOTLESS=1 ./sys/ios-${{ matrix.type }}.sh
- if: ${{ matrix.sdk }}
name: Create iOS SDK
run: |

View file

@ -1,5 +1,5 @@
PACKAGE?=radare2-dev
ARCH=iphoneos-arm64e
ARCH=iphoneos-arm64
SECTION=Utilities
DEPENDS=radare2
PRIORITY=optional

View file

@ -1,5 +1,5 @@
PACKAGE?=radare2
ARCH=iphoneos-arm64e
ARCH=iphoneos-arm64
SECTION=Utilities
PRIORITY=optional
MAINTAINER=pancake <pancake@nopcode.org>

View file

@ -6,7 +6,6 @@ fromscratch=1 # 1
onlymakedeb=0
static=1
gcc -v 2> /dev/null
if [ $? = 0 ]; then
export HOST_CC=gcc
@ -28,6 +27,10 @@ else
PREFIX=/usr
fi
if [ "${ROOTLESS}" = 1 ]; then
PREFIX=/var/jb/usr
fi
ROOT=dist/cydia/radare2/root
makeDeb() {

View file

@ -4,3 +4,7 @@ export PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platfo
export PATH="$PWD/"sys:${PATH}
export CC="$PWD/"sys/ios-sdk-clang
export CFLAGS="-Oz -DNDEBUG"
# Default building in /var/jb/user prefix. use ROOTLESS=0 to rootful packaging
if [ -z "${ROOTLESS}" ]; then
ROOTLESS=1
fi