Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 37 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,38 @@
# ffsu-site
# tools for building firmware images from gluon 2017.x / 2018.x / 2019.x / 2020.x / 2021.x
tools for building firmware images from gluon 2017.x / 2018.x / 2019.x / 2020.x / 2021.x / 2022.x

# Usage

## Cloning Gluon

1. Clone the gluon repo.
2. Checkout the release you want to use
2. `cd gluon`

## Adding ffrsk-site

```
gluon# git clone git@github.com:Freifunk-Rhein-Sieg/ffrsk-site.git site
```

## Adding freifunk-packages

```
gluon# cd package
gluon/package# git clone git@github.com:Freifunk-Rhein-Sieg/freifunk-packages.git
gluon/package# ln -s freifunk-packages/gluon* .
gluon/package# ln -s freifunk-packages/nightswitch
```

## Applying patches

Sometimes there are multiple patches with the same content for different versions.
Carefully select which patches you want to apply.
Example:

```
$ pwd
gluon/ffrsk-site
$ cat patches/103-mac8011-iwfull.patch | git patch
$ cat patches/package/102-fix-respondd-rsk.patch | git apply
```
13 changes: 13 additions & 0 deletions patches/103-mac8011-iwfull.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile
index 830e5052b8..5d6d0eea65 100644
--- a/package/kernel/mac80211/Makefile
+++ b/package/kernel/mac80211/Makefile
@@ -97,7 +97,7 @@ PKG_CONFIG_DEPENDS += \
define KernelPackage/cfg80211
$(call KernelPackage/mac80211/Default)
TITLE:=cfg80211 - wireless configuration API
- DEPENDS+= +iw +iwinfo +wireless-regdb +USE_RFKILL:kmod-rfkill
+ DEPENDS+= +iw-full +iwinfo +wireless-regdb +USE_RFKILL:kmod-rfkill
ABI_VERSION:=$(PKG_VERSION)-$(PKG_RELEASE)
FILES:= \
$(PKG_BUILD_DIR)/compat/compat.ko \