File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,12 @@ jobs:
144
144
manifest : oneplus_pad2_v.xml
145
145
android_version : android14
146
146
kernel_version : " 6.1"
147
+ - model : OP13S
148
+ soc : sun
149
+ branch : oneplus/sm8750
150
+ manifest : oneplus_13s.xml
151
+ android_version : android15
152
+ kernel_version : " 6.6"
147
153
uses : ./.github/workflows/build.yml
148
154
secrets : inherit
149
155
with :
Original file line number Diff line number Diff line change @@ -172,8 +172,12 @@ jobs:
172
172
173
173
# Change to common directory and apply SUSFS patch
174
174
cd ../../common
175
- if [ "${{ inputs.soc }}" == "sun" ]; then
176
- sed -i '/#include <trace\/hooks\/blk.h>/a #include <trace/hooks/fs.h>' ./fs/namespace.c
175
+ if [ "${{ inputs.soc }}" = "sun" ]; then
176
+ if ! grep -qxF '#include <trace/hooks/fs.h>' ./fs/namespace.c; then
177
+ sed -i '/#include <trace\/hooks\/blk.h>/a #include <trace\/hooks\/fs.h>' ./fs/namespace.c
178
+ else
179
+ echo "Line already present. Skipping insert."
180
+ fi
177
181
fi
178
182
patch -p1 < 50_add_susfs_in_gki-${{ inputs.android_version }}-${{ inputs.kernel_version }}.patch || true
179
183
You can’t perform that action at this time.
0 commit comments