Compare commits

...

29 Commits

Author SHA1 Message Date
968f30b1c3 update debian/changelog.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-11-04 18:12:11 +00:00
3c3feb5f85 update ace-host-integration/ace-host-integration.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-11-04 18:11:08 +00:00
04ef4b73b5 update src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bin/bookworm-run-bwrap.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-10-29 10:23:42 +00:00
8dc2624dc5 update Debian-Build-amd64.yml 2024-10-26 11:06:24 +00:00
fdfde11782 update Debian-Build-amd64.yml 2024-10-26 11:02:14 +00:00
e24682194e update Debian-Build-amd64.yml 2024-10-26 11:00:09 +00:00
8913d11cc3 update Debian-Build-amd64.yml 2024-10-26 10:57:20 +00:00
518c349c7f update Debian-Build-amd64.yml 2024-10-26 10:54:14 +00:00
f134bb12fe create Debian-Build-amd64.yml 2024-10-26 10:51:23 +00:00
75754f9dec 删除文件 .workflow/pipeline-20241025.yml 2024-10-26 10:50:57 +00:00
3e42120495 删除文件 .workflow/debian-amd64-pipeline-20241025.yml 2024-10-26 10:50:52 +00:00
3edcbbbf0a update .workflow/debian-amd64-pipeline-20241025.yml.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-10-26 10:50:16 +00:00
c476163ad8 update pipeline-20241025.yml 2024-10-26 10:49:50 +00:00
8f015507ee update pipeline-20241025.yml 2024-10-26 10:49:18 +00:00
15a3edc644 update pipeline-20241025.yml 2024-10-26 10:49:02 +00:00
8654212663 update pipeline-20241025.yml 2024-10-26 10:42:17 +00:00
195e6cc053 update pipeline-20241025.yml 2024-10-25 06:19:46 +00:00
31db0eb36c 重命名 .workflow/pipeline-20241025.yml 为 .workflow/debian-amd64-pipeline-20241025.yml 2024-10-25 06:18:39 +00:00
960fb63570 删除文件 .workflow/master-pipeline.yml 2024-10-25 06:18:28 +00:00
5ad185528f 删除文件 .workflow/branch-pipeline.yml 2024-10-25 06:18:21 +00:00
b3187660e0 删除文件 .workflow/pr-pipeline.yml 2024-10-25 06:18:13 +00:00
dbd4d7c7ce create pipeline-20241025.yml 2024-10-25 06:17:40 +00:00
d0125c983d add default pipeline template yaml 2024-10-25 06:05:07 +00:00
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
10 changed files with 84 additions and 9 deletions

View File

@@ -0,0 +1,59 @@
version: '1.0'
name: Debian-Build-amd64
displayName: Debian-Build-amd64
triggers:
trigger: manual
push:
tags:
prefix:
- ''
stages:
- name: stage-d1472d18
displayName: Build DEB
strategy: naturally
trigger: auto
executor: []
steps:
- step: execute@docker
name: execute_by_docker
displayName: Build Debian amd64
certificate: ''
image: docker.jianmuhub.com/library/debian:bookworm
command:
- export DEBIAN_FRONTEND=noninteractive
- apt update
- apt install ca-certificates -y
- echo 'deb [trusted=yes] http://mirrors.sdu.edu.cn/debian bookworm main contrib non-free non-free-firmware' > /etc/apt/sources.list
- rm -rfv /etc/apt/sources.list.d/*
- apt update
- apt build-dep . -y
- dpkg-buildpackage -b -us -uc
- cd ..
- ls -all
- mkdir target
- for f in $(find . -type f -name "*.deb")
- 'do '
- mv $f target
- done
- ''
artifacts:
- name: BUILD_ARTIFACT
path:
- ./target
notify: []
strategy:
retry: '0'
- name: stage-41e41b9f
displayName: push
strategy: naturally
trigger: auto
executor: []
steps:
- step: publish@general_artifacts
name: publish_general_artifacts
displayName: 上传制品
dependArtifact: BUILD_ARTIFACT
artifactName: output
notify: []
strategy:
retry: '0'

View File

@@ -27,6 +27,8 @@ Please use `git clone --recurse-submodules` to obtain the env
https://pan.huang1111.cn/s/jR1GdUy https://pan.huang1111.cn/s/jR1GdUy
Ubuntu 18.04 Need install https://packages.debian.org/buster/bubblewrap
### Amber-CE x86 ### 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 https://pan.huang1111.cn/s/P63D6Cm
---
## Build Guide ## Build Guide
### Debian ### Debian

View File

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

8
debian/changelog vendored
View File

@@ -1,6 +1,8 @@
amber-ce-bookworm (12.4.14-2) UNRELEASED; urgency=low amber-ce-bookworm (12.4.14-4) UNRELEASED; urgency=low
* fix: always pop up upgradable * fix: Auto upgrade service always pop up upgradable notifier
* fix: only request main repo * fix: /etc/apt/sources.list only request main repo
* fix: sudo function error: Need sudo sudo to really sudo
* fix: ACE Host Integration fail
-- 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

3
debian/rules vendored
View File

@@ -8,3 +8,6 @@
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/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` pparent_dir=`dirname $parent_dir`
ppparent_dir=`dirname $pparent_dir` ppparent_dir=`dirname $pparent_dir`
PKGNAME=`basename $ppparent_dir` PKGNAME=`basename $ppparent_dir`
export PACKAGE_NAME=$PKGNAME export ACE_PACKAGE_NAME=$PKGNAME
chrootEnvPath=/opt/apps/$PKGNAME/files/ace-env chrootEnvPath=/opt/apps/$PKGNAME/files/ace-env
if [ ! -e $chrootEnvPath/finish.flag ];then if [ ! -e $chrootEnvPath/finish.flag ];then

View File

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

View File

@@ -17,7 +17,7 @@ ARCH_ANOTHERWAY="x64"
cd "`dirname $0`" 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/ 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="arm64"
ARCH_ANOTHERWAY="arm64" ARCH_ANOTHERWAY="arm64"

View File

@@ -63,7 +63,7 @@ local file=$1
chmod +x $file chmod +x $file
} }
if [ "${IS_ACE_ENV}" != "" ];then if [ "${IS_ACE_ENV}" != "" ] || [[ -e /opt/ace-host-integration/ace-host-integration ]] && [[ -e /flamescion-container-tools ]];then
if [ -e /opt/apps/ ];then if [ -e /opt/apps/ ];then
for app_dir in $(ls /opt/apps/); do for app_dir in $(ls /opt/apps/); do
for file in /opt/apps/$app_dir/entries/applications/*.desktop;do for file in /opt/apps/$app_dir/entries/applications/*.desktop;do

View File

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