Post

OpenWRT - devtool (DRAFT)

OpenWRT - devtool (DRAFT)

Introduction

The devtool provides the following features:

  1. Modify the package from openwrt codebase.
  2. New the package to openwrt codebase by built-in example or remote url repository.
  3. List all packages in devtool workspace.
  4. Abort the package in devetool workspace.

The major idea is duplicate the target package to seperate workspace

Layout

1
2
3
4
5
6
7
8
9
<user>/
├── openwrt/             # openwrt codebase
└── openwrt_devtool/     # openwrt devtool 
	├── devtool.sh*          # main progress
	├── history.md
	├── readme.md
	└── workspace/	         # workspace ( new/modify packages )
		├── FEEDS/
		└── SOURCES/

todo: complete layout tree diagram ( sub-folders below workspace/ )

Example

There are serveral example below:

  • Prepare openwrt image and run it on qemu. link
  • Create new package, hello world package. link
  • Modify existed package. todo
This post is licensed under CC BY 4.0 by the author.

Trending Tags