Sfoglia il codice sorgente

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 10 mesi fa
parent
commit
7324e21ee2
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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