devroot-manual-arm64 manual
high
- Image Types:
- basesdk-amd64 / sdk-amd64
- Image Deployment:
- APT
- Type:
- functional
Description
Test cross-compilation support for ARM64 architecture using devroot utility
Pre Conditions
- An ARM64 devroot at /opt/devroot, which is pre-installed with BaseSDK and SDK images
Execution Steps
- Ensure the package list is up-to-date:
- Download the sources for dlt-daemon:
- Enter the devroot:
- Ensure the package list is up-to-date:
- Retrieve Build dependencies for dlt-daemon:
- Change the working directory to the dlt-daemon folder:
- Build the dlt-daemon package:
- The debian packages should be built for ARM64 architecture for dlt-daemon, check to see if these are created in the parent folder
$ sudo apt-get update
$ apt-get source dlt-daemon
$ sudo devroot-enter /opt/devroot --bind=${HOME}/dlt-daemon-2.18.8
$ sudo apt-get update
$ sudo apt-get build-dep dlt-daemon
$ cd ${HOME}/dlt-daemon-2.18.8
$ dpkg-buildpackage -b -uc
$ ls ../
Expected
The dlt-daemon can be built using the devroot