Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions meta-rdk-mtk-bpir4/recipes-ccsp/ccsp/ccsp-dmcli.bbappend
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
include ccsp_common_bananapi.inc
do_install_append () {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this was working long back.what was the root cause of this issue.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please try to find the change which causes regression

ln -sf ${bindir}/dmcli ${D}${bindir}/ccsp_bus_client_tool
ln -sf ${bindir}/dmcli ${D}/usr/ccsp/ccsp_bus_client_tool
}
19 changes: 18 additions & 1 deletion meta-rdk-mtk-bpir4/recipes-ccsp/util/utopia.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ do_install_append() {
install -d ${D}${sysconfdir}/
install -d ${D}${sysconfdir}/utopia/
install -d -m 0777 ${D}/minidumps
install -m 644 ${S}/source/scripts/init/syslog_conf/syslog.conf_default ${D}${sysconfdir}/
DISTRO_WAN_ENABLED="${@bb.utils.contains('DISTRO_FEATURES','rdkb_wan_manager','true','false',d)}"
if [ $DISTRO_WAN_ENABLED = 'true' ]; then

Expand Down Expand Up @@ -88,14 +89,30 @@ echo "#SelfHeal
#Custom Data Model
\$custom_data_model_enabled=0
\$custom_data_model_file_name=/usr/ccsp/tr069pa/custom_mapper.xml
\$AutoReboot=true" >> ${D}${sysconfdir}/utopia/system_defaults
\$AutoReboot=true
\$FW_LOG_FILE_PATH=/nvram/log/firewall
\@FW_LOG_FILE_PATH_V2=/nvram/log/firewall" >> ${D}${sysconfdir}/utopia/system_defaults

#Remote management
sed -i 's/^\(\$mgmt_wan_httpsaccess=\)0/\11/' ${D}${sysconfdir}/utopia/system_defaults
sed -i 's/^\(\$mgmt_wan_httpaccess=\)1/\10/' ${D}${sysconfdir}/utopia/system_defaults
sed -i 's/^\(\$mgmt_wan_httpsport=\)443/\18181/' ${D}${sysconfdir}/utopia/system_defaults
sed -i '/mgmt_wan_httpaccess/i \$mgmt_wan_httpaccess_ert=1' ${D}${sysconfdir}/utopia/system_defaults

install -d ${D}${sysconfdir}/utopia/service.d/service_syslog
install -m 755 ${S}/source/scripts/init/service.d/service_syslog/*.sh ${D}${sysconfdir}/utopia/service.d/service_syslog
install -m 644 ${S}/source/scripts/init/syslog_conf/syslog.conf_default ${D}${sysconfdir}/
install -D -m 644 ${S}/source/scripts/init/syslog_conf/syslog.conf_default ${D}/fss/gw/${sysconfdir}/syslog.conf.${BPN}
install -m 755 ${S}/source/scripts/init/syslog_conf/log_start.sh ${D}${sbindir}/
install -m 755 ${S}/source/scripts/init/syslog_conf/log_handle.sh ${D}${sbindir}/
install -m 755 ${S}/source/scripts/init/syslog_conf/syslog_conf_tool.sh ${D}${sbindir}/
install -m 644 ${S}/source/scripts/init/service.d/event_flags ${D}${sysconfdir}/utopia/service.d/
install -m 644 ${S}/source/scripts/init/service.d/rt_tables ${D}${sysconfdir}/utopia/service.d/rt_tables
ln -sf /usr/sbin/log_start.sh ${D}/fss/gw/usr/sbin/log_start.sh
ln -sf /usr/sbin/log_handle.sh ${D}/fss/gw/usr/sbin/log_handle.sh



}

FILES_${PN} += " \
Expand Down
5 changes: 5 additions & 0 deletions meta-rdk-mtk-bpir4/recipes-core/busybox/busybox_%.bbappend
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += " file://rdkb-bpi.cfg"
do_install_append() {
rm ${D}${sysconfdir}/init.d/syslog
}

FILES_${PN}-syslog_remove = "${sysconfdir}/init.d/syslog"