Skip to content
On this page

TIP

This document is applicable to version 1.6.x, Please use the command ll-cli --version to check your LingLong program version.


Manifests

The package.yaml file serves as the foundation for ll-pica to convert packages into DEB format. It encompasses essential information such as the base and runtime versions used in the build process, as well as the DEB package that is to be converted.

Project directory structure

bash
{workdir}
├── package
   └── {appid}
       ├── linglong
       ├── linglong.yaml
       └── start.sh
└── package.yaml

Field definitions

Build environment

Conversion build environment for DEB packages to Linglong packages.

bash
runtime:
  version: 23.0.1
  base_version: 23.0.0
  source: https://community-packages.deepin.com/beige/
  distro_version: beige
  arch: amd64
namedescription
versionRuntime version, A three-digit number can be loosely matched with a potential fourth digit
base_versionBase version, A three-digit number can be loosely matched with a potential fourth digit
sourceObtain the sources used by the dependencies of a deb package.
distro_versionThe codename of a distribution."
archThe architecture required by a deb package.

Deb package informationeb

bash
file:
  deb:
    - type: local
      id: com.baidu.baidunetdisk
      name: com.baidu.baidunetdisk
      ref: /tmp/com.baidu.baidunetdisk_4.17.7_amd64.deb
namedescription
typeThe method of acquisition: 'local' requires specifying a reference, while 'repo' does not require specifying a reference."
idUnique name of the build product
nameSpecify the correct package name that apt can search for.
refThe path of the deb package on the host machine.