From 2255c9b9a14b8ddf6c4dd0a170f6d81836a0b71b Mon Sep 17 00:00:00 2001 From: Eric Fahlgren Date: Wed, 30 Oct 2024 17:42:19 -0700 Subject: [PATCH] attendedsysupgrade-common: give the uci-defaults script a run level Move the init script to '50-attendedsysupgrade', so it is run in the middle of the init sequence, rather than after all the explicitly ordered ones. This allows later scripts, specifically the 99-level ones, to modify the contents of the attendedsysupgrade configuration. Signed-off-by: Eric Fahlgren --- utils/attendedsysupgrade-common/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/attendedsysupgrade-common/Makefile b/utils/attendedsysupgrade-common/Makefile index 5baa05d923..f927376ee8 100644 --- a/utils/attendedsysupgrade-common/Makefile +++ b/utils/attendedsysupgrade-common/Makefile @@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=attendedsysupgrade-common -PKG_VERSION:=8 +PKG_VERSION:=9 PKG_LICENSE:=GPL-2.0 include $(INCLUDE_DIR)/package.mk @@ -49,7 +49,7 @@ endef define Package/attendedsysupgrade-common/install $(INSTALL_DIR) $(1)/etc/uci-defaults/ - $(INSTALL_DATA) ./files/attendedsysupgrade.defaults $(1)/etc/uci-defaults/attendedsysupgrade + $(INSTALL_DATA) ./files/attendedsysupgrade.defaults $(1)/etc/uci-defaults/50-attendedsysupgrade $(INSTALL_DIR) $(1)/etc/opkg/keys/ $(INSTALL_DATA) ./files/8a11255d14aef6c8 $(1)/etc/opkg/keys/8a11255d14aef6c8