fix: build packages failed: bump openwrt-sdk-action and init setup for apk
similar to https://github.com/libremesh/lime-packages/pull/1139
profile.mk: drop svn check;
profile.mk: adapt default PKG_VERSION to be accepted by both opkg and apk .github/workflow/build.yml:
bump actions/checkout from v2 to v4
bump peaceiris/action-gh-pages from v3 to v4
bump openwrt-sdk-action from v4 to v7 (that contain a fix to work with newer sdk snapshots)
add on workflow_dispatch to be able to trigger the workflow from action tab (if ever needed)
split build profiles to maintain the default repo with opkg https://feed.libremesh.org/profiles
while creating a newer for apk (unsigned for now) https://feed.libremesh.org/apk/profiles
add NO_DEFAULT_FEEDS: 1 to speed up build process and avoid compile unneeded packages.
Tested on a ubnt_litebeam-m5-xw building with imagebuilder based on current openwrt-trunk Following readme instruction but replacing:
sed -i 's|CONFIG_SIGNED_PACKAGES=y|# CONFIG_SIGNED_PACKAGES is not set|' .config
sed -i 's|CONFIG_SIGNATURE_CHECK=y|# CONFIG_SIGNATURE_CHECK is not set|' .config
sed -i 's|feed.libremesh.org|raw.githubusercontent.com/a-gave/lime-feed/refs/heads/gh-pages|g' repositories
make image PROFILE=ubnt_litebeam-m5-xw PACKAGES="-ppp -ppp-mod-pppoe -kmod-ppp -kmod-pppoe -kmod-pppox
-odhcpd_ipv6only -dnsmasq profile-libremesh-suggested-packages-tiny batctl-default"
Then installing the sysupgrade to the device it is possible to install additional packages with: sed -i 's|http://feed.libremesh.org|https://raw.githubusercontent.com/a-gave/lime-feed/refs/heads/gh-pages|g' /etc/apk/repositories.d/limefeeds.list removing unsupported tags @libremesh @libremesh_arch_packages @libremesh_profiles apk update apk add --allow-untrusted lime-debug