...
| Info |
|---|
To simplify the process of generating factory applications, a script has been created to assist developers with the complete workflow. The script automates the following tasks:
By using this script, developers can avoid following the detailed and manual steps described in the previous below sections. Script Location and UsageThe script, along with instructions on how to run it, can be found at : <URL HERE> https://github.com/rdkcentral/bolt-pkg-build-scripts This approach is recommended for faster setup and to reduce manual errors during factory app generation. |
...
Base application
→ Build instructions: Build Base Bolt Package
WPE (WebKit runtime)
→ Build instructions: Build Wpe Bolt Package
Reference UI (RefUI)
→ Build instructions: Build Refui Bolt Package
Each of these components is packaged as a BOLT application.
...
...
File system location of each BOLT package
Corresponding SHA-256 checksum for integrity verification
JSON template: <link here> example-manifest
local.conf...
| Info |
|---|
For a deeper understanding of how the Factory Apps Installer works internally, please refer to the documentation linked below: Design for Factory Apps Installer for in RDK-8 This resource provides an in‑depth explanation of the installer workflow and architecture. |
...
| Note |
|---|
|
...
curl command to install the BOLT application. | Code Block |
|---|
curl -X POST http://127.0.0.1:9998/jsonrpc -d '{"jsonrpc":2.0,"id":1,"method":"org.rdk.PackageManagerRDKEMS.install","params":{"packageId":"<package_name_or_id>","version":"<package_version>","fileLocator":"<file_path_in_file>"}}' -H "Content-Type: application/json" |
...
Repo: https://github.com/rdkcentral/meta-bolt-wpe
| Info | ||
|---|---|---|
| ||
To build an application that depends on base/runtime Bolt packages (for example, com.rdkcentral.base+<version>.bolt), ensure those dependent packages are available first. Either build them separately or place the corresponding .bolt artifacts in the following
|
| Code Block |
|---|
git clone https://github.com/rdkcentral/meta-bolt-wpe.git cd meta-bolt-wpe git checkout <branch/revision/tag> source setup-environment # Create bolt-tools and hash it bitbake bolt-env && hash bolt #build wpe bolt package bolt make wpe |
...