Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code changes to enable thundersecurity.
Meta layer path:

meta-cmf-raspberrypi/conf/distro/include/rdk-rpi.inc:25:#DISTRO_FEATURES_append = " thunder_security_disable"meta-cmf-raspberrypi/conf/machine/raspberrypi-rdk-ipmc.conf:26:#DISTRO_FEATURES_append = " thunder_security_disable"
meta-cmf-video-reference/conf/distro/include/reference.inc:27:#DISTRO_FEATURES_append = " thunder_security_disable"

Corresponding three patch filesfile.

Patch :1

diff --git a/conf/distro/include/rdk-rpi.inc b/conf/distro/include/rdk-rpi.inc
index ba9aeda..d7568d1 024c3a5 100644
--- a/conf/distro/include/rdk-rpi.inc
+++ b/conf/distro/include/rdk-rpi.inc
@@ -2223,7 6 +2223,7 8 @@ DISTRO_FEATURES_append = " ctrlm"
 DISTRO_FEATURES_append = " ctrlm_voice_sdk"

 # Disable Thunder Security
-DISTRO DISTRO_FEATURES_append = " thunder_security_disable"
+#DISTRO_FEATURES_append = " thunder_security_disable"

 DISTRO_FEATURES_append = " enable_icrypto_openssl"
 DISTRO_FEATURES_remove = "netflix_cryptanium"

Patch :2

diff --git a/conf/machine/raspberrypi-rdk-ipmc.conf b/conf/machine/raspberrypi-rdk-ipmc.conf
index 0e2bc6c..489c21c 100644
--- a/conf/machine/raspberrypi-rdk-ipmc.conf
+++ b/conf/machine/raspberrypi-rdk-ipmc.conf
@@ -23,7 +23,7 @@ DISTRO_FEATURES_append = " build_rne"
 DISTRO_FEATURES_append = " systemd-disable-getty"

 # Disable Thunder Security
-DISTRO_FEATURES_append = " thunder_security_disable"
+#DISTRO_FEATURES_append = " thunder_security_disable"

 # this can be removed if cc is open sourced
 CLOSEDCAPTION = ""

Patch :3
diff --git a/conf/distro/include/reference.inc b/conf/distro/include/reference.inc
index 9ca7fb7..3c6dda8 100644
--- a/conf/distro/include/reference.inc
+++ b/conf/distro/include/reference.inc
@@ -24,7 +24,7 @@ DISTRO_FEATURES_append = " opencdm"
 DISTRO_FEATURES_append = " clearkey"
 DISTRO_FEATURES_append = " refapp"
 DISTRO_FEATURES_append = " aamp"
-DISTRO_FEATURES_append = " thunder_security_disable"
+#DISTRO_FEATURES_append # Enables Thunder Security
+DISTRO_FEATURES_remove = " thunder_security_disable"
 DISTRO_FEATURES_remove = " rdkbrowser2"

 DISTRO_FEATURES_append = " enable_icrypto_openssl"
 DISTRO_FEATURES_append remove = " rdkshell"After Building code with above changes, flash the MediaClient image to RPI board.netflix_cryptanium"


RFC Support.
Thunder Security can be enabled/disabled using RFC Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.ThunderSecurity.Enable.

...