diff --git a/documentation/adt-manual/adt-package.xml b/documentation/adt-manual/adt-package.xml index 96c2b59ba9..9f982d13ad 100644 --- a/documentation/adt-manual/adt-package.xml +++ b/documentation/adt-manual/adt-package.xml @@ -8,7 +8,7 @@ likely that you will need to customize your development packages installation. For example, if you are developing a minimal image then you might not need certain packages (e.g. graphics support packages). - Thus, you would like to be able to remove those packages from your sysroot. + Thus, you would like to be able to remove those packages from your target sysroot.
@@ -44,16 +44,16 @@ PACKAGE_CLASSES variable in the conf/local.conf file is set to reflect that system. The first value you choose for the variable specifies the package file format for the root - filesystem. + filesystem at sysroot. Additional values specify additional formats for convenience or testing. See the configuration file for details. As an example, consider a scenario where you are using OPKG and you want to add - the libglade package to sysroot. + the libglade package to the target sysroot. - First, you should generate the ipk file for the libglade package and add it + First, you should generate the ipk file for the libglade package and add it into a working opkg repository. Use these commands: @@ -62,17 +62,17 @@ - Next, source the environment setup script. + Next, source the environment setup script found in the Yocto Project source directory. Follow that by setting up the installation destination to point to your - sysroot as <sysroot dir>. - Finally, have an opkg configuration file <conf file> + sysroot as <sysroot_dir>. + Finally, have an opkg configuration file <conf_file> that corresponds to the opkg repository you have just created. The following command forms should now work: - $ opkg-cl –f <conf file> -o <sysroot dir> update - $ opkg-cl –f <conf file>> -o <sysroot dir> --force-overwrite install libglade - $ opkg-cl –f <conf file> -o <sysroot dir> --force-overwrite install libglade-dbg - $ opkg-cl –f <conf file> -o <sysroot dir> --force-overwrite install libglade-dev + $ opkg-cl –f <conf_file> -o <sysroot-dir> update + $ opkg-cl –f <cconf_file>> -o <sysroot-dir> --force-overwrite install libglade + $ opkg-cl –f <cconf_file> -o <sysroot-dir> --force-overwrite install libglade-dbg + $ opkg-cl –f <conf_file> -o <sysroot-dir> --force-overwrite install libglade-dev