File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -269,6 +269,10 @@ config BR2_PACKAGE_WPEFRAMEWORK_VIRTUALINPUT
269269 If the dynamic uinput system can not be used for security reasons, this
270270 allows for relaying keys to plugins
271271
272+ config BR2_PACKAGE_WPEFRAMEWORK_INSTALL_INITD_DEPRECATED
273+ bool "Init.d script from package config (deprecated)"
274+ help
275+ Install thunder config file from buildroot package config folder"
272276endmenu
273277
274278menu "Plugins"
Original file line number Diff line number Diff line change @@ -156,6 +156,7 @@ endif
156156
157157WPEFRAMEWORK_CONF_OPTS += -DEXTERN_EVENTS="${WPEFRAMEWORK_EXTERN_EVENTS}"
158158
159+ ifeq ($(BR2_PACKAGE_WPEFRAMEWORK_INSTALL_INITD_DEPRECATED ) ,y)
159160ifeq ($(BR2_PACKAGE_WPEFRAMEWORK_NETWORKCONTROL ) ,y)
160161define WPEFRAMEWORK_POST_TARGET_INITD
161162 mkdir -p $(TARGET_DIR ) /etc/init.d
@@ -167,6 +168,11 @@ define WPEFRAMEWORK_POST_TARGET_INITD
167168 $(INSTALL ) -D -m 0755 $(WPEFRAMEWORK_PKGDIR ) /S80WPEFramework $(TARGET_DIR ) /etc/init.d
168169endef
169170endif
171+ else
172+ define WPEFRAMEWORK_POST_TARGET_INITD
173+ mv $(TARGET_DIR ) /etc/init.d/wpeframework $(TARGET_DIR ) /etc/init.d/S40WPEFramework
174+ endef
175+ endif
170176
171177define WPEFRAMEWORK_POST_TARGET_REMOVE_STAGING_ARTIFACTS
172178 mkdir -p $(TARGET_DIR ) /etc/WPEFramework
You can’t perform that action at this time.
0 commit comments