chore: remove legacy secubox-app symlinks

This commit is contained in:
CyberMind-FR 2025-12-30 13:23:30 +01:00
parent 1972099808
commit 6f115a3cf3
6 changed files with 15 additions and 5 deletions

View File

@ -171,7 +171,9 @@
"Bash(feeds/packages/net/crowdsec/patches/)",
"Bash(feeds/packages/net/crowdsec/files/)",
"Bash(feeds/packages/net/crowdsec/Makefile)",
"Bash(feeds/packages/net/crowdsec/patches/002-fix_go_version.patch)"
"Bash(feeds/packages/net/crowdsec/patches/002-fix_go_version.patch)",
"Bash(tail:*)",
"Bash(pkill -f \"local-build.sh build secubox-app-crowdsec\")"
]
}
}

View File

@ -1 +0,0 @@
package/secubox/secubox-app-crowdsec

View File

@ -1 +0,0 @@
package/secubox/secubox-app-domoticz

View File

@ -1 +0,0 @@
package/secubox/secubox-app-lyrion

View File

@ -1 +0,0 @@
package/secubox/secubox-app-zigbee2mqtt

View File

@ -569,6 +569,12 @@ copy_packages() {
echo " 📦 $single_package"
cp -r "../../package/secubox/$single_package" "$feed_dir/"
core_pkg_names+=("$single_package")
# Fix Makefile include paths for feed structure
if grep -q "../../lang/golang/golang-package.mk" "$feed_dir/$single_package/Makefile" 2>/dev/null; then
sed -i 's|include.*../../lang/golang/golang-package.mk|include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk|' "$feed_dir/$single_package/Makefile"
echo " ✓ Fixed golang package include path"
fi
else
print_error "Package $single_package not found or missing Makefile"
cd - > /dev/null
@ -610,6 +616,12 @@ copy_packages() {
echo " 📦 $pkg_name (SecuBox App)"
cp -r "$pkg" "$feed_dir/"
core_pkg_names+=("$pkg_name")
# Fix Makefile include paths for feed structure
if grep -q "../../lang/golang/golang-package.mk" "$feed_dir/$pkg_name/Makefile" 2>/dev/null; then
sed -i 's|include.*../../lang/golang/golang-package.mk|include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk|' "$feed_dir/$pkg_name/Makefile"
echo " ✓ Fixed golang package include path"
fi
fi
done