Adding packages to MADDE targets
If you want to use a library that is not included in the initial sysroot in your application, you can extract the additional Debian package to the sysroot with the mad-admin xdpkg
command. This command extracts the package into the sysroot of the target that is currently in use.
Note: The mad-admin xdpkg
command does not execute pre- or post-install scripts. The command updates a subset of the package metadata.
Installing additional packages
You can install additional packages as follows:
- To install an extra package to the default target, enter the following command:
- mad-admin xdpkg -i <additional_package>.deb
- To install an extra package to a defined target, enter the following command:
- mad-admin -t <target_name> xdpkg -i <additional_package>.deb
Removing additional packages
- To remove a package from a defined target (other than default), enter the following command:
- mad-admin -t <target_name> xdpkg -P <additional_package>
Viewing additional packages
You can view additional packages as follows:
- To list available extra packages, use the following option:
- -l|--list
- To list the files included in an extra package, use the following option:
- -L|--listfiles <package>
- To display details about a package, use the following option:
- -p|--print-avail <package>
Note: For a full list of MADDE commands, see MADDE command reference.