{"id":346,"date":"2010-03-02T09:33:59","date_gmt":"2010-03-02T15:33:59","guid":{"rendered":"http:\/\/dmartenson.dc.multitech.prv\/developer\/?page_id=346"},"modified":"2011-11-23T14:43:17","modified_gmt":"2011-11-23T20:43:17","slug":"setting-up-a-package-feed","status":"publish","type":"page","link":"https:\/\/www.multitech.net\/developer\/software\/corecdp\/development\/setting-up-a-package-feed\/","title":{"rendered":"Setting Up a Package Feed"},"content":{"rendered":"<p>Setting up a package feed on your development machine:<\/p>\n<ul>\n<li>Install a web server on your development machine and set the document root to:<br \/>\n<code>${OETREE}\/build\/tmp\/deploy\/eglibc\/ipk<\/code><\/li>\n<li>Create a feed config file in \/etc\/opkg (such as <code>\/etc\/opkg\/local.conf<\/code>) on the target device that adds your development machine as a package source, assuming 192.168.2.2 is your IP address and MACHINE=&#8221;mtcdp&#8221;:<\/li>\n<pre class=\"brush:text\">src\/gz base http:\/\/192.168.2.2\/armv5te\r\nsrc\/gz base2 http:\/\/192.168.2.2\/mtcdp<\/pre>\n<\/ul>\n<p>The following commands can be run on the device to update the list of packages available and install a new package:<\/p>\n<ul>\n<li><code>opkg update<\/code><\/li>\n<li><code>opkg install &lt;package_name&gt;<\/code><\/li>\n<li><code>opkg<\/code> (prints help when run with no arguments)<\/li>\n<\/ul>\n<div class=\"note\">\nNote that for the package lists in <code>build\/tmp\/deploy\/eglibc\/ipk<\/code> to be updated after a package is built by itself (<code>bitbake &lt;package-name&gt;<\/code>) , you must build an image that contains the package or run <code>bitbake package-index<\/code>.  This causes the <code>package_update_index_ipk<\/code> task to be run, which updates the package index fetched by opkg.\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Setting up a package feed on your development machine: Install a web server on your development machine and set the document root to: ${OETREE}\/build\/tmp\/deploy\/eglibc\/ipk Create a feed config file in \/etc\/opkg (such as \/etc\/opkg\/local.conf) on the target device that adds your development machine as a package source, assuming 192.168.2.2 is your IP address and MACHINE=&#8221;mtcdp&#8221;: [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":314,"menu_order":10,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-346","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/comments?post=346"}],"version-history":[{"count":22,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/346\/revisions"}],"predecessor-version":[{"id":2208,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/346\/revisions\/2208"}],"up":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/314"}],"wp:attachment":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/media?parent=346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}