Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: build packages failed: bump openwrt-sdk-action and init setup for apk #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 19, 2024

  1. fix: build packages failed: bump openwrt-sdk-action and init setup fo…

    …r apk
    
    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
    a-gave committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    63643d8 View commit details
    Browse the repository at this point in the history