Skip to content

Commit 2df7336

Browse files
committed
bin: Use forked selinux repo to build busybox
* Fix: #390 Change-Id: Ia894f01ac6a331754c8031a35b97c9ff093ee11c
1 parent 359d396 commit 2df7336

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/build_bin.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ XZ_VERSION=5.6.2 # https://githu
1919
LZ4_VERSION=1.9.4 # https://github.com/lz4/lz4/releases
2020
ZSTD_VERSION=1.5.6 # https://github.com/facebook/zstd/releases
2121
BUSYBOX_VERSION=1_36_1 # https://www.busybox.net/downloads/?C=M;O=D
22-
SELINUX_COMMIT=48fcf8bba0635dc597bef75994294fd055d9f0ba # https://github.com/topjohnwu/selinux/tree/48fcf8bba0635dc597bef75994294fd055d9f0ba
22+
SELINUX_COMMIT=81d604a9d5f34306d22121391d350e0027191cb5 # https://github.com/XayahSuSuSu/selinux/tree/81d604a9d5f34306d22121391d350e0027191cb5
2323
PCRE_BRANCH=android14-mainline-adbd-release # https://android.googlesource.com/platform/external/pcre
2424
##################################################
2525
# Functions
@@ -236,7 +236,7 @@ build_busybox() {
236236
wget https://git.busybox.net/busybox/snapshot/busybox-$BUSYBOX_VERSION.tar.bz2
237237
tar xf busybox-$BUSYBOX_VERSION.tar.bz2
238238
mv busybox-$BUSYBOX_VERSION busybox
239-
git clone https://github.com/topjohnwu/selinux jni/selinux
239+
git clone https://github.com/XayahSuSuSu/selinux jni/selinux
240240
cd jni/selinux && git checkout $SELINUX_COMMIT && cd ../..
241241
git clone https://android.googlesource.com/platform/external/pcre -b $PCRE_BRANCH jni/pcre
242242
./run.sh patch

0 commit comments

Comments
 (0)