diff --git a/ffpb/ffpb-openwrt-migration-tools/Makefile b/ffpb/ffpb-openwrt-migration-tools/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..7c4619f373eb89bf8d076d7cba71e7b3559e6f58 --- /dev/null +++ b/ffpb/ffpb-openwrt-migration-tools/Makefile @@ -0,0 +1,42 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=ffpb-openwrt-migration-tools +PKG_VERSION:=1 +PKG_RELEASE:=$(GLUON_VERSION).$(GLUON_SITE_CODE)-$(GLUON_RELEASE).$(GLUON_CONFIG_VERSION) + +PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) + +include $(INCLUDE_DIR)/package.mk + +define Package/ffpb-openwrt-migration-tools + SECTION:=ffpb + CATEGORY:=Gluon + TITLE:=Toolset of scripts that support the migration from one version of OpenWRT to another. + DEPENDS:=+gluon-core +busybox + MAINTAINER:=Freifunk Paderborn <maschinenraum@paderborn.freifunk.net> + URL:=https://git.c3pb.de/freifunk-pb/ffpb-packages + SOURCE:=git@git.c3pb.de:freifunk-pb/ffpb-packages.git +endef + +define Package/ffpb-openwrt-migration-tools/description + A collection of scripts that fix and cleanup configurations on a node + when migrating the Gluon base-version of OpenWRT from one major release + to another. +endef + +define Build/Prepare + mkdir -p $(PKG_BUILD_DIR) +endef + +define Build/Configure +endef + +define Build/Compile +endef + +define Package/ffpb-openwrt-migration-tools/install + $(INSTALL_DIR) $(1)/etc/uci-defaults/ + $(INSTALL_BIN) ./files/etc/uci-defaults/90-tlwr1043ndv2-autoupdater-to-stable $(1)/etc/uci-defaults/ +endef + +$(eval $(call BuildPackage,ffpb-openwrt-migration-tools)) diff --git a/ffpb/ffpb-tl-wr1043ndv2-autoupdater-2-stable/files/etc/uci-defaults/90-tl-wr1043nd-v2-autoupdater-to-stable b/ffpb/ffpb-openwrt-migration-tools/files/etc/uci-defaults/90-tlwr1043ndv2-autoupdater-to-stable similarity index 100% rename from ffpb/ffpb-tl-wr1043ndv2-autoupdater-2-stable/files/etc/uci-defaults/90-tl-wr1043nd-v2-autoupdater-to-stable rename to ffpb/ffpb-openwrt-migration-tools/files/etc/uci-defaults/90-tlwr1043ndv2-autoupdater-to-stable diff --git a/ffpb/ffpb-tl-wr1043ndv2-autoupdater-2-stable/Makefile b/ffpb/ffpb-tl-wr1043ndv2-autoupdater-2-stable/Makefile deleted file mode 100644 index b37a986c5932f00a889f783ab64299ad38aa4b3c..0000000000000000000000000000000000000000 --- a/ffpb/ffpb-tl-wr1043ndv2-autoupdater-2-stable/Makefile +++ /dev/null @@ -1,51 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=ffpb-tl-wr1043ndv2-autoupdater-2-stable -PKG_VERSION:=1 -PKG_RELEASE:=$(GLUON_VERSION).$(GLUON_SITE_CODE)-$(GLUON_RELEASE).$(GLUON_CONFIG_VERSION) - -PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) - -include $(INCLUDE_DIR)/package.mk - -define Package/ffpb-tl-wr1043ndv2-autoupdater-2-stable - SECTION:=ffpb - CATEGORY:=Gluon - TITLE:=One-Time TP-Link TL-WR1043NDv2 Autoupdater Branch Change - DEPENDS:=+gluon-core +busybox - MAINTAINER:=Freifunk Paderborn <maschinenraum@paderborn.freifunk.net> - URL:=https://git.c3pb.de/freifunk-pb/ffpb-packages - SOURCE:=git@git.c3pb.de:freifunk-pb/ffpb-packages.git -endef - -define Package/ffpb-tl-wr1043ndv2-autoupdater-2-stable/description - We supported the TP-Link TL-WR1043NDv2 hardware already in an early - phase in the development of Gluon 2014.4 by building custom firmware - and published them in the testing branch (and later also in the - stable branch). As a device with quite a lot of CPU-Power, it is used - in some rather crowded environments in bars and stores. It is unclear, - though, which update stream got configured by the users in this scenario. - - As this particular piece of hardware is now officially supported by - Gluon with version 2014.4, we are going to set the autoupdater branch - to "stable" on ALL of these devices, such that development can be cont- - inued in the testing & experimental branches without interfering the - use of the nodes at our "early adopters". -endef - -define Build/Prepare - mkdir -p $(PKG_BUILD_DIR) -endef - -define Build/Configure -endef - -define Build/Compile -endef - -define Package/ffpb-tl-wr1043ndv2-autoupdater-2-stable/install - $(INSTALL_DIR) $(1)/etc/uci-defaults/ - $(INSTALL_BIN) ./files/etc/uci-defaults/90-tl-wr1043nd-v2-autoupdater-to-stable $(1)/etc/uci-defaults/ -endef - -$(eval $(call BuildPackage,ffpb-tl-wr1043ndv2-autoupdater-2-stable))