diff --git a/README.md b/README.md index c4db4e9..79d7bf9 100644 --- a/README.md +++ b/README.md @@ -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 +``` diff --git a/patches/103-mac8011-iwfull.patch b/patches/103-mac8011-iwfull.patch new file mode 100644 index 0000000..fc87f0a --- /dev/null +++ b/patches/103-mac8011-iwfull.patch @@ -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 \