|
From: <abe...@us...> - 2015-06-06 00:13:34
|
Revision: 7100
http://sourceforge.net/p/astlinux/code/7100
Author: abelbeck
Date: 2015-06-06 00:13:32 +0000 (Sat, 06 Jun 2015)
Log Message:
-----------
build system, for wanpipe and freeswitch move runlevels symlinks to the .mk file
Modified Paths:
--------------
branches/1.0/package/freeswitch/freeswitch.mk
branches/1.0/package/wanpipe/wanpipe.mk
Removed Paths:
-------------
branches/1.0/project/astlinux/target_skeleton/etc/runlevels/default/K00freeswitch
branches/1.0/project/astlinux/target_skeleton/etc/runlevels/default/K98wanrouter
branches/1.0/project/astlinux/target_skeleton/etc/runlevels/default/S00wanrouter
branches/1.0/project/astlinux/target_skeleton/etc/runlevels/default/S60freeswitch
Modified: branches/1.0/package/freeswitch/freeswitch.mk
===================================================================
--- branches/1.0/package/freeswitch/freeswitch.mk 2015-06-05 16:31:12 UTC (rev 7099)
+++ branches/1.0/package/freeswitch/freeswitch.mk 2015-06-06 00:13:32 UTC (rev 7100)
@@ -86,6 +86,8 @@
ln -sf $(FREESWITCH_INSTALL_DIR)/bin/freeswitch $(TARGET_DIR)/usr/sbin/freeswitch
ln -sf $(FREESWITCH_INSTALL_DIR)/bin/fs_cli $(TARGET_DIR)/usr/sbin/fs_cli
$(INSTALL) -D -m 0755 package/freeswitch/freeswitch.init $(TARGET_DIR)/etc/init.d/freeswitch
+ ln -sf ../../init.d/freeswitch $(TARGET_DIR)/etc/runlevels/default/S60freeswitch
+ ln -sf ../../init.d/freeswitch $(TARGET_DIR)/etc/runlevels/default/K00freeswitch
freeswitch: $(TARGET_DIR)/$(FREESWITCH_TARGET_BINARY)
@@ -98,6 +100,8 @@
rm -rf $(TARGET_DIR)/$(FREESWITCH_INSTALL_DIR) $(TARGET_DIR)/usr/lib/libfreeswitch.so* \
$(TARGET_DIR)/usr/sbin/freeswitch $(TARGET_DIR)/usr/sbin/fs_cli \
$(TARGET_DIR)/etc/init.d/freeswitch
+ rm -f $(TARGET_DIR)/etc/runlevels/default/S60freeswitch
+ rm -f $(TARGET_DIR)/etc/runlevels/default/K00freeswitch
freeswitch-dirclean:
rm -rf $(FREESWITCH_DIR)
Modified: branches/1.0/package/wanpipe/wanpipe.mk
===================================================================
--- branches/1.0/package/wanpipe/wanpipe.mk 2015-06-05 16:31:12 UTC (rev 7099)
+++ branches/1.0/package/wanpipe/wanpipe.mk 2015-06-06 00:13:32 UTC (rev 7100)
@@ -107,6 +107,8 @@
$(INSTALL) -D -m 0755 -s $(WANPIPE_DIR)/util/wanec_client/wan_ec_client $(TARGET_DIR)/usr/sbin/wan_ec_client
$(INSTALL) -m 0755 $(WANPIPE_DIR)/util/wancfg_zaptel/wancfg_dahdi $(TARGET_DIR)/usr/sbin/wancfg_dahdi
$(INSTALL) -m 0755 package/wanpipe/wanrouter.init $(TARGET_DIR)/etc/init.d/wanrouter
+ ln -sf ../../init.d/wanrouter $(TARGET_DIR)/etc/runlevels/default/S00wanrouter
+ ln -sf ../../init.d/wanrouter $(TARGET_DIR)/etc/runlevels/default/K98wanrouter
## Install and Cleanup wancfg_zaptel directory
cp -af $(WANPIPE_DIR)/util/wancfg_zaptel $(TARGET_DIR)/etc/wanpipe
for i in setup-sangoma clean.sh install.sh uninstall.sh Makefile; do \
@@ -147,6 +149,9 @@
rm -f $(TARGET_DIR)/usr/sbin/wanpipe_lxdialog
rm -f $(TARGET_DIR)/usr/sbin/wan_ec_client
rm -f $(TARGET_DIR)/usr/sbin/wancfg_dahdi
+ rm -f $(TARGET_DIR)/etc/init.d/wanrouter
+ rm -f $(TARGET_DIR)/etc/runlevels/default/S00wanrouter
+ rm -f $(TARGET_DIR)/etc/runlevels/default/K98wanrouter
rm -f $(WANPIPE_DIR)/.built
wanpipe-dirclean:
Deleted: branches/1.0/project/astlinux/target_skeleton/etc/runlevels/default/K00freeswitch
===================================================================
--- branches/1.0/project/astlinux/target_skeleton/etc/runlevels/default/K00freeswitch 2015-06-05 16:31:12 UTC (rev 7099)
+++ branches/1.0/project/astlinux/target_skeleton/etc/runlevels/default/K00freeswitch 2015-06-06 00:13:32 UTC (rev 7100)
@@ -1 +0,0 @@
-link ../../init.d/freeswitch
\ No newline at end of file
Deleted: branches/1.0/project/astlinux/target_skeleton/etc/runlevels/default/K98wanrouter
===================================================================
--- branches/1.0/project/astlinux/target_skeleton/etc/runlevels/default/K98wanrouter 2015-06-05 16:31:12 UTC (rev 7099)
+++ branches/1.0/project/astlinux/target_skeleton/etc/runlevels/default/K98wanrouter 2015-06-06 00:13:32 UTC (rev 7100)
@@ -1 +0,0 @@
-link ../../init.d/wanrouter
\ No newline at end of file
Deleted: branches/1.0/project/astlinux/target_skeleton/etc/runlevels/default/S00wanrouter
===================================================================
--- branches/1.0/project/astlinux/target_skeleton/etc/runlevels/default/S00wanrouter 2015-06-05 16:31:12 UTC (rev 7099)
+++ branches/1.0/project/astlinux/target_skeleton/etc/runlevels/default/S00wanrouter 2015-06-06 00:13:32 UTC (rev 7100)
@@ -1 +0,0 @@
-link ../../init.d/wanrouter
\ No newline at end of file
Deleted: branches/1.0/project/astlinux/target_skeleton/etc/runlevels/default/S60freeswitch
===================================================================
--- branches/1.0/project/astlinux/target_skeleton/etc/runlevels/default/S60freeswitch 2015-06-05 16:31:12 UTC (rev 7099)
+++ branches/1.0/project/astlinux/target_skeleton/etc/runlevels/default/S60freeswitch 2015-06-06 00:13:32 UTC (rev 7100)
@@ -1 +0,0 @@
-link ../../init.d/freeswitch
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|