...
After OCI image gets generated we need to generate bundlegen for the generated oci image to make that application platform compatible. (https://github.com/rdkcentral/BundleGen.git)
For BPIR4 we are having below mentioned templates.
1)bpir4_reference.json
2)bpir4_reference_libs.json
Before generating bundlegen make sure that you are having supported packages in your local machine(linux machine) for bundlegen support, follow bellow mentioned wiki for installing bundlegen supported packages .
Containerization using META DAC SDK in RDK-B RPI#,Install%20Bundlegen%20in%20a%20VM%20or%20any%20host%20machine,-Reference%20%3A%20Containerization :~:text=is%20in%20progress-,Install%20Bundlegen%20in%20a%20VM%20or%20any%20host%20machine,-Reference%20%3A%20Containerization
| Code Block | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
git clone https://github.com/rdkcentral/BundleGen.git (clone Bundlegen code.) cd BundleGen python3 setup.py build python3 setup.py install export PYTHONPATH=/usr/lib/python3.8/site:$PYTHONPATH # Copy generated oci image to this folder. chmod 777 dac-image-iperf3-raspberrypi4-20240930100642.rootfs-oci.tar tar -xvf dac-image-iperf3-raspberrypi4-20240930100642.rootfs-oci.tar chmod 777 dac-image-iperf3-raspberrypi4-20240930100642.rootfs bundlegen generate --platform bpir4_reference oci:dac-image-iperf3-raspberrypi4-20240930100642.rootfs-oci.tar ~/iperf332 (creates the iperf332.tar.gz bundle file) |
...