mirror of
https://github.com/GXDE-OS/GXDE.git
synced 2026-06-22 05:26:37 +08:00
修复loong64 zhuangzhuang交叉编译问题
Signed-off-by: gfdgd_xi <3025613752@qq.com>
This commit is contained in:
@@ -80,3 +80,4 @@ jobs:
|
|||||||
rootfs-source: https://deb.debian.org/debian/
|
rootfs-source: https://deb.debian.org/debian/
|
||||||
gxde-codename: lizhi
|
gxde-codename: lizhi
|
||||||
gxde-codename-upload: zhuangzhuang
|
gxde-codename-upload: zhuangzhuang
|
||||||
|
gxde-cross-arch: loong64
|
||||||
|
|||||||
@@ -79,4 +79,5 @@ jobs:
|
|||||||
rootfs-codename: trixie
|
rootfs-codename: trixie
|
||||||
rootfs-source: https://deb.debian.org/debian/
|
rootfs-source: https://deb.debian.org/debian/
|
||||||
gxde-codename: lizhi
|
gxde-codename: lizhi
|
||||||
gxde-codename-upload: zhuangzhuang
|
gxde-codename-upload: zhuangzhuang
|
||||||
|
gxde-cross-arch: loong64
|
||||||
@@ -34,10 +34,10 @@ fi
|
|||||||
apt install -f -y
|
apt install -f -y
|
||||||
apt install debian-ports-archive-keyring debian-archive-keyring -y
|
apt install debian-ports-archive-keyring debian-archive-keyring -y
|
||||||
if [[ -f /sources-list/sources-$1.list ]]; then
|
if [[ -f /sources-list/sources-$1.list ]]; then
|
||||||
if [[ $(dpkg --print-architecture) == "riscv64" ]]; then
|
if [[ $(dpkg --print-architecture) == "riscv64" ]] || [[ $GXDE_CROSS_ARCH == "riscv64" ]]; then
|
||||||
cp /sources-list/sources-$1-without-backport.list /etc/apt/sources.list.d -v
|
cp /sources-list/sources-$1-without-backport.list /etc/apt/sources.list.d -v
|
||||||
else
|
else
|
||||||
if [[ $(dpkg --print-architecture) == "loong64" ]]; then
|
if [[ $(dpkg --print-architecture) == "loong64" ]] || [[ $GXDE_CROSS_ARCH == "loong64" ]]; then
|
||||||
cp /sources-list/sources-$1-loong64.list /etc/apt/sources.list.d -v
|
cp /sources-list/sources-$1-loong64.list /etc/apt/sources.list.d -v
|
||||||
else
|
else
|
||||||
cp /sources-list/sources-$1.list /etc/apt/sources.list.d -v
|
cp /sources-list/sources-$1.list /etc/apt/sources.list.d -v
|
||||||
|
|||||||
@@ -1,15 +1,3 @@
|
|||||||
deb [trusted=true] http://loong13.debian.net/debian-loong64/ trixie main contrib non-free non-free-firmware
|
|
||||||
deb-src [trusted=true] http://loong13.debian.net/debian-loong64/ trixie main contrib non-free non-free-firmware
|
|
||||||
|
|
||||||
deb [trusted=true] http://loong13.debian.net/debian-loong64/ trixie-updates main contrib non-free non-free-firmware
|
|
||||||
deb-src [trusted=true] http://loong13.debian.net/debian-loong64/ trixie-updates main contrib non-free non-free-firmware
|
|
||||||
|
|
||||||
deb [trusted=true] http://loong13.debian.net/debian-loong64/ trixie-backports main contrib non-free non-free-firmware
|
|
||||||
deb-src [trusted=true] http://loong13.debian.net/debian-loong64/ trixie-backports main contrib non-free non-free-firmware
|
|
||||||
|
|
||||||
deb [trusted=true] http://loong13.debian.net/debian-loong64-security/ trixie-security main contrib non-free non-free-firmware
|
|
||||||
deb-src [trusted=true] http://loong13.debian.net/debian-loong64-security/ trixie-security main contrib non-free non-free-firmware
|
|
||||||
|
|
||||||
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
|
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
|
||||||
deb https://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware
|
deb https://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware
|
||||||
deb-src https://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware
|
deb-src https://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware
|
||||||
|
|||||||
Reference in New Issue
Block a user