From aedcb5c1ed85b3084409d82a1d98115b4c9d1ee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E9=9B=A8=E8=90=BD=E9=80=9D?= <12135927+hylshi@user.noreply.gitee.com> Date: Mon, 15 Jan 2024 05:30:16 +0000 Subject: [PATCH 1/3] update README.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 花雨落逝 <12135927+hylshi@user.noreply.gitee.com> --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 6b65d09..2fb4b06 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,10 @@ ## 构建指南 先构建容器再打包,容器位置在`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` +3.等待编译完成 # Bookworm compatibility mode @@ -29,3 +33,7 @@ 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`. +3. Wait for the compilation to complete. \ No newline at end of file From 2ad0ea3f42fa612ece79bffe0087c914419ecd72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E9=9B=A8=E8=90=BD=E9=80=9D?= <12135927+hylshi@user.noreply.gitee.com> Date: Mon, 15 Jan 2024 05:36:05 +0000 Subject: [PATCH 2/3] update README.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 花雨落逝 <12135927+hylshi@user.noreply.gitee.com> --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2fb4b06..611423b 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ 先构建容器再打包,容器位置在`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` +2.在`src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files`位置进入终端,执行`./build-container.sh amd64`[amd架构,其他架构同理]` 3.等待编译完成 @@ -35,5 +35,5 @@ Please use `git clone --recurse-submodules` to obtain the env 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`. +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 compilation to complete. \ No newline at end of file From 65dfa5291c30438b0eed9be96c25174afdef92be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E9=9B=A8=E8=90=BD=E9=80=9D?= <12135927+hylshi@user.noreply.gitee.com> Date: Mon, 15 Jan 2024 06:01:04 +0000 Subject: [PATCH 3/3] update README.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 花雨落逝 <12135927+hylshi@user.noreply.gitee.com> --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 611423b..333d3ee 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,9 @@ 下面是详细步骤: 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.等待编译完成 +3.等待容器打包完成 +4.进入`bookworm-compatibility-mode`目录,执行fakeroot dpkg-deb -b src cn.flamescion.bookworm-compatibility-mode.deb +5.等待打包完成 # Bookworm compatibility mode @@ -36,4 +38,6 @@ Build the container first then build the package. Container at `src/opt/apps/cn. 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 compilation to complete. \ No newline at end of file +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. \ No newline at end of file