projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a few SPDX tags
[openwrt.git]
/
package
/
base-files
/
Makefile
diff --git
a/package/base-files/Makefile
b/package/base-files/Makefile
index
ebce5fe
..
83b9929
100644
(file)
--- a/
package/base-files/Makefile
+++ b/
package/base-files/Makefile
@@
-1,5
+1,5
@@
#
#
-# Copyright (C) 2007-201
3
OpenWrt.org
+# Copyright (C) 2007-201
4
OpenWrt.org
# Copyright (C) 2010 Vertical Communications
#
# This is free software, licensed under the GNU General Public License v2.
# Copyright (C) 2010 Vertical Communications
#
# This is free software, licensed under the GNU General Public License v2.
@@
-7,15
+7,15
@@
#
include $(TOPDIR)/rules.mk
#
include $(TOPDIR)/rules.mk
-include $(INCLUDE_DIR)/kernel.mk
include $(INCLUDE_DIR)/version.mk
include $(INCLUDE_DIR)/version.mk
+include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=base-files
PKG_NAME:=base-files
-PKG_RELEASE:=1
39
+PKG_RELEASE:=1
56
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
PKG_BUILD_DEPENDS:=opkg/host
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
PKG_BUILD_DEPENDS:=opkg/host
-PKG_
CONFIG_DEPENDS:=CONFIG_PROCD_INIT
+PKG_
LICENSE:=GPL-2.0
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/package.mk
@@
-29,7
+29,7
@@
endif
define Package/base-files
SECTION:=base
CATEGORY:=Base system
define Package/base-files
SECTION:=base
CATEGORY:=Base system
- DEPENDS:=+netifd +libc +procd
+ DEPENDS:=+netifd +libc +procd
+jsonfilter
TITLE:=Base filesystem for OpenWrt
URL:=http://openwrt.org/
VERSION:=$(PKG_RELEASE)-$(REVISION)
TITLE:=Base filesystem for OpenWrt
URL:=http://openwrt.org/
VERSION:=$(PKG_RELEASE)-$(REVISION)
@@
-56,18
+56,6
@@
define Package/base-files/description
This package contains a base filesystem and system scripts for OpenWrt.
endef
This package contains a base filesystem and system scripts for OpenWrt.
endef
-define Package/base-files/config
-config PROCD_INIT
- bool "Use procd as the init process"
- default n
-endef
-
-ifeq ($(CONFIG_PROCD_INIT),)
-define InstallOldFiles
- $(CP) ./files.old/* $(1)/
-endef
-endif
-
ifneq ($(CONFIG_PREINITOPT),)
define ImageConfigOptions
mkdir -p $(1)/lib/preinit
ifneq ($(CONFIG_PREINITOPT),)
define ImageConfigOptions
mkdir -p $(1)/lib/preinit
@@
-100,7
+88,6
@@
define Package/base-files/install
if [ -d $(GENERIC_PLATFORM_DIR)/base-files/. ]; then \
$(CP) $(GENERIC_PLATFORM_DIR)/base-files/* $(1)/; \
fi
if [ -d $(GENERIC_PLATFORM_DIR)/base-files/. ]; then \
$(CP) $(GENERIC_PLATFORM_DIR)/base-files/* $(1)/; \
fi
- $(call InstallOldFiles,$(1))
if [ -d $(PLATFORM_DIR)/base-files/. ]; then \
$(CP) $(PLATFORM_DIR)/base-files/* $(1)/; \
fi
if [ -d $(PLATFORM_DIR)/base-files/. ]; then \
$(CP) $(PLATFORM_DIR)/base-files/* $(1)/; \
fi
@@
-124,8
+111,11
@@
define Package/base-files/install
$(VERSION_SED) \
$(1)/etc/banner \
$(VERSION_SED) \
$(1)/etc/banner \
- $(1)/etc/openwrt_version \
- $(1)/etc/openwrt_release
+ $(1)/etc/openwrt_version
+
+ $(VERSION_SED_SCRIPT) \
+ $(1)/etc/openwrt_release \
+ $(1)/etc/device_info
mkdir -p $(1)/CONTROL
mkdir -p $(1)/dev
mkdir -p $(1)/CONTROL
mkdir -p $(1)/dev