RDKCOM-5422: RDKBDEV-3258 Remove UTOPIA mcast services from the build#80
RDKCOM-5422: RDKBDEV-3258 Remove UTOPIA mcast services from the build#80satish-kotapati wants to merge 3 commits into
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
51a2a1e to
5f0de19
Compare
5f0de19 to
e522cef
Compare
anoopchelakkode
left a comment
There was a problem hiding this comment.
Is this default enabled? If yes, in current scenario how are these proxies enabled or disabled?
5592ad5 to
858a655
Compare
"no_utopia_mcast" won't be enabled by default so proxies would be enabled. |
21a5d9c to
15efc0b
Compare
54a8b85 to
e799776
Compare
e799776 to
229f9f1
Compare
| bin_PROGRAMS += 02_devicemode | ||
| endif | ||
|
|
||
| if ENABLE_MCAST_SERVICE |
There was a problem hiding this comment.
For existing platforms will this prevent MCAST bianaries. in corresponding META changes configure not properly set
There was a problem hiding this comment.
are you mentioning about bb file change or configure.ac ?
There was a problem hiding this comment.
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"
Reason for change: Utopia should have an option to not build mcast sources if it is not required on the platform Test Procedure: binary presence based on the flag enablement Risks: None Signed-off-by: sai satish kotapati <skotapati@maxlinear.com>
1553936 to
e770a02
Compare
There was a problem hiding this comment.
Pull request overview
Adds a build-time option to exclude IGMP/MLD multicast service registration binaries from Utopia builds, and hardens init-time service startup to avoid calling multicast service scripts when they’re not present.
Changes:
- Introduces
--enable-igmpmld(default enabled) andENABLE_MCAST_SERVICEautomake conditional. - Gates
10_mcastproxy/10_mldproxy(and their sources) behindENABLE_MCAST_SERVICEinc_registration/Makefile.am. - Updates
service_misc.shto only invoke multicast proxy service scripts when the scripts exist.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
source/scripts/init/service.d/service_misc.sh |
Adds presence checks before launching multicast proxy service scripts during init. |
source/scripts/init/c_registration/Makefile.am |
Makes multicast registration binaries conditional on ENABLE_MCAST_SERVICE. |
configure.ac |
Adds --enable-igmpmld configure option and defines ENABLE_MCAST_SERVICE. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| 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& | ||
| fi |
| 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 |
| 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& | ||
| fi |
| 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 |
| 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& |
Reason for change: Utopia should have an option to not build mcast sources if it is not required on the platform
Test Procedure: binary presence based on the flag enablement
Risks: None