Building custom image with community packages

Hi,
I'm trying to build a custom openwrt image and add some community packages to it (in my case, node-yarn).
I've followed all the install instructions

  • Clone openwrt repo
  • ./scripts/feeds update
  • ./scripts/feeds install -a
  • ./scripts/feeds update packages
  • ./scripts/feeds install -a -p packages
    But when running the make menuconfig I can't seem to find the node-yarn package.
    If I try to build the image adding the package to the commandline, it doesn't gets installed.

Am I missing some steps? Any idea on how it should be done?

Thanks

https://openwrt.org/docs/guide-developer/packages

Hi @peppelin ,

I believe that this package, node-yarn is used only when you intend to use yarn to build NodeJS application packages to be deployed on an OpenWRT image.

That's what I am looking for at this moment (deploy a pre-build NodeJS application inside an OpenWRT image), but I could not figure out how to do that yet.

Best regards,

Flavio

How did you search for it?

I don't think you can add packages to image created by toolchain from CLI.

Given that other node-* packages build, maybe there's an issue specifically with node-yarn, because I'm not seeing any binaries for it at least not for x86 for neither snapshots, nor 23.05: https://downloads.openwrt.org/snapshots/packages/x86_64/packages/ and https://downloads.openwrt.org/releases/23.05.5/packages/x86_64/packages/

PS. Thread title is wrong, it has nothing to do with community packages, the package in question is in openwrt/packages repo: https://github.com/openwrt/packages/blob/openwrt-23.05/lang/node-yarn/Makefile