You can add the required packages by modifying the profile.
Before running make -j17
, add the feed you need to the gl-infra-builder/feed/glinet
directory, and then add it to the packages
entry in profiles/luci.yml
For example, to add helloworld
as an example in the gl-infra-builder/feed/glinet
directory, you need to change profiles/luci.yml
to
---
description: Add the LUCI dependencies
feeds:
- name: glinet
path: ../feeds_dir/glinet
packages:
- luci
- luci-base
- luci-mod-rpc
- wpad-openssl
- helloworld
diffconfig: |
CONFIG_LUCI_LANG_zh_Hans=y
CONFIG_PACKAGE_wpad-basic=n
CONFIG_PACKAGE_wpad=n
Then, running it again:
cd wlan-ap/openwrt
./scripts/gen_config.py target_wlan_ap-gl-axt1800 luci
make -j17
We couldn’t have offered a simpler way yet, because everyone needs a different package.