[PATCH v2 1/2] basic layout for freifunk franken firmware

Tim Niemeyer tim.niemeyer at mastersword.de
Di Jul 21 12:43:52 CEST 2015


Hallo Tobias,

Auch hier: Signed-off-by?

* Tobias Klaus <tk+ff at meskal.net> [21-07-15 10:50]:
> Date: Tue, 21 Jul 2015 10:50:21 +0200
> From: Tobias Klaus <tk+ff at meskal.net>
> To: franken-dev at freifunk.net
> Subject: [PATCH v2 1/2] basic layout for freifunk franken firmware
> X-Envelope-From: tk+ff at meskal.net
> X-Envelope-To: <franken-dev at freifunk.net>
> X-Mailer: git-send-email 2.4.6
> 
> * see README.md for further explanation
> * the ugly workaround files ".keepdir" should be deleted
>   as soon as possible

Reviewed-by: Tim Niemeyer <tim.niemeyer at mastersword.de>

Tim

> ---
>  README.md                 | 77 +++++++++++++++++++++++++++++++++++++++++++++++
>  package.config            |  0
>  packages/.keepdir         |  0
>  patches/openwrt/.keepdir  |  0
>  patches/packages/.keepdir |  0
>  patches/routing/.keepdir  |  0
>  scripts/.keepdir          |  0
>  7 files changed, 77 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..e2f9d36
> --- /dev/null
> +++ b/README.md
> @@ -0,0 +1,77 @@
> +##Freifunk Franken Firmware Repository
> +
> +Basic layout
> +============
> +
> +<pre>
> +├── 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
> +</pre>
> +
> +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
> +
> +Apply our patches for openwrt
> +<pre>
> +git am ${FF_REPO}/patches/openwrt/*
> +</pre>
> +
> +Fetch the offical package feeds
> +<pre>
> +./scripts/feeds update -a
> +</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 additional feed
> +<pre>
> +echo "src-link FF_FEED ${FF_REPO}/packages" >> feeds.conf
> +</pre>
> +
> +Index and install all selected package feeds
> +<pre>
> +./scripts/feeds update -i
> +./scripts/feeds install -a
> +</pre>
> +
> +Add our packages that differ from official profiles
> +<pre>
> +cat ${FF_REPO}/package.config > .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.6
> 
> -- 
> franken-dev mailing list
> franken-dev at freifunk.net
> http://lists.freifunk.net/mailman/listinfo/franken-dev-freifunk.net


Tim Niemeyer
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : signature.asc
Dateityp    : application/pgp-signature
Dateigröße  : 836 bytes
Beschreibung: Digital signature
URL         : <http://lists.freifunk.net/pipermail/franken-dev-freifunk.net/attachments/20150721/d87cec56/attachment-0002.sig>


Mehr Informationen über die Mailingliste franken-dev