Verified Commit 78473467 authored by Josef Schlehofer's avatar Josef Schlehofer 💬
Browse files

mox-support: remove reset_button from generic package

We are shipping different reset_button function in Turris Shield and
Turris MOX. We can not have it in one generic file as it leads to this
issue:

/etc/hotplug.d/button/mox_reset: mox-support (existing-file), mox-generic-support (new-file)

So, ship reset_button in specific support packages instead of generic
one.

Fixes: 26fba930 ("nor-update: Generalize
to work for all devices")
parent 9298590d
......@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mox-support
PKG_VERSION:=2.3.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=CZ.NIC <packaging@turris.cz>
include $(INCLUDE_DIR)/package.mk
......@@ -48,9 +48,6 @@ endef
Build/Compile:=:
define Package/mox-generic-support/install
$(INSTALL_DIR) $(1)/etc/hotplug.d/button
$(INSTALL_DATA) ./files/reset_btn $(1)/etc/hotplug.d/button/mox_reset
echo '/dev/mtd2 0 0x00010000' > $(1)/etc/fw_env.config
endef
define Package/mox-support/install
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment