프로젝트
GitHub에서 보기
khadas/fenix
소개
One-stop script set to build Ubuntu/Debian images
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalFenix script set to build Ubuntu/Debian images
Supported build host:
Ubuntu 24.04 x64Building Ubuntu 24.04 imageBuilding Ubuntu 26.04 image - TestingBuilding Debian 12 image
Docker
How to use
Install essential packages
$ sudo apt-get install git make lsb-release qemu-user-static cmake ninja-build libdw-dev libelf-dev
Clone Fenix repository
$ mkdir -p ~/project/khadas
$ cd ~/project/khadas
$ git clone --depth 1 https://github.com/khadas/fenix
$ cd fenix
Setup build environment
- Setup environment manually.
$ source env/setenv.sh
- Or you can load environment configuration from file.
$ source env/setenv.sh config config-template.conf
You need to edit config-template.conf file to correct variables.
Build image
$ make
For Chinese users, it's better to use mirror from China:
$ DOWNLOAD_MIRROR=china make
Build in Docker
Get Docker image
$ cd fenix
$ docker pull numbqq/fenix:latest
Build image in Docker
Run fenix in docker.
$ docker run -it --name fenix -v $(pwd):/home/khadas/fenix \
-v /etc/localtime:/etc/localtime:ro \
-v /etc/timezone:/etc/timezone:ro \
-v $HOME/.ccache:/home/khadas/.ccache --privileged \
--device=/dev/loop-control:/dev/loop-control \
--device=/dev/loop0:/dev/loop0 --cap-add SYS_ADMIN \
numbqq/fenix
We are in Docker container now, start to build.
khadas@919cab43f66d:~/fenix$ source env/setenv.sh
khadas@919cab43f66d:~/fenix$ make
For Chinese users, it's better to use mirror from China:
khadas@919cab43f66d:~/fenix$ DOWNLOAD_MIRROR=china make
To restart the Docker container a second time.
$ docker start fenix
$ docker exec -ti fenix bash
관련 프로젝트 살펴보기
불러오는 중…