Table of Contents

Tutorial OpenWRT Package

We package existing ibrdtn source for OpenWRT.

Source: https://github.com/thuydang/ibrdtn.git

Repo for packages feed: https://github.com/thuydang/ibrdtn-feed.git

Prepare working dir

  git clone https://github.com/thuydang/ibrdtn-feed.git ibrdtn-feed
  cd ibrdtn-feed
  mkdir ibrdtn
  cd ibrdtn
  ls ibrdtn
  # empty
  
  # Create dirs and Makefile (package structure)
  touch Makefile
  mkdir files
  mkdir patches
  

Edit Makefile

Push to Git

  git add .
  git commit -a -m "Update Makefile"
  git push origin master
  

Add Feed to Build-root

  vim feeds.conf
  src-git ibrdtn https://github.com/thuydang/ibrdtn-feed.git
  
  ./scripts/feeds update -a
  ./scripts/feeds install -a
  
  

References