From 338f64776399f291c2bf5392986168f989110bca Mon Sep 17 00:00:00 2001 From: shenmo Date: Thu, 28 Nov 2024 17:35:36 +0000 Subject: [PATCH] ``` Signed-off-by: shenmo --- README.md | 12 ++++-------- README.zh.md | 13 ++++--------- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index b6072f7..f0a6bfc 100644 --- a/README.md +++ b/README.md @@ -46,14 +46,10 @@ https://pan.huang1111.cn/s/P63D6Cm ### Debian -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 `amber-ce-bookworm` dir,run`fakeroot dpkg-deb -b src .` -5.Wating for complete. - +``` +apt build-dep . +dpkg-buildpackage -us -uc -b +``` ### Fedora diff --git a/README.zh.md b/README.zh.md index c3dca7e..30ca8f4 100644 --- a/README.zh.md +++ b/README.zh.md @@ -33,15 +33,10 @@ Arch:`yay -S amber-ce-bookworm` ### Debian -先构建容器再打包,容器位置在`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. 进入`amber-ce-bookworm`目录,执行`fakeroot dpkg-deb -b src .` -5. 等待打包完成 +``` +apt build-dep . +dpkg-buildpackage -us -uc -b +``` ### Fedora