Compare commits

...

22 Commits

Author SHA1 Message Date
55683bce1b add data
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-06-05 04:38:44 +00:00
5b1697035c Add data
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-06-05 04:38:13 +00:00
3704dcf30a localtime不再bind
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-06-02 04:28:44 +00:00
4a266bb6d8 remove gcc depend
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-05-14 10:39:16 +00:00
e681fc9a22 changepng 2024-05-09 15:49:02 +08:00
3265a8311a adjust-png 2024-05-09 15:34:08 +08:00
f2916fa2a0 support-uos 2024-05-09 15:15:13 +08:00
2f3177b600 support-uos 2024-05-09 15:10:59 +08:00
1dab109d77 Merge remote-tracking branch 'refs/remotes/origin/master' 2024-05-07 13:51:59 +08:00
80cc726897 apparmor 2024-05-07 13:51:50 +08:00
223b86a39f spk resolv
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-05-07 05:48:18 +00:00
c1f7b9ac3b fix-apparmor 2024-05-01 21:28:16 +08:00
0fd58e7134 fix mime https://bbs.deepin.org.cn/phone/zh/post/271667
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-04-30 04:42:15 +00:00
99db451307 删除文件 src/etc/apparmor.d 2024-04-30 04:27:48 +00:00
87bd885bb5 update src/DEBIAN/control.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-04-30 04:25:20 +00:00
d98e3f7819 update src/DEBIAN/postinst.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-04-30 04:25:06 +00:00
e89d270e7b update src/DEBIAN/postinst.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-04-29 14:28:05 +00:00
d6dbc62e72 重载配置 2024-04-29 22:19:28 +08:00
a298a17a4a apparmor policy 2024-04-29 22:09:22 +08:00
ebae7611df try-fix-23-push 2024-04-18 23:07:05 +08:00
cc5684234d change version 2024-04-18 23:06:02 +08:00
c61d30ff5f try-fix-v23-settings 2024-04-17 23:35:23 +08:00
18 changed files with 42 additions and 13 deletions

View File

@@ -21,7 +21,7 @@ Please use `git clone --recurse-submodules` to obtain the env
### Quick Install (Need to install Spark Store first) ### Quick Install (Need to install Spark Store first)
[spk://store/tools/cn.flamescion.bookworm-compatibility-mode/](https://spark-store-project.gitee.io/spk-resolv/?spk=spk://store/tools/cn.flamescion.bookworm-compatibility-mode/) [spk://store/tools/cn.flamescion.bookworm-compatibility-mode/](https://spk-resolv.spark-app.store/?spk=spk://store/tools/cn.flamescion.bookworm-compatibility-mode/)
### Manual InstallDebian/Fedora/Arch) ### Manual InstallDebian/Fedora/Arch)

View File

@@ -15,7 +15,7 @@
### 快捷安装 (需要安装星火应用商店) ### 快捷安装 (需要安装星火应用商店)
[spk://store/tools/cn.flamescion.bookworm-compatibility-mode/](https://spark-store-project.gitee.io/spk-resolv/?spk=spk://store/tools/cn.flamescion.bookworm-compatibility-mode/) [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) ### 手动安装Debian/Fedora/Arch)

View File

@@ -1,8 +1,8 @@
Package: cn.flamescion.bookworm-compatibility-mode Package: cn.flamescion.bookworm-compatibility-mode
Version: 12.4.11 Version: 12.4.13.1
Section: misc Section: misc
Priority: optional Priority: optional
Depends: bubblewrap,flatpak,zenity,policykit-1,gcc,systemd Depends: bubblewrap,flatpak,zenity,policykit-1,systemd,procps
Maintainer: shenmo <shenmo@spark-app.store> Maintainer: shenmo <shenmo@spark-app.store>
Architecture: arm64 Architecture: amd64
Description: bwrap wrapper for install and running debs inside a bookworm container Description: bwrap wrapper for install and running debs inside a bookworm container

View File

@@ -19,5 +19,6 @@ systemctl enable ace-bookworm-auto-upgrade
systemctl start ace-bookworm-auto-upgrade systemctl start ace-bookworm-auto-upgrade
fi fi
systemctl reload apparmor
true true

View File

@@ -12,6 +12,6 @@ fi
# looked for in XDG_DATA_DIRS; make sure it includes the relevant directory for ACE # looked for in XDG_DATA_DIRS; make sure it includes the relevant directory for ACE
ACE_path="/opt/apps/amber-ce-bookworm/files/ace-env/flamescion-container-tools/data-dir/" ACE_path="/opt/apps/amber-ce-bookworm/files/ace-env/flamescion-container-tools/data-dir/"
if [ -n "${XDG_DATA_DIRS##*${ACE_path}}" ] && [ -n "${XDG_DATA_DIRS##*${ACE_path}:*}" ]; then if [ -n "${XDG_DATA_DIRS##*${ACE_path}}" ] && [ -n "${XDG_DATA_DIRS##*${ACE_path}:*}" ]; then
export XDG_DATA_DIRS="${ACE_path}:${XDG_DATA_DIRS}" export XDG_DATA_DIRS="${XDG_DATA_DIRS}:${ACE_path}"
fi fi

View File

@@ -0,0 +1,7 @@
abi <abi/4.0>,
include <tunables/global>
profile bwrap /usr/bin/bwrap flags=(unconfined) {
userns,
#Site-specific additions and overrides. See local/README for details.
include if exists <local/bwrap>
}

View File

@@ -11,6 +11,6 @@ fi
# looked for in XDG_DATA_DIRS; make sure it includes the relevant directory for ACE # looked for in XDG_DATA_DIRS; make sure it includes the relevant directory for ACE
ACE_path="/opt/apps/amber-ce-bookworm/files/ace-env/flamescion-container-tools/data-dir/" ACE_path="/opt/apps/amber-ce-bookworm/files/ace-env/flamescion-container-tools/data-dir/"
if [ -n "${XDG_DATA_DIRS##*${ACE_path}}" ] && [ -n "${XDG_DATA_DIRS##*${ACE_path}:*}" ]; then if [ -n "${XDG_DATA_DIRS##*${ACE_path}}" ] && [ -n "${XDG_DATA_DIRS##*${ACE_path}:*}" ]; then
export XDG_DATA_DIRS="${ACE_path}:${XDG_DATA_DIRS}" export XDG_DATA_DIRS="${XDG_DATA_DIRS}:${ACE_path}"
fi fi

View File

@@ -0,0 +1,11 @@
[Desktop Entry]
Version=1.0
Name=ACE Bookworm Software Uninstaller
Name[zh_CN]=ACE Bookworm软件卸载器
Comment=用于卸载ACE容器的应用
Type=Application
Exec=/opt/apps/amber-ce-bookworm/files/bin/ace-bookworm-uninstall-helper-gui
Icon=ACE-bookworm-uninstaller
Categories=System
# Generated from the DesktopGenerater component of the z-Tools toolkit

View File

@@ -0,0 +1,11 @@
[Desktop Entry]
Categories=utils
Exec=bookworm-run %U
Icon=amber-ce-bookworm
Name=Amber CE Bookworm
Name[zh_CN]=ACE Bookworm兼容环境
Keywords=BCM,ACE,ace,mode
StartupNotify=true
Type=Application
Terminal=true
Categories=System

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

View File

@@ -61,8 +61,6 @@ bwrap --dev-bind $chrootEnvPath/ / \
echo "Update the flamescion container tools" echo "Update the flamescion container tools"
cp -r `dirname $chrootEnvPath`/flamescion-container-tools/ $chrootEnvPath cp -r `dirname $chrootEnvPath`/flamescion-container-tools/ $chrootEnvPath
rm -rf $chrootEnvPath/usr/lib/`gcc -dumpmachine`/dri/dri
# 之前错误的多复制了一个,这里删掉
export container_user_gid="$(sudo -u $non_root_user id -rg)" export container_user_gid="$(sudo -u $non_root_user id -rg)"
export container_user_home="/home/${non_root_user}" export container_user_home="/home/${non_root_user}"

View File

@@ -106,6 +106,7 @@ BIND_DIRS=(
"--dev-bind-try /media /media" "--dev-bind-try /media /media"
"--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 /dev" "--dev /dev"
"--dev-bind-try /dev/dri /dev/dri" "--dev-bind-try /dev/dri /dev/dri"
"--proc /proc" "--proc /proc"
@@ -116,10 +117,8 @@ BIND_DIRS=(
"--ro-bind-try /usr/share/themes /usr/local/share/themes" "--ro-bind-try /usr/share/themes /usr/local/share/themes"
"--ro-bind-try /usr/share/icons /usr/local/share/icons" "--ro-bind-try /usr/share/icons /usr/local/share/icons"
"--ro-bind-try /usr/share/fonts /usr/local/share/fonts" "--ro-bind-try /usr/share/fonts /usr/local/share/fonts"
"--ro-bind-try $(realpath /etc/localtime) /etc/localtime"
"--dev-bind-try /etc/resolv.conf /etc/resolv.conf" "--dev-bind-try /etc/resolv.conf /etc/resolv.conf"
"--dev-bind-try /home /home" "--dev-bind-try /home /home"
) )
EXTRA_ARGS=( EXTRA_ARGS=(
"--hostname Amber-CE-Bookworm" "--hostname Amber-CE-Bookworm"

View File

@@ -105,6 +105,7 @@ BIND_DIRS=(
"--dev-bind $chrootEnvPath/ /" "--dev-bind $chrootEnvPath/ /"
"--dev-bind-try /media /media" "--dev-bind-try /media /media"
"--dev-bind-try /tmp /tmp" "--dev-bind-try /tmp /tmp"
"--dev-bind-try /data /data"
"--dev /dev" "--dev /dev"
"--dev-bind-try /dev/dri /dev/dri" "--dev-bind-try /dev/dri /dev/dri"
"--proc /proc" "--proc /proc"

View File

@@ -127,5 +127,6 @@ apt install --reinstall /flamescion-container-tools/ace-host-integration.deb
cd /flamescion-container-tools/data-dir/ cd /flamescion-container-tools/data-dir/
ln -sfv ../../usr/share/applications/ . ln -sfv ../../usr/share/applications/ .
ln -sfv ../../usr/share/icons/ . ln -sfv ../../usr/share/icons/ .
ln -svf ../../usr/share/mime .
update-desktop-database /usr/share/applications || true update-desktop-database /usr/share/applications || true
update-mime-database /usr/share/mime || true update-mime-database /usr/share/mime || true

View File

@@ -12,6 +12,6 @@ fi
# looked for in XDG_DATA_DIRS; make sure it includes the relevant directory for ACE # looked for in XDG_DATA_DIRS; make sure it includes the relevant directory for ACE
ACE_path="/opt/apps/amber-ce-bookworm/files/ace-env/flamescion-container-tools/data-dir/" ACE_path="/opt/apps/amber-ce-bookworm/files/ace-env/flamescion-container-tools/data-dir/"
if [ -n "${XDG_DATA_DIRS##*${ACE_path}}" ] && [ -n "${XDG_DATA_DIRS##*${ACE_path}:*}" ]; then if [ -n "${XDG_DATA_DIRS##*${ACE_path}}" ] && [ -n "${XDG_DATA_DIRS##*${ACE_path}:*}" ]; then
export XDG_DATA_DIRS="${ACE_path}:${XDG_DATA_DIRS}" export XDG_DATA_DIRS="${XDG_DATA_DIRS}:${ACE_path}"
fi fi

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 93 KiB