Overview

This document describes how to develop OpenHarmony bundles and distributions, and how to create, develop, and build code, as well as burn and debug devices by using a command line tool.

  • A bundle usually maps onto a code repository, which is a code archive with the bundle.json, README, and LICENSE files.
  • A distribution consists of multiple bundles. Each distribution integrates various bundles of a comprehensive system, such as the driver, kernel, framework, and applications. These bundles can be used for device burning.

Table 1 Differences between a bundle and a distribution

Aspect

Bundle

Distribution

Application scenario

Feature-oriented

System-oriented

Content

Codes or a binary library for implementing features

List of dependent bundles as well as their compiling and building scripts

Integrity

A part of the operating system

An entire operating system

Compilation result

Bundles

System image

Figure 1 Composition of bundles and distributions