ci: move packages to repo root so gh-action-sdk feed finds them
build / aarch64_cortex-a53 (push) Failing after 2m11s
build / arm_cortex-a7_neon-vfpv4 (push) Failing after 2m19s
build / mipsel_24kc (push) Failing after 1m51s
build / x86_64 (push) Failing after 3m49s

CI failed: 'No feed for package xrayctl found' / 'No rule to make target
package/xrayctl/download' — gh-action-sdk indexes packages at the feed (repo)
ROOT, not a nested package/ dir. Moved xrayctl/, luci-app-shater/, shater-core/
to root; fixed workflow comment and doc paths.
This commit is contained in:
omar committed 2026-07-09 02:36:22 +03:00
1 parent 08a26bbb7b
commit 080cbc594d
35 files changed
+11 -15

No files matched your search

@@ -0,0 +1,24 @@
#!/bin/sh
# /etc/hotplug.d/iface/99-shater
#
# netifd wipes `ip rule` / `ip route` on `network reload` and on interface
# churn, so our policy routing must be re-persisted on every ifup/ifdown.
# xrayctl reconcile is idempotent, so re-running it here is safe and cheap.
#
# Fully inert unless the Shater stack is enabled — never disturbs connectivity
# on boxes where the package is merely installed.
[ -x /usr/bin/xrayctl ] || exit 0
case "$ACTION" in
ifup|ifdown) ;;
*) exit 0 ;;
esac
# Only act when explicitly enabled.
en=$(uci -q get xray.globals.enabled) || exit 0
[ "$en" = "1" ] || exit 0
/usr/bin/xrayctl reconcile >/dev/null 2>&1
exit 0