X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=package%2Fbase-files%2FMakefile;h=c3b03508893a9b9c428a2169f119cb1f6c7721a4;hp=5553c99afb6d1399d918a910e0285b3081f1503e;hb=a94c88d3c506f8480fefd2c14ae1f4e8be5a737a;hpb=4e88a660b0fa24feeed88fcd42b148f0b4aa21e3 diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 5553c99afb..c3b0350889 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=base-files -PKG_RELEASE:=77 +PKG_RELEASE:=88 PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ PKG_BUILD_DEPENDS:=opkg/host @@ -34,6 +34,7 @@ endif define Package/base-files SECTION:=base CATEGORY:=Base system + DEPENDS:=+!USE_NETIFD:base-files-network +USE_NETIFD:netifd TITLE:=Base filesystem for OpenWrt URL:=http://openwrt.org/ VERSION:=$(PKG_RELEASE)-$(REVISION) @@ -65,6 +66,11 @@ define Package/base-files/description This package contains a base filesystem and system scripts for OpenWrt. endef +define Package/base-files/config + config USE_NETIFD + bool "Use netifd instead of the old network init scripts (experimental!)" + default n +endef define Package/gcc/Default SECTION:=libs @@ -513,6 +519,8 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) define Package/glibc/install $(CP) ./glibc-files/* $(1)/ + rm -f $(1)/etc/localtime + ln -sf /tmp/localtime $(1)/etc/localtime $(INSTALL_DIR) $(1)/lib $(CP) \ $(TOOLCHAIN_DIR)/lib/ld*.so.* \