mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-12-15 03:22:06 +08:00
Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b8bbe9a672 | |||
| 250e48b98e | |||
| 5f54c92b84 | |||
| df0b714c8b | |||
| cd1f0c0c22 | |||
| 7c2dc1bbb2 | |||
| 338f647763 | |||
| 286ced4488 | |||
| f8c7a53864 | |||
| 5b09d279ea | |||
| 7fdb227c93 | |||
| b9a0472b78 | |||
| e4cc26e3ea | |||
| 09a12d3595 | |||
| fc711b285e |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,2 +1,2 @@
|
||||
*.deb
|
||||
#*.deb
|
||||
src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files/ace-env.tar.xz
|
||||
|
||||
@@ -29,17 +29,17 @@ stages:
|
||||
- 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
|
||||
- mv -v $f target
|
||||
- done
|
||||
- ''
|
||||
- ls -all
|
||||
artifacts:
|
||||
- name: BUILD_ARTIFACT
|
||||
path:
|
||||
- ./target
|
||||
- ../target/
|
||||
notify: []
|
||||
strategy:
|
||||
retry: '0'
|
||||
|
||||
16
README.md
16
README.md
@@ -25,10 +25,12 @@ Please use `git clone --recurse-submodules` to obtain the env
|
||||
|
||||
### Manual Install(Debian/Fedora/Arch)
|
||||
|
||||
https://pan.huang1111.cn/s/jR1GdUy
|
||||
Share Link:https://share.spark-app.store/index.php?share/folder&user=1&sid=wHP86Kp4
|
||||
|
||||
Ubuntu 18.04 Need install https://packages.debian.org/buster/bubblewrap
|
||||
|
||||
Arch: `yay -S amber-ce-bookworm`
|
||||
|
||||
|
||||
### Amber-CE x86
|
||||
|
||||
@@ -44,14 +46,10 @@ https://pan.huang1111.cn/s/P63D6Cm
|
||||
|
||||
### Debian
|
||||
|
||||
Build the container first then build the package. Container at `src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files`
|
||||
Here are the details:
|
||||
1. Install dependencies: sudo apt-get install arch-test debootstrap libnss-mymachines systemd-container
|
||||
2. Enter the terminal at `src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files` and execute `./build-container.sh amd64`.[for amd,other arch please change]
|
||||
3. Wait for the container to complete.
|
||||
4.Get in to `amber-ce-bookworm` dir,run`fakeroot dpkg-deb -b src .`
|
||||
5.Wating for complete.
|
||||
|
||||
```
|
||||
apt build-dep .
|
||||
dpkg-buildpackage -us -uc -b
|
||||
```
|
||||
|
||||
### Fedora
|
||||
|
||||
|
||||
24
README.zh.md
24
README.zh.md
@@ -19,17 +19,12 @@
|
||||
|
||||
### 手动安装(Debian/Fedora/Arch)
|
||||
|
||||
https://pan.huang1111.cn/s/jR1GdUy
|
||||
|
||||
分享链接:https://share.spark-app.store/index.php?share/folder&user=1&sid=wHP86Kp4
|
||||
|
||||
Ubuntu 18.04 需要安装 https://packages.debian.org/buster/bubblewrap
|
||||
|
||||
|
||||
### Amber-CE x86
|
||||
|
||||
利用 LAT 运行的x86容器,可安装和运行x86的deb
|
||||
|
||||
https://pan.huang1111.cn/s/P63D6Cm
|
||||
|
||||
Arch:`yay -S amber-ce-bookworm`
|
||||
|
||||
---
|
||||
|
||||
@@ -38,15 +33,10 @@ https://pan.huang1111.cn/s/P63D6Cm
|
||||
|
||||
### Debian
|
||||
|
||||
先构建容器再打包,容器位置在`src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files`
|
||||
|
||||
下面是详细步骤:
|
||||
|
||||
1. 安装依赖:sudo apt-get install arch-test debootstrap libnss-mymachines systemd-container
|
||||
2. 在`src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files`位置进入终端,执行`./build-container.sh amd64`[amd架构,其他架构同理]`
|
||||
3. 等待容器打包完成
|
||||
4. 进入`amber-ce-bookworm`目录,执行`fakeroot dpkg-deb -b src .`
|
||||
5. 等待打包完成
|
||||
```
|
||||
apt build-dep .
|
||||
dpkg-buildpackage -us -uc -b
|
||||
```
|
||||
|
||||
### Fedora
|
||||
|
||||
|
||||
5
debian/changelog
vendored
5
debian/changelog
vendored
@@ -1,8 +1,9 @@
|
||||
amber-ce-bookworm (12.4.14-4) UNRELEASED; urgency=low
|
||||
|
||||
amber-ce-bookworm (12.4.15-1) UNRELEASED; urgency=low
|
||||
* fix: Can't pass args via bwrap
|
||||
* 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
|
||||
* fix: ACE Host Integration fail
|
||||
* adjust: remove dpkg from building depends
|
||||
|
||||
-- shenmo <shenmo@spark-app.store> Wed, 25 Sep 2024 23:15:49 +0800
|
||||
|
||||
2
debian/control
vendored
2
debian/control
vendored
@@ -2,7 +2,7 @@ Source: amber-ce-bookworm
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Maintainer: shenmo <shenmo@spark-app.store>
|
||||
Build-Depends: debhelper-compat (= 13),debootstrap,systemd-container
|
||||
Build-Depends: debhelper-compat (= 13),debootstrap,systemd-container,sudo
|
||||
Standards-Version: 4.5.1
|
||||
Homepage: https://gitee.com/amber-ce/amber-ce-bookworm/
|
||||
Rules-Requires-Root: binary-targets
|
||||
|
||||
@@ -15,14 +15,14 @@ if [ "$1" = "amd64" ] || [ "$1" = "x86_64" ];then
|
||||
ARCH="amd64"
|
||||
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/
|
||||
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,libvulkan1,mesa-vulkan-drivers,locales,libglib2.0-bin --arch=${ARCH} bookworm ./ace-env https://mirrors.ustc.edu.cn/debian/
|
||||
|
||||
elif [ "$1" = "arm64" ] || [ "$1" = "arm" ]|| [ "$1" = "aarch64" ];then
|
||||
ARCH="arm64"
|
||||
ARCH_ANOTHERWAY="arm64"
|
||||
|
||||
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,libvulkan1,mesa-vulkan-drivers,locales,libglib2.0-bin --arch=${ARCH} bookworm ./ace-env https://mirrors.ustc.edu.cn/debian/
|
||||
elif [ "$1" = "loong" ] || [ "$1" = "loong64" ];then
|
||||
ARCH="loong64"
|
||||
ARCH_ANOTHERWAY="loong64"
|
||||
@@ -40,7 +40,7 @@ sudo rm -rf ace-env
|
||||
|
||||
pushd flamescion-container-tools/ace-host-integration
|
||||
|
||||
dpkg-deb -Z xz -b . ../ace-host-integration.deb
|
||||
#dpkg-deb -Z xz -b . ../ace-host-integration.deb
|
||||
|
||||
popd
|
||||
|
||||
|
||||
Binary file not shown.
@@ -1,2 +1,2 @@
|
||||
#!/bin/bash
|
||||
host-spawn /opt/apps/amber-ce-bookworm/files/bin/bookworm-run-bwrap $@
|
||||
host-spawn /opt/apps/amber-ce-bookworm/files/bin/bookworm-run-bwrap "$@"
|
||||
|
||||
@@ -127,6 +127,7 @@ apt install --reinstall /flamescion-container-tools/ace-host-integration.deb
|
||||
cd /flamescion-container-tools/data-dir/
|
||||
ln -sfv ../../usr/share/applications/ .
|
||||
ln -sfv ../../usr/share/icons/ .
|
||||
ln -svf ../../usr/share/mime .
|
||||
#ln -svf ../../usr/share/mime .
|
||||
rm -vf ./mime
|
||||
update-desktop-database /usr/share/applications || true
|
||||
update-mime-database /usr/share/mime || true
|
||||
|
||||
Reference in New Issue
Block a user