Ignore:
Timestamp:
Nov 19, 2016, 2:03:12 PM (3 years ago)
Author:
amain
Message:

Install target dependent files during boot (sysV or systemd). This is needed because DebWrt rootfs image now are target independent. The target dependent files are installed via the debwrt-modules-*.gz file, which contains the target depending moduels and two files: /lib/modules/debwrt.target and /lib/modules/debwrt.subtarget. In case systemd does not work, sysvinit is installed as well (jessie+).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/openwrt-deliver.mk

    r724 r770  
    8888        done
    8989        PATH="/sbin:/bin:/usr/sbin:/usr/bin" depmod -a -b $(INSTALL_DIR_OPENWRT_MODULES) $(OPENWRT_LINUX_UNAME_VERSION)
     90        echo $(TARGET) >$(INSTALL_DIR_OPENWRT_MODULES)/lib/modules/debwrt.target
     91        echo $(SUB_TARGET) >$(INSTALL_DIR_OPENWRT_MODULES)/lib/modules/debwrt.subtarget
    9092        tar czf $(INSTALL_DIR_OPENWRT)/$(MODULES_TAR_GZ) -C $(INSTALL_DIR_OPENWRT_MODULES) .
    9193
Note: See TracChangeset for help on using the changeset viewer.