mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-12-14 02:52:04 +08:00
fix: cannot build on arm64
This commit is contained in:
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:
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user