Explorar o código

ci(build): add debug logs for snd-aloop module insertion

Add echo statements to help diagnose issues when inserting the snd-aloop module into modules.bzl during the build process
TheWildJames hai 10 meses
pai
achega
7324e21ee2
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      .github/workflows/build.yml

+ 2 - 0
.github/workflows/build.yml

@@ -443,9 +443,11 @@ jobs:
               echo "snd-aloop already present in common/modules.bzl"
             else
               # Try robust, anchored insertion before the closing bracket of the list
+              echo "snd-aloop try 1"
               sed -i '/^[[:space:]]*_COMMON_GKI_MODULES_LIST[[:space:]]*=[[:space:]]*\\[/,/^[[:space:]]*\\]/ s/^[[:space:]]*\\]/    "sound\/drivers\/snd-aloop.ko",\\n]/' common/modules.bzl
               # Fallback: original, broader pattern if the anchored one didn't succeed
               if ! grep -q 'sound\/drivers\/snd-aloop.ko' common/modules.bzl; then
+                echo "snd-aloop try 2"
                 sed -i '/_COMMON_GKI_MODULES_LIST = \\[/,/\\]/ s/\\]/    "sound\/drivers\/snd-aloop.ko",\\n&/' common/modules.bzl
               fi
               if grep -q 'sound\/drivers\/snd-aloop.ko' common/modules.bzl; then