/falter-repo_builder

DEPRECATED: Build a package feed with dockerized OpenWrt-SDK

Primary LanguageShell

Deprecation Notice

The repobuilder was deprecated in favor of a new [build.sh-script](https://github.com/freifunk-berlin/falter-packages/tree/master/build). It resides in the packages-repository. This repository is kept for historical reasons.

Overall Project Structure and Falter Repositories

The Falter project builds a modern OpenWrt-based firmware for Freifunk Berlin. We split our code on different repositories. For the beginning there are three main repositories you should know:

  • packages: This repo holds the source code for an OpenWrt package feed. All falter specific packets reside there, regardless if they are luci-apps or just command-line-apps. Everything should be bundled as a package. If you want to file an issue or fix a bug you probably want to go here.
  • repo_builder: In that repo there is a script which compiles the source codes from packages repo into a package feed. We use the dockerized OpenWrt-SDK for that.
  • builter: The builter assembles Freifunk images from the OpenWrt-imagebuilder and the pre-compiled package feed from repo-builder. If you want to include a new app into falter, you'd need to add it to the packagelists defined here.

repo_builder

This is a toolchain which aims to build the falter feed in an automated fashion. There is nothing fancy going on here, just a couple of shell scripts which instrument the dockerized OpenWrt-SDK.

Prerequisites

  • Docker
  • Python module docker-hub (pip3 install docker-hub)

How to Get Started?

#!/bin/bash

./build_all_targets 19.07.7 'src-git falter https://github.com/Freifunk-Spalter/packages.git^8bd09448b8d7f349d0ee3502e5df9303b2272da0' /tmp/bin/
./publish "/tmp/bin/" "/var/www/html/" "19.07" "falter"