Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f2f0c58436 | |||
| c5819be7d5 | |||
| 1f7a026401 | |||
| fa745aed12 | |||
| 5a7c2b41d4 | |||
| ded8320249 | |||
| 1db8d4b98c | |||
| 1ad4a2bfd4 | |||
| b8bbe9a672 |
4
.gitignore
vendored
@@ -1,2 +1,2 @@
|
|||||||
*.deb
|
#*.deb
|
||||||
src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files/ace-env.tar.xz
|
src/opt/apps/amber-ce-bookworm/files/ace-env.tar.xz
|
||||||
|
|||||||
18
README.md
@@ -16,14 +16,7 @@ With the help of bubblewrap, a super tiny container solution, you can run a `Deb
|
|||||||
Please use `git clone --recurse-submodules` to obtain the env
|
Please use `git clone --recurse-submodules` to obtain the env
|
||||||
|
|
||||||
|
|
||||||
## Install Guide
|
## Install Guide(Debian/Fedora/Arch)
|
||||||
|
|
||||||
|
|
||||||
### Quick Install (Need to install Spark Store first)
|
|
||||||
|
|
||||||
[spk://store/tools/cn.flamescion.bookworm-compatibility-mode/](https://spk-resolv.spark-app.store/?spk=spk://store/tools/cn.flamescion.bookworm-compatibility-mode/)
|
|
||||||
|
|
||||||
### Manual Install(Debian/Fedora/Arch)
|
|
||||||
|
|
||||||
Share Link:https://share.spark-app.store/index.php?share/folder&user=1&sid=wHP86Kp4
|
Share Link:https://share.spark-app.store/index.php?share/folder&user=1&sid=wHP86Kp4
|
||||||
|
|
||||||
@@ -32,17 +25,10 @@ Ubuntu 18.04 Need install https://packages.debian.org/buster/bubblewrap
|
|||||||
Arch: `yay -S amber-ce-bookworm`
|
Arch: `yay -S amber-ce-bookworm`
|
||||||
|
|
||||||
|
|
||||||
### Amber-CE x86
|
|
||||||
|
|
||||||
Use LAT to run a x86 bookworm container. Can install x86 debs and run x86 apps
|
|
||||||
|
|
||||||
https://pan.huang1111.cn/s/P63D6Cm
|
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
## Build Guide
|
## Build From.Source
|
||||||
|
|
||||||
### Debian
|
### Debian
|
||||||
|
|
||||||
|
|||||||
12
README.zh.md
@@ -11,13 +11,7 @@
|
|||||||
|
|
||||||
请使用 `git clone --recurse-submodules` 来获取
|
请使用 `git clone --recurse-submodules` 来获取
|
||||||
|
|
||||||
## 安装指南
|
## 安装指南 (Debian/Fedora/Arch)
|
||||||
|
|
||||||
### 快捷安装 (需要安装星火应用商店)
|
|
||||||
|
|
||||||
[spk://store/tools/cn.flamescion.bookworm-compatibility-mode/](https://spk-resolv.spark-app.store/?spk=spk://store/tools/cn.flamescion.bookworm-compatibility-mode/)
|
|
||||||
|
|
||||||
### 手动安装(Debian/Fedora/Arch)
|
|
||||||
|
|
||||||
|
|
||||||
分享链接:https://share.spark-app.store/index.php?share/folder&user=1&sid=wHP86Kp4
|
分享链接:https://share.spark-app.store/index.php?share/folder&user=1&sid=wHP86Kp4
|
||||||
@@ -29,7 +23,7 @@ Arch:`yay -S amber-ce-bookworm`
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
## 构建指南
|
## 从源代码构建指南
|
||||||
|
|
||||||
### Debian
|
### Debian
|
||||||
|
|
||||||
@@ -46,4 +40,4 @@ dpkg-buildpackage -us -uc -b
|
|||||||
|
|
||||||
`yay -S amber-ce-bookworm`
|
`yay -S amber-ce-bookworm`
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
5
debian/changelog
vendored
@@ -1,8 +1,11 @@
|
|||||||
amber-ce-bookworm (12.4.15) UNRELEASED; urgency=low
|
amber-ce-bookworm (12.6.0) UNRELEASED; urgency=low
|
||||||
* fix: Can't pass args via bwrap
|
* fix: Can't pass args via bwrap
|
||||||
* fix: Auto upgrade service always pop up upgradable notifier
|
* fix: Auto upgrade service always pop up upgradable notifier
|
||||||
* fix: /etc/apt/sources.list only request main repo
|
* fix: /etc/apt/sources.list only request main repo
|
||||||
* fix: sudo function error: Need sudo sudo to really sudo
|
* fix: sudo function error: Need sudo sudo to really sudo
|
||||||
* fix: ACE Host Integration fail
|
* fix: ACE Host Integration fail
|
||||||
|
* adjust: remove dpkg from building depends
|
||||||
|
* 把默认目录改为 amber-ce-bookworm
|
||||||
|
* 支持使用Nvidia驱动加速
|
||||||
|
|
||||||
-- shenmo <shenmo@spark-app.store> Wed, 25 Sep 2024 23:15:49 +0800
|
-- shenmo <shenmo@spark-app.store> Wed, 25 Sep 2024 23:15:49 +0800
|
||||||
|
|||||||
@@ -2,17 +2,21 @@
|
|||||||
export PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"
|
export PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"
|
||||||
|
|
||||||
if [ "${PACKAGE_NAME}" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
if [ "${PACKAGE_NAME}" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
||||||
if [ -d /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bookworm-env ];then
|
if [ -d /opt/apps/cn.flamescion.bookworm-compatibility-mode/ ] || [[ -f "/opt/apps/amber-ce-bookworm" ]];then
|
||||||
|
|
||||||
mv /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bookworm-env /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/ace-env
|
unlink /opt/apps/amber-ce-bookworm
|
||||||
ln -sfv /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/ace-env /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bookworm-env
|
mv -v /opt/apps/cn.flamescion.bookworm-compatibility-mode/ /opt/apps/amber-ce-bookworm/
|
||||||
|
|
||||||
|
ln -sv ./amber-ce-bookworm /opt/apps/cn.flamescion.bookworm-compatibility-mode
|
||||||
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
/opt/apps/$PACKAGE_NAME/files/bin/ace-init
|
/opt/apps/$PACKAGE_NAME/files/bin/ace-init
|
||||||
|
|
||||||
|
|
||||||
if [ "${PACKAGE_NAME}" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
if [ "${PACKAGE_NAME}" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable ace-bookworm-auto-upgrade
|
systemctl enable ace-bookworm-auto-upgrade
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"
|
PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"
|
||||||
|
|
||||||
if [ "${PACKAGE_NAME}" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
if [ "${PACKAGE_NAME}" = "cn.flamescion.bookworm-compatibility-mode" ];then
|
||||||
|
PACKAGE_NAME=amber-ce-bookworm # 为了后面正确清理
|
||||||
systemctl stop ace-bookworm-auto-upgrade
|
systemctl stop ace-bookworm-auto-upgrade
|
||||||
systemctl disable ace-bookworm-auto-upgrade
|
systemctl disable ace-bookworm-auto-upgrade
|
||||||
fi
|
fi
|
||||||
|
|||||||
2
debian/rules
vendored
@@ -6,7 +6,7 @@
|
|||||||
dh $@
|
dh $@
|
||||||
|
|
||||||
override_dh_auto_configure:
|
override_dh_auto_configure:
|
||||||
cd src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files && bash build-container.sh $(shell uname -m)
|
cd src/opt/apps/amber-ce-bookworm/files && bash build-container.sh $(shell uname -m)
|
||||||
|
|
||||||
override_dh_dwz:
|
override_dh_dwz:
|
||||||
|
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
./cn.flamescion.bookworm-compatibility-mode/
|
|
||||||
|
Before Width: | Height: | Size: 196 KiB After Width: | Height: | Size: 196 KiB |
|
Before Width: | Height: | Size: 134 KiB After Width: | Height: | Size: 134 KiB |
|
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 118 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 93 KiB |
@@ -107,8 +107,7 @@ BIND_DIRS=(
|
|||||||
"--dev-bind-try /mnt /mnt"
|
"--dev-bind-try /mnt /mnt"
|
||||||
"--dev-bind-try /tmp /tmp"
|
"--dev-bind-try /tmp /tmp"
|
||||||
"--dev-bind-try /data /data"
|
"--dev-bind-try /data /data"
|
||||||
"--dev /dev"
|
"--dev-bind-try /dev /dev"
|
||||||
"--dev-bind-try /dev/dri /dev/dri"
|
|
||||||
"--proc /proc"
|
"--proc /proc"
|
||||||
"--dev-bind /sys /sys"
|
"--dev-bind /sys /sys"
|
||||||
"--dev-bind /run /run"
|
"--dev-bind /run /run"
|
||||||
1
src/opt/apps/cn.flamescion.bookworm-compatibility-mode
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
./amber-ce-bookworm/
|
||||||