mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-12-15 03:22:06 +08:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6c33937a61 | |||
| 43e1a1599e | |||
| 1b29912372 | |||
| 7a9b57140f | |||
| ef4e86c083 | |||
| f7d9307c2c |
@@ -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
|
||||
|
||||
@@ -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
7
debian/changelog
vendored
@@ -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
3
debian/rules
vendored
@@ -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:
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
if [ "$UID" = "0" ];then
|
||||
/usr/bin/sudo $@
|
||||
else
|
||||
host-spawn sudo bookworm-run $@
|
||||
host-spawn sudo bookworm-run sudo $@
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user