|
|
@@ -95,7 +95,7 @@ jobs:
|
|
|
COMMON="$CONFIG"
|
|
|
elif [[ "${{ inputs.branch }}" == "SM-A566B" ]]; then
|
|
|
COMMON="$CONFIG/kernel-6.6"
|
|
|
- elif [[ "${{ inputs.branch }}" == "SM-S926B-Oneui8" ]]; then
|
|
|
+ elif [[ "${{ inputs.branch }}" == "SM-S926B-Oneui8" || ${{ inputs.branch }} == SM-A556* ]]; then
|
|
|
COMMON="$CONFIG/kernel"
|
|
|
else
|
|
|
COMMON="$CONFIG/kernel_platform/common"
|
|
|
@@ -410,6 +410,23 @@ jobs:
|
|
|
CONFIG_KDP=n
|
|
|
EOF
|
|
|
|
|
|
+ elif [[ ${{ inputs.branch }} == SM-A556* ]]; then
|
|
|
+ cat >> "$COMMON/arch/arm64/configs/s5e8845-bazel_defconfig" << 'EOF'
|
|
|
+ # nuke root protection
|
|
|
+ CONFIG_UH=n
|
|
|
+ CONFIG_UH_RKP=n
|
|
|
+ CONFIG_UH_LKMAUTH=n
|
|
|
+ CONFIG_UH_LKM_BLOCK=n
|
|
|
+ CONFIG_RKP_CFP_JOPP=n
|
|
|
+ CONFIG_RKP_CFP=n
|
|
|
+ CONFIG_SECURITY_DEFEX=n
|
|
|
+ CONFIG_PROCA=n
|
|
|
+ CONFIG_FIVE=n
|
|
|
+ CONFIG_RKP=n
|
|
|
+ CONFIG_KDP_NS=n
|
|
|
+ CONFIG_KDP=n
|
|
|
+ EOF
|
|
|
+
|
|
|
else
|
|
|
cat >> "$GKI_DEFCONFIG" << 'EOF'
|
|
|
# nuke root protection
|
|
|
@@ -527,6 +544,8 @@ jobs:
|
|
|
./build_script.sh || true
|
|
|
elif [[ "${{ inputs.branch }}" == "SM-S926B-Oneui8" ]]; then
|
|
|
tools/bazel run --nocheck_bzl_visibility --config=stamp --sandbox_debug --verbose_failures --debug_make_verbosity=I //projects/s5e9945:s5e9945_user_dist
|
|
|
+ elif [[ ${{ inputs.branch }} == SM-A556* ]]; then
|
|
|
+ tools/bazel run --nocheck_bzl_visibility --config=stamp --sandbox_debug --verbose_failures --debug_make_verbosity=I //projects/s5e8845:s5e8845_user_dist
|
|
|
else
|
|
|
#temporarily using this until i can figure out the other phones build script issues
|
|
|
cd kernel_platform
|
|
|
@@ -562,6 +581,8 @@ jobs:
|
|
|
cp ./kernel-6.6/out/arch/arm64/boot/Image "$ANYKERNEL3/Image"
|
|
|
elif [[ "${{ inputs.branch }}" == "SM-S926B-Oneui8" ]]; then
|
|
|
cp ./out/s5e9945_user/dist/Image "$ANYKERNEL3/Image"
|
|
|
+ elif [[ ${{ inputs.branch }} == SM-A556* ]]; then
|
|
|
+ cp ./out/s5e8845_user/dist/Image "$ANYKERNEL3/Image"
|
|
|
elif [[ "${{ inputs.branch }}" == "SM-S901E-Oneui8" || "${{ inputs.branch }}" == "SM-X800-Oneui8" ]]; then
|
|
|
cp ./out/msm-waipio-waipio-gki/dist/Image "$ANYKERNEL3/Image"
|
|
|
else
|