6 Star 3 Fork 3

openEuler / raspberrypi-build

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.en.md 2.75 KB
一键复制 编辑 原始数据 按行查看 历史

raspberrypi-build

Description

Scripts of building images for Raspberry Pi.

Software Architecture

AArch64

Installation

There are two approaches to fetch the scripts:

  1. Download the source code of this repository.

  2. You can install raspberrypi-build using rpm or dnf command based on openEuler 20.09 repository.

    dnf install raspberrypi-build

    After installing raspberrypi-build, you can find the scripts and related files for building openEuler image of Raspberry Pi in /opt/raspberrypi-build.

Instructions

Run the following command to build an image:

sudo bash build-image.sh -d DIR -r REPO -n IMAGE_NAME

The meaning of each parameter:

  1. -d, --dir DIR

    The directory for storing the image and other temporary files, which defaults to be the directory in which the script resides. If the DIR does not exist, it will be created automatically.

    After building the image, you can find the image in DIR/raspi_output/img/ as shown in the script output.

  2. -r, --repo REPO_INFO

    Required! The URL/path of target repo file, or the list of repositories' baseurls. Note that, the baseurls should be separated by space and enclosed in double quotes.

    Examples are as follows:

    • The URL of target repo file: currently unavailable

    • The path of target repo file: ./openEuler-20.09.repo

      The content of the repo file is as follows:

      [OS]
      name=OS
      baseurl=http://119.3.219.20:82/openEuler:/20.09/standard_$basearch/
      enabled=1
      gpgcheck=0
      
      [EPOL]
      name=EPOL
      baseurl=http://119.3.219.20:82/openEuler:/20.09:/Epol/standard_$basearch/
      enabled=1
      gpgcheck=0
    • List of repo's baseurls: "http://119.3.219.20:82/openEuler:/20.09/standard_aarch64/ http://119.3.219.20:82/openEuler:/20.09:/Epol/standard_aarch64/"

  3. -n, --name IMAGE_NAME

    The image name to be built.

    For example, openEuler-20.09-raspi-aarch64.img. The default is openEuler-raspi-aarch64.img, or it is automatically generated based on parameter: -n, --name IMAGE_NAME.

  4. -h, --help

    Display help information.

Contribution

  1. Fork the repository
  2. Create Feat_xxx branch
  3. Commit your code
  4. Create Pull Request

Gitee Feature

  1. You can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.md
  2. Gitee blog blog.gitee.com
  3. Explore open source project https://gitee.com/explore
  4. The most valuable open source project GVP
  5. The manual of Gitee https://gitee.com/help
  6. The most popular members https://gitee.com/gitee-stars/
1
https://gitee.com/openeuler/raspberrypi-build.git
git@gitee.com:openeuler/raspberrypi-build.git
openeuler
raspberrypi-build
raspberrypi-build
master

搜索帮助