Skip to content

Commit 69e5108

Browse files
committed
Update ReSukiSU KPM syscall wrapper port
1 parent 3de2710 commit 69e5108

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/wsa-kpm-boot-smoke.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ cleanup_all() {
2828
}
2929

3030
adb_shell() {
31-
"$ADB" shell "$@"
31+
"$ADB" -s "$ADB_TARGET" shell "$@"
3232
}
3333

3434
adb_su() {
@@ -45,13 +45,13 @@ push_kpm() {
4545
fi
4646

4747
adb_su "mkdir -p '$REMOTE_DIR' && chmod 700 '$REMOTE_DIR'"
48-
"$ADB" push "$local_file" "$tmp_file" >/dev/null
48+
"$ADB" -s "$ADB_TARGET" push "$local_file" "$tmp_file" >/dev/null
4949
adb_su "cp '$tmp_file' '$KPM' && chmod 600 '$KPM'"
5050
}
5151

5252
log "connecting to $ADB_TARGET"
5353
"$ADB" connect "$ADB_TARGET" >/dev/null || true
54-
"$ADB" wait-for-device
54+
"$ADB" -s "$ADB_TARGET" wait-for-device
5555

5656
log "kernel"
5757
adb_shell uname -a

0 commit comments

Comments
 (0)