Compare commits

..

6 Commits

Author SHA1 Message Date
6c33937a61 update debian/changelog.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-10-25 05:14:13 +00:00
43e1a1599e update sudo
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-10-25 05:07:28 +00:00
1b29912372 fix: cannot build on arm64 2024-10-20 16:24:39 +08:00
7a9b57140f update src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bin/bookworm-run.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-10-13 05:08:45 +00:00
ef4e86c083 update README.zh.md.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-10-12 04:52:20 +00:00
f7d9307c2c README
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-10-12 04:51:52 +00:00
7 changed files with 22 additions and 7 deletions

View File

@@ -27,6 +27,8 @@ Please use `git clone --recurse-submodules` to obtain the env
https://pan.huang1111.cn/s/jR1GdUy
Ubuntu 18.04 Need install https://packages.debian.org/buster/bubblewrap
### Amber-CE x86
@@ -34,6 +36,10 @@ Use LAT to run a x86 bookworm container. Can install x86 debs and run x86 apps
https://pan.huang1111.cn/s/P63D6Cm
---
## Build Guide
### Debian

View File

@@ -1,4 +1,4 @@
# 书虫兼容模式
# ACE Debian Bookworm
# [English](README.md)
@@ -21,6 +21,8 @@
https://pan.huang1111.cn/s/jR1GdUy
Ubuntu 18.04 需要安装 https://packages.debian.org/buster/bubblewrap
### Amber-CE x86
@@ -29,6 +31,9 @@ https://pan.huang1111.cn/s/jR1GdUy
https://pan.huang1111.cn/s/P63D6Cm
---
## 构建指南
### Debian

7
debian/changelog vendored
View File

@@ -1,6 +1,7 @@
amber-ce-bookworm (12.4.14-2) UNRELEASED; urgency=low
amber-ce-bookworm (12.4.14-3) UNRELEASED; urgency=low
* fix: always pop up upgradable
* fix: only request main repo
* fix: Auto upgrade service always pop up upgradable notifier
* fix: /etc/apt/sources.list only request main repo
* fix: sudo function error: Need sudo sudo to really sudo
-- shenmo <shenmo@spark-app.store> Wed, 25 Sep 2024 23:15:49 +0800

3
debian/rules vendored
View File

@@ -8,3 +8,6 @@
override_dh_auto_configure:
cd src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files && bash build-container.sh $(shell uname -m)
override_dh_dwz:
override_dh_strip:

View File

@@ -5,7 +5,7 @@ parent_dir=`dirname $curdir`
pparent_dir=`dirname $parent_dir`
ppparent_dir=`dirname $pparent_dir`
PKGNAME=`basename $ppparent_dir`
export PACKAGE_NAME=$PKGNAME
export ACE_PACKAGE_NAME=$PKGNAME
chrootEnvPath=/opt/apps/$PKGNAME/files/ace-env
if [ ! -e $chrootEnvPath/finish.flag ];then

View File

@@ -17,7 +17,7 @@ ARCH_ANOTHERWAY="x64"
cd "`dirname $0`"
sudo debootstrap --components=main,contrib,non-free,non-free-firmware --include=libnotify-bin,apt-utils,bash-completion,bc,curl,dialog,diffutils,findutils,gnupg2,less,libnss-myhostname,libvte-common,lsof,ncurses-base,passwd,pinentry-curses,procps,sudo,time,util-linux,wget,libegl1-mesa,libgl1-mesa-glx,libvulkan1,mesa-vulkan-drivers,locales,libglib2.0-bin --arch=${ARCH} bookworm ./ace-env https://mirrors.ustc.edu.cn/debian/
elif [ "$1" = "arm64" ] || [ "$1" = "arm" ];then
elif [ "$1" = "arm64" ] || [ "$1" = "arm" ]|| [ "$1" = "aarch64" ];then
ARCH="arm64"
ARCH_ANOTHERWAY="arm64"

View File

@@ -2,5 +2,5 @@
if [ "$UID" = "0" ];then
/usr/bin/sudo $@
else
host-spawn sudo bookworm-run $@
host-spawn sudo bookworm-run sudo $@
fi