mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-01-27 17:37:18 +01:00
swmodd: updated root path to /apps
This commit is contained in:
parent
e33340ea8d
commit
50e2add3ab
3 changed files with 9 additions and 2 deletions
|
|
@ -5,7 +5,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=swmodd
|
||||
PKG_VERSION:=2.5.25
|
||||
PKG_VERSION:=2.5.26
|
||||
|
||||
LOCAL_DEV:=0
|
||||
ifneq ($(LOCAL_DEV),1)
|
||||
|
|
@ -85,6 +85,8 @@ define Package/swmodd/install
|
|||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/scripts/opkg_offline.sh $(1)/usr/share/swmodd/opkg_offline
|
||||
$(INSTALL_BIN) ./files/etc/uci-defaults/01-fix-bundle-path $(1)/etc/uci-defaults/01-fix-bundle-path
|
||||
$(INSTALL_BIN) ./files/etc/uci-defaults/03-execenv-ref $(1)/etc/uci-defaults/03-execenv-ref
|
||||
$(INSTALL_BIN) ./files/etc/uci-defaults/04-update-root-path $(1)/etc/uci-defaults/04-update-root-path
|
||||
|
||||
ifeq ($(CONFIG_PACKAGE_liblxc),y)
|
||||
$(INSTALL_DIR) $(1)/usr/share/lxc/templates/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/templates/lxc-iopsys $(1)/usr/share/lxc/templates/lxc-iopsys
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ config globals 'globals'
|
|||
option debug '1'
|
||||
option log_level '3'
|
||||
option lan_bridge 'br-lan'
|
||||
option root '/container'
|
||||
|
||||
config execenv 'execenv_1'
|
||||
option name 'oci'
|
||||
|
|
|
|||
6
swmodd/files/etc/uci-defaults/04-update-root-path
Normal file
6
swmodd/files/etc/uci-defaults/04-update-root-path
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# exit if swmodd uci not present
|
||||
[ -f "/etc/config/swmodd" ] || exit 0
|
||||
|
||||
uci -q set swmodd.globals.root="/apps"
|
||||
Loading…
Add table
Reference in a new issue