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
12 changes: 12 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,18 @@ AC_ARG_ENABLE([hotspot],
[enable_hotspot=true])
AM_CONDITIONAL([ENABLE_HOTSPOT_SERVICE], [test x$enable_hotspot = xtrue])

AC_ARG_ENABLE([igmpmld],
AS_HELP_STRING([--enable-igmpmld],[Enable igmpmld]),
[
case "${enableval}" in
yes) enable_igmpmld=true ;;
no) enable_igmpmld=false ;;
*) AC_MSG_ERROR([bad value ${enableval} for --enable-igmpmld]) ;;
esac
],
[enable_igmpmld=true])
AM_CONDITIONAL([ENABLE_MCAST_SERVICE], [test x$enable_igmpmld = xtrue])

AC_CONFIG_FILES(
Makefile
source/Makefile
Expand Down
14 changes: 9 additions & 5 deletions source/scripts/init/c_registration/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ bin_PROGRAMS = \
03_connectcheck \
09_xdns \
10_firewall \
10_mcastproxy \
10_mldproxy \
10_ntpd \
15_ccsphs \
15_ddnsclient \
Expand All @@ -69,6 +67,10 @@ if FEATURE_RDKB_EXTENDER
bin_PROGRAMS += 02_devicemode
endif

if ENABLE_MCAST_SERVICE

@apattu200 apattu200 Apr 9, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

For existing platforms will this prevent MCAST bianaries. in corresponding META changes configure not properly set

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

are you mentioning about bb file change or configure.ac ?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

ENABLE_MCAST_SERVICE = "${@bb.utils.contains('DISTRO_FEATURES', 'no_utopia_mcast', 'no', 'yes', d)}"
is the change made in bb file,
In your case :
DISTRO_FEATURES does NOT contain 'no_utopia_mcast'
ENABLE_MCAST_SERVICE = "yes"

bin_PROGRAMS += 10_mcastproxy 10_mldproxy
endif

if ENABLE_POTD_SERVICE
bin_PROGRAMS += 26_potd
endif
Expand Down Expand Up @@ -98,9 +100,6 @@ endif
10_bootstrap_dns_SOURCES = 10_bootstrap_dns.c
10_firewall_SOURCES = 10_firewall.c
10_fpm_SOURCES = 10_fpm.c
10_mcastproxy_SOURCES = 10_mcastproxy.c
10_mcastsnooper_SOURCES = 10_mcastsnooper.c
10_mldproxy_SOURCES = 10_mldproxy.c
10_ntpclient_SOURCES = 10_ntpclient.c
10_ntpd_SOURCES = 10_ntpd.c
10_sysevent_proxy_SOURCES = 10_sysevent_proxy.c
Expand Down Expand Up @@ -130,6 +129,11 @@ endif
if FEATURE_RDKB_EXTENDER
02_devicemode_SOURCES = 02_devicemode.c
endif
if ENABLE_MCAST_SERVICE
10_mcastproxy_SOURCES = 10_mcastproxy.c
10_mcastsnooper_SOURCES = 10_mcastsnooper.c
10_mldproxy_SOURCES = 10_mldproxy.c
endif
if ENABLE_POTD_SERVICE
26_potd_SOURCES = 26_potd.c
endif
Expand Down
4 changes: 2 additions & 2 deletions source/scripts/init/service.d/service_misc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ if [ "$RG_MD" = "1" -o "$RG_MD" = "3" ]; then
/etc/utopia/service.d/service_igd.sh lan-status&
fi

if [ "$RG_MD" = "1" -o "$RG_MD" = "3" ]; then
if [[ "$RG_MD" = "1" -o "$RG_MD" = "3" ]] && [ -f /etc/utopia/service.d/service_mcastproxy.sh ]; then
/etc/utopia/service.d/service_mcastproxy.sh lan-status&
Comment on lines +78 to 79
fi
Comment on lines +78 to 80

if [ "$RG_MD" = "2" -o "$RG_MD" = "3" ]; then
if [[ "$RG_MD" = "2" -o "$RG_MD" = "3" ]] && [ -f /etc/utopia/service.d/service_mldproxy.sh ]; then
/etc/utopia/service.d/service_mldproxy.sh lan-status&
fi
Comment on lines +82 to 84

Expand Down