Skip to content

Commit

Permalink
attendedsysupgrade-common: give the uci-defaults script a run level
Browse files Browse the repository at this point in the history
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 <ericfahlgren@gmail.com>
  • Loading branch information
efahl authored and aparcar committed Oct 31, 2024
1 parent 22ad5d8 commit 2255c9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/attendedsysupgrade-common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2255c9b

Please sign in to comment.