[PATCH 1/3] basic layout for freifunk franken firmware

tk+ff at meskal.net tk+ff at meskal.net
Mi Jul 15 19:33:38 CEST 2015


* see README.md for further explanation
* the ugly workaround files ".keepdir" should be deleted
  as soon as possible
---
 README.md                 | 72 +++++++++++++++++++++++++++++++++++++++++++++++
 package.config            |  0
 packages/.keepdir         |  0
 patches/openwrt/.keepdir  |  0
 patches/packages/.keepdir |  0
 patches/routing/.keepdir  |  0
 scripts/.keepdir          |  0
 7 files changed, 72 insertions(+)
 create mode 100644 README.md
 create mode 100644 package.config
 create mode 100644 packages/.keepdir
 create mode 100644 patches/openwrt/.keepdir
 create mode 100644 patches/packages/.keepdir
 create mode 100644 patches/routing/.keepdir
 create mode 100644 scripts/.keepdir

diff --git a/README.md b/README.md
new file mode 100644
index 0000000..b92ef5f
--- /dev/null
+++ b/README.md
@@ -0,0 +1,72 @@
+##Freifunk Franken Firmware Repository
+
+Basic layout
+============
+
+
+├── packages        -> Openwrt-Packages provided by this repository
+├── package.config  -> Selection of packages that differ from openwrt profiles
+├── patches         -> Patches for
+│   ├── openwrt         * the openwrt repo itself
+│   ├── packages        * the openwrt package feed
+│   └── routing         * the openwrt routing package feed
+├── scripts         -> Convienent scripts to automate reoccurring steps
+└── README.md       -> Exactly this file
+
+
+How to turn a normal openwrt buildroot checkout into a Freifunk Franken Firmware
+================================================================================
+
+We assume that your current working directory is the root of the openwrt repository
+and that your checkout of this repo resides in ${FF_REPO}.
+We also assume that you have compiled openwrt before and thus have all dependencies
+already installed. If not see: http://wiki.openwrt.org/doc/howto/easy.build
+
+Initally update and install the offical package feeds
+<pre>
+./scripts/feeds update -a
+./scripts/feeds install -a
+</pre>
+
+Apply patches for openwrt
+<pre>
+git am ${FF_REPO}/patches/openwrt/*
+</pre>
+
+Apply patches for openwrt packages
+<pre>
+cd feeds/packages && git am ${FF_REPO}/patches/packages/* && cd -
+</pre>
+
+Apply patches for openwrt routing packages
+<pre>
+cd feeds/routing && git am ${FF_REPO}/patches/routing/* && cd -
+</pre>
+
+Add our packages as an extra feed
+<pre>
+echo src-link FF_FEED ${FF_REPO}/packages >> feeds.conf
+</pre>
+
+Add our packages that differ from official profiles
+<pre>
+cat ${FF_REPO} > .config
+</pre>
+
+Configure openwrt:
+<pre>
+make defconfig
+make menuconfig
+</pre>
+
+Now select the "Target System" and "Target Profile" for your AP model.
+
+Finally start the build process
+<pre>
+make
+</pre>
+
+How to submit patches
+=====================
+Please send patches you would like to contribute to this repository to this mailinglist:
+franken-dev at freifunk.net
diff --git a/package.config b/package.config
new file mode 100644
index 0000000..e69de29
diff --git a/packages/.keepdir b/packages/.keepdir
new file mode 100644
index 0000000..e69de29
diff --git a/patches/openwrt/.keepdir b/patches/openwrt/.keepdir
new file mode 100644
index 0000000..e69de29
diff --git a/patches/packages/.keepdir b/patches/packages/.keepdir
new file mode 100644
index 0000000..e69de29
diff --git a/patches/routing/.keepdir b/patches/routing/.keepdir
new file mode 100644
index 0000000..e69de29
diff --git a/scripts/.keepdir b/scripts/.keepdir
new file mode 100644
index 0000000..e69de29
-- 
2.4.5




Mehr Informationen über die Mailingliste franken-dev