On Thu, Jul 27, 2017 at 7:43 AM, Manuel Geeler <[email protected]> wrote: > Hello community, > > I got an image and the corresponding SDK for a hardware based on an iMX6 > processor. With this setup I was able to crosscompile a simple "Hello World" > program on the development machine (Ubuntu 16.04.2 LTS), install and run it > on the target. > > I then started to look deeper into yocto and realized that there's the opkg > package manager available in the image. > > Now comes my question, how can I build *.ipk packages on my development > machine, which will then run on my target?
yes you can. you can setup a feedserver pointing to tmp/deploy/ipk in your workspace something as simple as cd tmp/deploy/ipk && python3 -m http.server 8000 will do it. Once you have it then setup the feed on your device to point to this server something like https://github.com/cbrake/oe-build/blob/master/envsetup.sh#L480-L489 then you can do normal opkg operations if you are able to rebuild the whole image then step to edit feed confs is not needed you can add PACKAGE_FEED_URIS = "http://<ip>:<port>/" in local.conf where ip is the local address of your build machine and port is the port on which you are starting the http server. > > The image is based on poky 2.1. > > My endgoal is to run node.js and node red on the target. > > Can someone please point me to the right direction? > > Thanks a lot in advance. > > regards > > Manuel > > Manuel Geeler > Technischer Leiter > > Identech AG > Lagerstrasse 14, CH-8600 Dübendorf > Tel.: +41 (0) 44 885 22 26 > Mobil: +41 (0) 76 323 65 44 > [email protected] > www.identech.ch > > > -- > _______________________________________________ > yocto mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/yocto > -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
