Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:guide-developer:helloworld:chapter4 [2017/10/11 19:51] – ↷ Page moved from inbox:helloworld:chapter4 to docs:guide-developer:helloworld:chapter4 tmomasdocs:guide-developer:helloworld:chapter4 [2024/08/17 03:53] (current) – old revision restored (2018/12/04 23:29) acbh
Line 1: Line 1:
 <- ..:helloworld:chapter3|Previous Chapter ^ ..:helloworld:start|Helloworld overview ^ ..:helloworld:chapter5|Next Chapter -> <- ..:helloworld:chapter3|Previous Chapter ^ ..:helloworld:start|Helloworld overview ^ ..:helloworld:chapter5|Next Chapter ->
  
-====== Including your package feed into LEDE build system ======+====== Including your package feed into OpenWrt build system ======
  
-This is the fourth chapter in the "Hello, world!" for LEDE article series. At this point, you should've already accomplished the following tasks:+This is the fourth chapter in the "Hello, world!" for OpenWrt article series. At this point, you should've already accomplished the following tasks:
   * Commissioned your development environment   * Commissioned your development environment
   * Prepared, configured and built the tools and the cross-compilation toolchain   * Prepared, configured and built the tools and the cross-compilation toolchain
Line 13: Line 13:
 If you missed one or more of these steps, review the previous chapters. If you missed one or more of these steps, review the previous chapters.
  
-===== Including the new package feed into the LEDE build system =====+===== Including the new package feed into the OpenWrt build system =====
  
-The LEDE build system uses a specific file called ''feeds.conf'' which indicates the package feeds that will be made available during the firmware configuration stage. In order for the package containing the application to be made visible in the first place, it is necessary to include the new package feed into this file.+The OpenWrt build system uses a specific file called ''feeds.conf'' which indicates the package feeds that will be made available during the firmware configuration stage. In order for the package containing the application to be made visible in the first place, it is necessary to include the new package feed into this file.
  
-By default, this file does not exist in the LEDE source code directory, so it is necessary to create it:+By default, this file does not exist in the OpenWrt source code directory, so it is necessary to create it:
 <code> <code>
 cd /home/buildbot/source cd /home/buildbot/source
Line 34: Line 34:
 ./scripts/feeds update mypackages ./scripts/feeds update mypackages
 ./scripts/feeds install -a -p mypackages ./scripts/feeds install -a -p mypackages
 +</code>
 +
 +If the last step completes successfully, you should see the response below as the script finds the feed for our new package and adds it to the index:
 +<code>
 +Installing package 'helloworld' from mypackages
 </code> </code>
  
  • Last modified: 2017/10/11 19:51
  • by tmomas