fix: build packages failed: bump openwrt-sdk-action and init setup for apk #96
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
similar to libremesh/lime-packages#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