mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-16 03:52:04 +08:00
调整依赖
Some checks are pending
Auto Building Wine Runner / deb (push) Waiting to run
Auto Building Wine Runner / rpm (push) Waiting to run
Auto Building Wine Runner / pkg (push) Waiting to run
Building Wine Runner Off-line Pages / amd64 (push) Waiting to run
Building Wine Runner Off-line Pages / arm64 (push) Waiting to run
Building Wine Runner Off-line Pages / loongarch64 (push) Waiting to run
Some checks are pending
Auto Building Wine Runner / deb (push) Waiting to run
Auto Building Wine Runner / rpm (push) Waiting to run
Auto Building Wine Runner / pkg (push) Waiting to run
Building Wine Runner Off-line Pages / amd64 (push) Waiting to run
Building Wine Runner Off-line Pages / arm64 (push) Waiting to run
Building Wine Runner Off-line Pages / loongarch64 (push) Waiting to run
This commit is contained in:
17
.github/workflows/building-off-line-package.yml
vendored
17
.github/workflows/building-off-line-package.yml
vendored
@@ -116,7 +116,6 @@ jobs:
|
||||
#wget $url
|
||||
mv deep-wine-runner/spark-deepin-wine-runner.deb debian/tmp/wine-runner.deb
|
||||
## 安装
|
||||
sudo chroot debian apt-mark hold libwine
|
||||
sudo chroot debian apt install locales /tmp/wine-runner.deb fcitx xfce4-terminal qtwayland5 xwayland thunar -y
|
||||
sudo chroot debian apt install libxenmisc4.17 libxenstore4 libxenforeignmemory1 -y
|
||||
# 构建软件包
|
||||
@@ -156,7 +155,7 @@ jobs:
|
||||
|
||||
|
||||
loongarch64:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Building DEB
|
||||
run: |
|
||||
@@ -168,13 +167,13 @@ jobs:
|
||||
sudo apt install binfmt-support qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools psmisc wget -y
|
||||
git clone https://github.com/gfdgd-xi/deep-wine-runner --depth=1
|
||||
sudo cp deep-wine-runner/.github/workflows/DaoXiangHu-stable /usr/share/debootstrap/scripts/
|
||||
wget https://github.com/sunhaiyong1978/CLFS-for-LoongArch/releases/download/20210903/qemu-x86_64-to-loongarch64
|
||||
sudo cp qemu-x86_64-to-loongarch64 /bin/qemu-loongarch64
|
||||
sudo chmod 777 /bin/qemu-loongarch64
|
||||
echo ":qemu-loongarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x02\x01:\xff\xff\xff\xff\xff\xfe\xfe\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/bin/qemu-loongarch64:" | sudo tee /proc/sys/fs/binfmt_misc/register
|
||||
sudo update-binfmts --install loongarch64 /usr/bin/qemu-loongarch64 \
|
||||
--magic '\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x02\x01' \
|
||||
--mask '\xff\xff\xff\xff\xff\xfe\xfe\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff'
|
||||
git clone https://gitee.com/michael0066/qemu-loongarch64-static
|
||||
cd qemu-loongarch64-static
|
||||
sudo cp qemu-loongarch64 /var/lib/binfmts
|
||||
sudo cp qemu-loongarch64-static /usr/bin
|
||||
#sudo /etc/init.d/binfmt-support restart
|
||||
sudo bash -c 'echo ":qemu-loongarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x02\x01:\xff\xff\xff\xff\xff\xfe\xfe\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-loongarch64-static:" > /proc/sys/fs/binfmt_misc/register'
|
||||
#cat /proc/sys/fs/binfmt_misc/qemu-loongarch64-static
|
||||
cd ~
|
||||
mkdir package
|
||||
# 部署 chroot 环境
|
||||
|
||||
Reference in New Issue
Block a user