From f24994446472da54566243ea0d7fd4068cbabe32 Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Wed, 24 Dec 2025 19:35:47 +0100 Subject: [PATCH 01/24] Add TARGET environment variable to action.yml Signed-off-by: CSoellinger --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index b3d2a20..25cc75f 100644 --- a/action.yml +++ b/action.yml @@ -38,6 +38,7 @@ runs: --env BUILD_LOG \ --env EXTRA_FEEDS \ --env FEEDNAME \ + --env TARGET \ --env IGNORE_ERRORS \ --env KEY_BUILD \ --env PRIVATE_KEY \ From 273ff28023d1c47e3722ef1ad15dc710930e092e Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Wed, 24 Dec 2025 22:45:06 +0100 Subject: [PATCH 02/24] Update action.yml to conditionally run docker commands Refactor docker run commands based on TARGET environment variable. Signed-off-by: CSoellinger --- action.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 25cc75f..ccbb8b8 100644 --- a/action.yml +++ b/action.yml @@ -33,12 +33,32 @@ runs: cache-from: type=gha,scope=${{ env.CONTAINER }}-${{ env.ARCH }} load: true - - run: | + - if: always() && env.TARGET == '' + run: | docker run --rm \ --env BUILD_LOG \ --env EXTRA_FEEDS \ --env FEEDNAME \ + --env IGNORE_ERRORS \ + --env KEY_BUILD \ + --env PRIVATE_KEY \ + --env NO_DEFAULT_FEEDS \ + --env NO_REFRESH_CHECK \ + --env NO_SHFMT_CHECK \ + --env PACKAGES \ + --env INDEX \ + --env V \ + -v ${{ steps.inputs.outputs.artifacts_dir }}:/artifacts \ + -v ${{ steps.inputs.outputs.feed_dir }}:/feed \ + sdk + shell: bash + - if: always() && env.TARGET != '' + run: | + docker run --rm \ --env TARGET \ + --env BUILD_LOG \ + --env EXTRA_FEEDS \ + --env FEEDNAME \ --env IGNORE_ERRORS \ --env KEY_BUILD \ --env PRIVATE_KEY \ From 78985c347c695d88db8d32332a357fd9771b9e28 Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Sun, 25 Jan 2026 12:49:05 +0100 Subject: [PATCH 03/24] Change parallel jobs from nproc to 1 in entrypoint.sh Signed-off-by: CSoellinger --- entrypoint.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 52cd576..c108016 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -83,7 +83,9 @@ if [ -z "$PACKAGES" ]; then IGNORE_ERRORS="$IGNORE_ERRORS" \ CONFIG_AUTOREMOVE=y \ V="$V" \ - -j "$(nproc)" || RET=$? + -j "1" || RET=$? + +# -j "$(nproc)" || RET=$? else # compile specific packages with checks for PKG in $PACKAGES; do @@ -177,11 +179,12 @@ else IGNORE_ERRORS="$IGNORE_ERRORS" \ CONFIG_AUTOREMOVE=y \ V="$V" \ - -j "$(nproc)" \ + -j "1" \ "package/$PKG/compile" || { RET=$? break } +# -j "$(nproc)" \ done fi From 00f5d779ad690065b31acadea03e480cecfcae01 Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Sun, 25 Jan 2026 13:32:48 +0100 Subject: [PATCH 04/24] Change parallel jobs to use available processors Signed-off-by: CSoellinger --- entrypoint.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index c108016..52cd576 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -83,9 +83,7 @@ if [ -z "$PACKAGES" ]; then IGNORE_ERRORS="$IGNORE_ERRORS" \ CONFIG_AUTOREMOVE=y \ V="$V" \ - -j "1" || RET=$? - -# -j "$(nproc)" || RET=$? + -j "$(nproc)" || RET=$? else # compile specific packages with checks for PKG in $PACKAGES; do @@ -179,12 +177,11 @@ else IGNORE_ERRORS="$IGNORE_ERRORS" \ CONFIG_AUTOREMOVE=y \ V="$V" \ - -j "1" \ + -j "$(nproc)" \ "package/$PKG/compile" || { RET=$? break } -# -j "$(nproc)" \ done fi From 0e2f2395a13093fcd87ddbd8e3107d5ae5aeec9a Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Sun, 25 Jan 2026 13:42:03 +0100 Subject: [PATCH 05/24] Update llvm.download-ci-llvm setting in Makefile Signed-off-by: CSoellinger --- entrypoint.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 52cd576..52959d4 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -158,6 +158,14 @@ else done + RUST_MAKEFILE="./feeds/packages/lang/rust/Makefile" + if [ -f "$RUST_MAKEFILE" ] && grep -q "llvm.download-ci-llvm = true" "$RUST_MAKEFILE"; then + sed -i 's/llvm.download-ci-llvm = true/llvm.download-ci-llvm = "false"/' "$RUST_MAKEFILE" || true + echo "[PATCH] llvm.download-ci-llvm \"false\" ✅" + else + echo "[SKIP] llvm.download-ci-llvm" + fi + make \ -f .config \ -f tmp/.packagedeps \ From c12008a7ceb4e83914144e66ae72df263a2eaa4c Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Sun, 25 Jan 2026 14:28:50 +0100 Subject: [PATCH 06/24] Update RUST_MAKEFILE path in entrypoint.sh Signed-off-by: CSoellinger --- entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 52959d4..c3a5738 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -158,7 +158,9 @@ else done - RUST_MAKEFILE="./feeds/packages/lang/rust/Makefile" + /builder/feeds + + RUST_MAKEFILE="/builder/feeds/packages/lang/rust/" if [ -f "$RUST_MAKEFILE" ] && grep -q "llvm.download-ci-llvm = true" "$RUST_MAKEFILE"; then sed -i 's/llvm.download-ci-llvm = true/llvm.download-ci-llvm = "false"/' "$RUST_MAKEFILE" || true echo "[PATCH] llvm.download-ci-llvm \"false\" ✅" From 3191eec6bc49cfcdb379a48a402b63ebc99f451c Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Sun, 25 Jan 2026 14:37:33 +0100 Subject: [PATCH 07/24] Fix Rust Makefile path and add grep command Signed-off-by: CSoellinger --- entrypoint.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index c3a5738..bff2b24 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -158,9 +158,7 @@ else done - /builder/feeds - - RUST_MAKEFILE="/builder/feeds/packages/lang/rust/" + RUST_MAKEFILE="/builder/feeds/packages/lang/rust/Makefile" if [ -f "$RUST_MAKEFILE" ] && grep -q "llvm.download-ci-llvm = true" "$RUST_MAKEFILE"; then sed -i 's/llvm.download-ci-llvm = true/llvm.download-ci-llvm = "false"/' "$RUST_MAKEFILE" || true echo "[PATCH] llvm.download-ci-llvm \"false\" ✅" @@ -168,6 +166,9 @@ else echo "[SKIP] llvm.download-ci-llvm" fi + grep "llvm.download-ci-llvm" "$RUST_MAKEFILE" + grep "llvm.download-ci-llvm" "./feeds/packages/lang/rust/Makefile" + make \ -f .config \ -f tmp/.packagedeps \ From b7800d6a8cbe16db68893711bcb8cbee9893c9e9 Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Sun, 25 Jan 2026 15:00:08 +0100 Subject: [PATCH 08/24] Fix grep pattern for llvm.download-ci-llvm Signed-off-by: CSoellinger --- entrypoint.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index bff2b24..4b256f2 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -159,16 +159,13 @@ else done RUST_MAKEFILE="/builder/feeds/packages/lang/rust/Makefile" - if [ -f "$RUST_MAKEFILE" ] && grep -q "llvm.download-ci-llvm = true" "$RUST_MAKEFILE"; then - sed -i 's/llvm.download-ci-llvm = true/llvm.download-ci-llvm = "false"/' "$RUST_MAKEFILE" || true - echo "[PATCH] llvm.download-ci-llvm \"false\" ✅" + if [ -f "$RUST_MAKEFILE" ] && grep -q "llvm.download-ci-llvm=true" "$RUST_MAKEFILE"; then + sed -i 's/llvm.download-ci-llvm=true/llvm.download-ci-llvm=false/' "$RUST_MAKEFILE" || true + echo "[PATCH] llvm.download-ci-llvm false ✅" else echo "[SKIP] llvm.download-ci-llvm" fi - grep "llvm.download-ci-llvm" "$RUST_MAKEFILE" - grep "llvm.download-ci-llvm" "./feeds/packages/lang/rust/Makefile" - make \ -f .config \ -f tmp/.packagedeps \ From e803abba4bcc3c0290de6b0dffb0ff04be799e0e Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Sun, 25 Jan 2026 16:51:01 +0100 Subject: [PATCH 09/24] Update RUST_MAKEFILE path in entrypoint.sh Signed-off-by: CSoellinger --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 4b256f2..7dc783a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -158,7 +158,7 @@ else done - RUST_MAKEFILE="/builder/feeds/packages/lang/rust/Makefile" + RUST_MAKEFILE="./feeds/packages/lang/rust/Makefile" if [ -f "$RUST_MAKEFILE" ] && grep -q "llvm.download-ci-llvm=true" "$RUST_MAKEFILE"; then sed -i 's/llvm.download-ci-llvm=true/llvm.download-ci-llvm=false/' "$RUST_MAKEFILE" || true echo "[PATCH] llvm.download-ci-llvm false ✅" From 011c0f93dfa5a0f0c0fb670aa34d25ccade042de Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Thu, 29 Jan 2026 20:54:15 +0100 Subject: [PATCH 10/24] Remove llvm.download-ci-llvm handling from entrypoint.sh Removed conditional check and modification for llvm.download-ci-llvm in Rust Makefile. Signed-off-by: CSoellinger --- entrypoint.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 7dc783a..52cd576 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -158,14 +158,6 @@ else done - RUST_MAKEFILE="./feeds/packages/lang/rust/Makefile" - if [ -f "$RUST_MAKEFILE" ] && grep -q "llvm.download-ci-llvm=true" "$RUST_MAKEFILE"; then - sed -i 's/llvm.download-ci-llvm=true/llvm.download-ci-llvm=false/' "$RUST_MAKEFILE" || true - echo "[PATCH] llvm.download-ci-llvm false ✅" - else - echo "[SKIP] llvm.download-ci-llvm" - fi - make \ -f .config \ -f tmp/.packagedeps \ From e96a1a285d1fa585bf8a4e5ddf35442472841e7a Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Sat, 31 Jan 2026 12:55:14 +0100 Subject: [PATCH 11/24] Download patch for missing prototypes warnings Add patch to silence missing prototypes warnings Signed-off-by: CSoellinger --- entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 52cd576..9cbd8a9 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -158,6 +158,8 @@ else done + wget https://git.openwrt.org/?p=openwrt/openwrt.git;a=patch;h=5e196ba5489d5a612d9878816f1efc6e6d705530 -O ./package/kernel/lantiq/ltq-adsl/patches/412-silence-missing-prototypes-warnings.patch + make \ -f .config \ -f tmp/.packagedeps \ From 7825c6b9d2968fd785276309845e72fa26afd87f Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Sat, 31 Jan 2026 13:03:47 +0100 Subject: [PATCH 12/24] Fix wget command argument order for patch download Signed-off-by: CSoellinger --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 9cbd8a9..9dbbf63 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -158,7 +158,7 @@ else done - wget https://git.openwrt.org/?p=openwrt/openwrt.git;a=patch;h=5e196ba5489d5a612d9878816f1efc6e6d705530 -O ./package/kernel/lantiq/ltq-adsl/patches/412-silence-missing-prototypes-warnings.patch + wget -O ./package/kernel/lantiq/ltq-adsl/patches/412-silence-missing-prototypes-warnings.patch https://git.openwrt.org/?p=openwrt/openwrt.git;a=patch;h=5e196ba5489d5a612d9878816f1efc6e6d705530 make \ -f .config \ From 080d380cdf560abbd017c229d589e5fcf585396f Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Sat, 31 Jan 2026 13:05:08 +0100 Subject: [PATCH 13/24] Fix wget option for downloading patch file Signed-off-by: CSoellinger --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 9dbbf63..32fab53 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -158,7 +158,7 @@ else done - wget -O ./package/kernel/lantiq/ltq-adsl/patches/412-silence-missing-prototypes-warnings.patch https://git.openwrt.org/?p=openwrt/openwrt.git;a=patch;h=5e196ba5489d5a612d9878816f1efc6e6d705530 + wget -o ./package/kernel/lantiq/ltq-adsl/patches/412-silence-missing-prototypes-warnings.patch https://git.openwrt.org/?p=openwrt/openwrt.git;a=patch;h=5e196ba5489d5a612d9878816f1efc6e6d705530 make \ -f .config \ From e6bdccf37f8b817be33523b4759f9ff1ebb92589 Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Sat, 31 Jan 2026 13:12:21 +0100 Subject: [PATCH 14/24] Fix wget option from '-o' to '-O' for patch download Signed-off-by: CSoellinger --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 32fab53..015c82d 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -158,7 +158,7 @@ else done - wget -o ./package/kernel/lantiq/ltq-adsl/patches/412-silence-missing-prototypes-warnings.patch https://git.openwrt.org/?p=openwrt/openwrt.git;a=patch;h=5e196ba5489d5a612d9878816f1efc6e6d705530 + wget -O ./feeds/base/package/kernel/lantiq/ltq-adsl/patches/412-silence-missing-prototypes-warnings.patch https://git.openwrt.org/?p=openwrt/openwrt.git;a=patch;h=5e196ba5489d5a612d9878816f1efc6e6d705530 make \ -f .config \ From 06ff379b98683e2cf9ac141979c0f53f1a005280 Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Sat, 31 Jan 2026 13:31:53 +0100 Subject: [PATCH 15/24] Remove wget command for patch file download Removed wget command for downloading a patch file. Signed-off-by: CSoellinger --- entrypoint.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 015c82d..52cd576 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -158,8 +158,6 @@ else done - wget -O ./feeds/base/package/kernel/lantiq/ltq-adsl/patches/412-silence-missing-prototypes-warnings.patch https://git.openwrt.org/?p=openwrt/openwrt.git;a=patch;h=5e196ba5489d5a612d9878816f1efc6e6d705530 - make \ -f .config \ -f tmp/.packagedeps \ From a1b853d2b9826e2bedb0bfa313bd485c96a3744a Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Sat, 31 Jan 2026 13:46:24 +0100 Subject: [PATCH 16/24] Add commands to list and display ltq-adsl Makefile List contents of ltq-adsl directory and display Makefile. Signed-off-by: CSoellinger --- entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 52cd576..1df0178 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -158,6 +158,9 @@ else done + ls -la ./feeds/base/package/kernel/lantiq/ltq-adsl/ + cat ./feeds/base/package/kernel/lantiq/ltq-adsl/src/Makefile.am + make \ -f .config \ -f tmp/.packagedeps \ From 96a369524753f4d34eece749af7dd60e1db465f9 Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Sat, 31 Jan 2026 14:34:40 +0100 Subject: [PATCH 17/24] Update Makefile path in entrypoint.sh Signed-off-by: CSoellinger --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 1df0178..159bcd2 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -159,7 +159,7 @@ else done ls -la ./feeds/base/package/kernel/lantiq/ltq-adsl/ - cat ./feeds/base/package/kernel/lantiq/ltq-adsl/src/Makefile.am + cat ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile make \ -f .config \ From e24ab6a670c98c96fd4e6f2aaadc9eb91a1c8306 Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Sat, 31 Jan 2026 15:31:10 +0100 Subject: [PATCH 18/24] Add KCFLAGS to Makefile for lantiq ltq-adsl Signed-off-by: CSoellinger --- entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 159bcd2..75047a7 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -161,6 +161,8 @@ else ls -la ./feeds/base/package/kernel/lantiq/ltq-adsl/ cat ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile + sed -i '/\$(KERNEL_MAKE_FLAGS)/a MAKE_FLAGS += KCFLAGS="-Wno-error=int-to-pointer-cast -Wno-int-to-pointer-cast"' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile + make \ -f .config \ -f tmp/.packagedeps \ From 8eef84daefef3b3a8bb1e363a2b25fd976379097 Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Sat, 31 Jan 2026 16:18:36 +0100 Subject: [PATCH 19/24] Update entrypoint.sh to modify build flags and comments Comment out ls and cat commands, modify sed command to include additional flags. Signed-off-by: CSoellinger --- entrypoint.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 75047a7..b06a478 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -158,11 +158,13 @@ else done - ls -la ./feeds/base/package/kernel/lantiq/ltq-adsl/ - cat ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile - - sed -i '/\$(KERNEL_MAKE_FLAGS)/a MAKE_FLAGS += KCFLAGS="-Wno-error=int-to-pointer-cast -Wno-int-to-pointer-cast"' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile + #ls -la ./feeds/base/package/kernel/lantiq/ltq-adsl/ + #cat ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile + #sed -i '/\$(KERNEL_MAKE_FLAGS)/a MAKE_FLAGS += KCFLAGS="-Wno-error=int-to-pointer-cast -Wno-int-to-pointer-cast"' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile + sed -i '/\$(KERNEL_MAKE_FLAGS)/a MAKE_FLAGS += KCFLAGS="-Wno-error=int-to-pointer-cast -Wno-error=pointer-to-int-cast -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast"' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile + cat ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile + make \ -f .config \ -f tmp/.packagedeps \ From f5ccce5b297c4afff509980ecea2bef3f2a65c8a Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Sat, 31 Jan 2026 16:27:14 +0100 Subject: [PATCH 20/24] Update KCFLAGS in Makefile for compiler warnings Signed-off-by: CSoellinger --- entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index b06a478..1d3ca1f 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -162,7 +162,8 @@ else #cat ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile #sed -i '/\$(KERNEL_MAKE_FLAGS)/a MAKE_FLAGS += KCFLAGS="-Wno-error=int-to-pointer-cast -Wno-int-to-pointer-cast"' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile - sed -i '/\$(KERNEL_MAKE_FLAGS)/a MAKE_FLAGS += KCFLAGS="-Wno-error=int-to-pointer-cast -Wno-error=pointer-to-int-cast -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast"' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile + #sed -i '/\$(KERNEL_MAKE_FLAGS)/a MAKE_FLAGS += KCFLAGS="-Wno-error=int-to-pointer-cast -Wno-error=pointer-to-int-cast -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast"' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile + sed -i '/\$(KERNEL_MAKE_FLAGS)/a MAKE_FLAGS += KCFLAGS="-Wno-error -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-ignored-qualifiers -Wno-misleading-indentation"' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile cat ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile make \ From 85e6ff58f1c64ae0aecc28dcef9587e99444ac70 Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Sat, 31 Jan 2026 16:34:13 +0100 Subject: [PATCH 21/24] Update entrypoint.sh to modify kernel Makefile Added sed commands to modify Makefile for kernel package build process. Signed-off-by: CSoellinger --- entrypoint.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 1d3ca1f..9c6838e 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -164,6 +164,16 @@ else #sed -i '/\$(KERNEL_MAKE_FLAGS)/a MAKE_FLAGS += KCFLAGS="-Wno-error=int-to-pointer-cast -Wno-int-to-pointer-cast"' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile #sed -i '/\$(KERNEL_MAKE_FLAGS)/a MAKE_FLAGS += KCFLAGS="-Wno-error=int-to-pointer-cast -Wno-error=pointer-to-int-cast -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast"' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile sed -i '/\$(KERNEL_MAKE_FLAGS)/a MAKE_FLAGS += KCFLAGS="-Wno-error -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-ignored-qualifiers -Wno-misleading-indentation"' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile + +# 1. Den eigentlichen Kompiliervorgang deaktivieren +sed -i 's/$(call Build\/Compile\/Default)/@true/' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile + +# 2. Das Kopieren der (nicht existierenden) .ko Datei verhindern +sed -i 's/FILES:=$(PKG_BUILD_DIR).*/FILES:=/' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile + +# 3. Den Install-Schritt für das Kernel-Package neutralisieren +sed -i '/define KernelPackage\/ltq-adsl-template/,/endef/ s/FILES:=.*/FILES:=/' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile + cat ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile make \ From d3179d1470fdcf5ca87756d749c6ed73d90ab5bd Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Sat, 31 Jan 2026 16:59:00 +0100 Subject: [PATCH 22/24] Modify entrypoint.sh to update KernelPackage steps Add neutralization steps for KernelPackage in Makefile Signed-off-by: CSoellinger --- entrypoint.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 9c6838e..ba595f4 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -173,6 +173,18 @@ sed -i 's/FILES:=$(PKG_BUILD_DIR).*/FILES:=/' ./feeds/base/package/kernel/lantiq # 3. Den Install-Schritt für das Kernel-Package neutralisieren sed -i '/define KernelPackage\/ltq-adsl-template/,/endef/ s/FILES:=.*/FILES:=/' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile + +sed -i '/\$(eval \$(call KernelPackage,ltq-adsl-danube))/i \ +define Build/Compile\ + @true\ +endef\ +' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile + +sed -i '/\$(eval \$(call KernelPackage,ltq-adsl-danube))/i \ +define Build/InstallDev\ + @true\ +endef\ +' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile cat ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile From 291396cd1e9c455e026ffe34980f4860c516c7ed Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Sat, 31 Jan 2026 18:00:46 +0100 Subject: [PATCH 23/24] Clean up entrypoint.sh by removing unused code Removed commented-out lines related to kernel package compilation and Makefile modifications. Signed-off-by: CSoellinger --- entrypoint.sh | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index ba595f4..3b00d35 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -157,36 +157,6 @@ else fi done - - #ls -la ./feeds/base/package/kernel/lantiq/ltq-adsl/ - #cat ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile - - #sed -i '/\$(KERNEL_MAKE_FLAGS)/a MAKE_FLAGS += KCFLAGS="-Wno-error=int-to-pointer-cast -Wno-int-to-pointer-cast"' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile - #sed -i '/\$(KERNEL_MAKE_FLAGS)/a MAKE_FLAGS += KCFLAGS="-Wno-error=int-to-pointer-cast -Wno-error=pointer-to-int-cast -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast"' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile - sed -i '/\$(KERNEL_MAKE_FLAGS)/a MAKE_FLAGS += KCFLAGS="-Wno-error -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-ignored-qualifiers -Wno-misleading-indentation"' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile - -# 1. Den eigentlichen Kompiliervorgang deaktivieren -sed -i 's/$(call Build\/Compile\/Default)/@true/' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile - -# 2. Das Kopieren der (nicht existierenden) .ko Datei verhindern -sed -i 's/FILES:=$(PKG_BUILD_DIR).*/FILES:=/' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile - -# 3. Den Install-Schritt für das Kernel-Package neutralisieren -sed -i '/define KernelPackage\/ltq-adsl-template/,/endef/ s/FILES:=.*/FILES:=/' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile - -sed -i '/\$(eval \$(call KernelPackage,ltq-adsl-danube))/i \ -define Build/Compile\ - @true\ -endef\ -' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile - -sed -i '/\$(eval \$(call KernelPackage,ltq-adsl-danube))/i \ -define Build/InstallDev\ - @true\ -endef\ -' ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile - - cat ./feeds/base/package/kernel/lantiq/ltq-adsl/Makefile make \ -f .config \ From a3aea9d072df27b38f0f60a5b63509bcfa2775b8 Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Tue, 28 Apr 2026 23:00:27 +0200 Subject: [PATCH 24/24] Upgrade Docker actions to latest versions Signed-off-by: CSoellinger --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index ccbb8b8..a2a9e3f 100644 --- a/action.yml +++ b/action.yml @@ -13,13 +13,13 @@ runs: shell: bash - name: Set up Docker QEMU - uses: docker/setup-qemu-action@v3 + uses: docker/setup-qemu-action@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Build Docker container image - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 env: DOCKER_BUILD_SUMMARY: false with: