更新自描述文件,提供编译命令

Merge pull request  from 花雨落逝/master
This commit is contained in:
shenmo 2024-01-15 06:22:35 +00:00 committed by Gitee
commit 5e74ed9b91
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -12,6 +12,12 @@
## 构建指南
先构建容器再打包,容器位置在`src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files`
下面是详细步骤:
1.安装依赖sudo apt-get install arch-test debootstrap libnss-mymachines systemd-container
2.在`src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files`位置进入终端,执行`./build-container.sh amd64`[amd架构其他架构同理]`
3.等待容器打包完成
4.进入`bookworm-compatibility-mode`目录执行fakeroot dpkg-deb -b src cn.flamescion.bookworm-compatibility-mode.deb
5.等待打包完成
# Bookworm compatibility mode
@ -29,3 +35,9 @@ Please use `git clone --recurse-submodules` to obtain the env
## Build Guide
Build the container first then build the package. Container at `src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files`
Here are the details:
1. Install dependencies: sudo apt-get install arch-test debootstrap libnss-mymachines systemd-container
2. Enter the terminal at `src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files` and execute `./build-container.sh amd64`.[for amd,other arch please change]
3. Wait for the container to complete.
4.Get in to `bookworm-compatibility-mode` dir,run`fakeroot dpkg-deb -b src cn.flamescion.bookworm-compatibility-mode.deb
5.Wating for complete.