run SDK Docker container as in the example:
https://gitlab.com/openwrt/docker#sdk
I use podman instead:
podman run --rm -v "$(pwd)"/bin/:/home/build/openwrt/bin -it docker.io/openwrtorg/sdk:ramips-mt76x8-snapshot
$ sudo apt update && sudo apt install vim
$ vi feeds.conf.default
# add the feed to the top:
# src-git modemfeed https://github.com/koshev-msk/modemfeed.git
$ ./scripts/feeds update -a; ./scrips/feeds install -a
$ make -j$((`nproc` + 1)) package/feeds/modemfeed/luci-app-modeminfo/compile
# menuconfig should appear, unselect these options and exit with save:
# [*] Select all target specific packages by default (NEW)
# [*] Select all kernel module packages by default (NEW)
# [*] Select all userspace packages by default (NEW)
compilation went fine apparently but there is no package in the end:
$ ls -l bin/packages/mipsel_24kc/modemfeed
ls: cannot access 'bin/packages/mipsel_24kc/modemfeed': No such file or directory
Here is the verbose logs from the build command, we can see there are actually errors there:
http://ix.io/4bHl
Steps to reproduce:
podman
instead:podman run --rm -v "$(pwd)"/bin/:/home/build/openwrt/bin -it docker.io/openwrtorg/sdk:ramips-mt76x8-snapshot
in the container, follow compilation steps here: https://github.com/koshev-msk/modemfeed#how-to-add-repo-and-compile-packages You might need to install
vim
or other editor in the container before:Here is the verbose logs from the build command, we can see there are actually errors there: http://ix.io/4bHl