2.4. Providing Updates After Installing the Extensible SDK

When you make changes to your configuration or to the metadata and if you want those changes to be reflected in installed SDKs, you need to perform additional steps to make it possible for those that use the SDK to update their installations with the devtool sdk-update command:

  1. Arrange to be created a directory that can be shared over HTTP or HTTPS.

  2. Set the SDK_UPDATE_URL variable to point to the corresponding HTTP or HTTPS URL. Setting this variable causes any SDK built to default to that URL and thus, the user does not have to pass the URL to the devtool sdk-update command.

  3. Build the extensible SDK normally (i.e., use the bitbake -c populate_sdk_ext imagename command).

  4. Publish the SDK using the following command:

         $ oe-publish-sdk some_path/sdk-installer.sh path_to_shared/http_directory
                    

    You must repeat this step each time you rebuild the SDK with changes that you want to make available through the update mechanism.

Completing the above steps allows users of the existing SDKs to simply run devtool sdk-update to retrieve the latest updates. See the "Updating the Extensible SDK" section for further information.