mirror of
https://github.com/GXDE-OS/GXDE.git
synced 2026-08-07 16:53:57 +08:00
Compare commits
10
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ab22b376b6 | ||
|
|
92dab943d5 | ||
|
|
da202ec80b | ||
|
|
060c93511f | ||
|
|
7bb6b497f6 | ||
|
|
041520a003 | ||
|
|
a0b1e96888 | ||
|
|
5a2e0ca3e0 | ||
|
|
17300ff510 | ||
|
|
d0b88cd451 |
@@ -208,7 +208,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Configure Base System
|
- name: Configure Base System
|
||||||
run: |
|
run: |
|
||||||
bash .github/workflows/configure-building-enviroment-base-system.sh loong64 unstable $REPOSITORY https://packages.gxde.org/debian-loong64/
|
bash .github/workflows/configure-building-enviroment-base-system.sh loong64 unstable $REPOSITORY https://deb.debian.org/debian-ports/
|
||||||
#bash .github/workflows/configure-building-enviroment-base-system.sh loong64 unstable $REPOSITORY https://github.com/$GITHUB_REPOSITORY https://deb.debian.org/debian-ports/
|
#bash .github/workflows/configure-building-enviroment-base-system.sh loong64 unstable $REPOSITORY https://github.com/$GITHUB_REPOSITORY https://deb.debian.org/debian-ports/
|
||||||
|
|
||||||
- name: Building ${{ GITHUB.repository }}
|
- name: Building ${{ GITHUB.repository }}
|
||||||
|
|||||||
@@ -0,0 +1,123 @@
|
|||||||
|
name: Building GXDE Testing SID Package
|
||||||
|
run-name: Building SID ${{ GITHUB.REPOSITORY }}
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
secrets:
|
||||||
|
PASSWD:
|
||||||
|
required: true
|
||||||
|
USERS:
|
||||||
|
required: true
|
||||||
|
HOST:
|
||||||
|
required: true
|
||||||
|
UPATH:
|
||||||
|
required: true
|
||||||
|
UPROGRAM:
|
||||||
|
required: true
|
||||||
|
UPORT:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
env:
|
||||||
|
REPOSITORY: https://github.com/GXDE-OS/GXDE
|
||||||
|
BOTTLEPATH: system-bottle
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
loong64:
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
steps:
|
||||||
|
- name: Clone Repository To Get Script
|
||||||
|
run: |
|
||||||
|
#apt update
|
||||||
|
#apt install sudo git -y
|
||||||
|
git clone $REPOSITORY --depth=1
|
||||||
|
mv $(basename $REPOSITORY)/* . -v
|
||||||
|
mv $(basename $REPOSITORY)/.* . -v | true
|
||||||
|
|
||||||
|
- name: Configure Base System
|
||||||
|
run: |
|
||||||
|
bash .github/workflows/configure-building-enviroment-base-system.sh loong64 sid $REPOSITORY https://github.com/$GITHUB_REPOSITORY https://deb.debian.org/debian-ports/
|
||||||
|
#bash .github/workflows/configure-building-enviroment-base-system.sh loong64 sid $REPOSITORY https://github.com/$GITHUB_REPOSITORY https://deb.debian.org/debian-ports/
|
||||||
|
|
||||||
|
- name: Building ${{ GITHUB.repository }}
|
||||||
|
run: |
|
||||||
|
env gitPath=$(basename $GITHUB_REPOSITORY) bash .github/workflows/run-command-in-chroot.sh env GO111MODULE=off dpkg-buildpackage -b
|
||||||
|
|
||||||
|
- name: Remove Debug Package
|
||||||
|
run: |
|
||||||
|
env env gitPath=$(basename $GITHUB_REPOSITORY) bash .github/workflows/run-command-in-chroot.sh rm -rfv ../*dbg*.deb
|
||||||
|
|
||||||
|
- name: Pack tar
|
||||||
|
run: |
|
||||||
|
cd $BOTTLEPATH
|
||||||
|
sudo tar -cvf ../deb-$(date +%s).tar *.deb
|
||||||
|
|
||||||
|
- name: Push
|
||||||
|
env:
|
||||||
|
UPASSWD: ${{ secrets.PASSWD }}
|
||||||
|
UUSERS: ${{ secrets.USERS }}
|
||||||
|
UHOST: ${{ secrets.HOST }}
|
||||||
|
UPATH: ${{ secrets.UPATH }}
|
||||||
|
UPROGRAM: ${{ secrets.UPROGRAM }}
|
||||||
|
UPORT: ${{ secrets.UPORT }}
|
||||||
|
run: |
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install sshpass -y
|
||||||
|
mkdir -p ~/.ssh/
|
||||||
|
ssh-keyscan -p $UPORT -H $UHOST >> ~/.ssh/known_hosts
|
||||||
|
tarName=$(ls | grep .tar | head -n 1)
|
||||||
|
sshpass -p "$UPASSWD" rsync -e "ssh -p $UPORT" $tarName $UUSERS@$UHOST:$UPATH
|
||||||
|
sshpass -p "$UPASSWD" ssh $UUSERS@$UHOST -p $UPORT $UPROGRAM tianlu $UPATH/$tarName > /dev/null
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
riscv64:
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
steps:
|
||||||
|
- name: Clone Repository To Get Script
|
||||||
|
run: |
|
||||||
|
#apt update
|
||||||
|
#apt install sudo git -y
|
||||||
|
git clone $REPOSITORY --depth=1
|
||||||
|
mv $(basename $REPOSITORY)/* . -v
|
||||||
|
mv $(basename $REPOSITORY)/.* . -v | true
|
||||||
|
|
||||||
|
- name: Configure Base System
|
||||||
|
run: |
|
||||||
|
bash .github/workflows/configure-building-enviroment-base-system.sh riscv64 sid $REPOSITORY https://github.com/$GITHUB_REPOSITORY
|
||||||
|
|
||||||
|
- name: Building ${{ GITHUB.repository }}
|
||||||
|
run: |
|
||||||
|
set +e
|
||||||
|
env gitPath=$(basename $GITHUB_REPOSITORY) bash .github/workflows/run-command-in-chroot.sh env GO111MODULE=off dpkg-buildpackage -b
|
||||||
|
|
||||||
|
- name: Remove Debug Package
|
||||||
|
run: |
|
||||||
|
set +e
|
||||||
|
env env gitPath=$(basename $GITHUB_REPOSITORY) bash .github/workflows/run-command-in-chroot.sh rm -rfv ../*dbg*.deb
|
||||||
|
|
||||||
|
- name: Pack tar
|
||||||
|
run: |
|
||||||
|
set +e
|
||||||
|
cd $BOTTLEPATH
|
||||||
|
sudo tar -cvf ../deb-$(date +%s).tar *.deb
|
||||||
|
|
||||||
|
- name: Push
|
||||||
|
env:
|
||||||
|
UPASSWD: ${{ secrets.PASSWD }}
|
||||||
|
UUSERS: ${{ secrets.USERS }}
|
||||||
|
UHOST: ${{ secrets.HOST }}
|
||||||
|
UPATH: ${{ secrets.UPATH }}
|
||||||
|
UPROGRAM: ${{ secrets.UPROGRAM }}
|
||||||
|
UPORT: ${{ secrets.UPORT }}
|
||||||
|
run: |
|
||||||
|
set +e
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install sshpass -y
|
||||||
|
mkdir -p ~/.ssh/
|
||||||
|
ssh-keyscan -p $UPORT -H $UHOST >> ~/.ssh/known_hosts
|
||||||
|
tarName=$(ls | grep .tar | head -n 1)
|
||||||
|
if [[ $tarName != "" ]]; then
|
||||||
|
sshpass -p "$UPASSWD" rsync -e "ssh -p $UPORT" $tarName $UUSERS@$UHOST:$UPATH > /dev/null
|
||||||
|
sshpass -p "$UPASSWD" ssh $UUSERS@$UHOST -p $UPORT $UPROGRAM tianlu $UPATH/$tarName > /dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
@@ -209,8 +209,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Configure Base System
|
- name: Configure Base System
|
||||||
run: |
|
run: |
|
||||||
bash .github/workflows/configure-building-enviroment-base-system.sh loong64 unstable $REPOSITORY https://github.com/$GITHUB_REPOSITORY https://packages.gxde.org/debian-loong64/
|
bash .github/workflows/configure-building-enviroment-base-system.sh loong64 sid $REPOSITORY https://github.com/$GITHUB_REPOSITORY https://deb.debian.org/debian-ports/
|
||||||
#bash .github/workflows/configure-building-enviroment-base-system.sh loong64 unstable $REPOSITORY https://github.com/$GITHUB_REPOSITORY https://deb.debian.org/debian-ports/
|
#bash .github/workflows/configure-building-enviroment-base-system.sh loong64 sid $REPOSITORY https://github.com/$GITHUB_REPOSITORY https://deb.debian.org/debian-ports/
|
||||||
|
|
||||||
- name: Building ${{ GITHUB.repository }}
|
- name: Building ${{ GITHUB.repository }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
name: Building Testing
|
name: Building Program
|
||||||
run-name: Building ${{ GITHUB.REPOSITORY }}
|
run-name: Building ${{ GITHUB.REPOSITORY }}
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
|||||||
@@ -27,7 +27,10 @@ else
|
|||||||
useDebianPort
|
useDebianPort
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
sudo debootstrap --arch=$1 $2 $bottlePath $5
|
sudo debootstrap --include=git,gcc,make,debian-ports-archive-keyring,debian-archive-keyring,g++,dpkg-dev,qtbase5-dev,ca-certificates --arch=$1 $2 $bottlePath $5
|
||||||
|
#if [[ $? != 0 ]]; then
|
||||||
|
# sudo debootstrap --foreign --include=git,gcc,make,debian-ports-archive-keyring,debian-archive-keyring,g++,dpkg-dev,qtbase5-dev,ca-certificates --arch=$1 $2 $bottlePath $5
|
||||||
|
#fi
|
||||||
if [[ $? != 0 ]] && [[ $1 == loong64 ]]; then
|
if [[ $? != 0 ]] && [[ $1 == loong64 ]]; then
|
||||||
sudo apt install squashfs-tools git -y
|
sudo apt install squashfs-tools git -y
|
||||||
wget https://github.com/GXDE-OS/GXDE/releases/download/resources/debian-base-loong64.squashfs
|
wget https://github.com/GXDE-OS/GXDE/releases/download/resources/debian-base-loong64.squashfs
|
||||||
@@ -42,6 +45,7 @@ if [[ $6 == "backport" ]]; then
|
|||||||
sudo cp -rv .github/workflows/90bookworm-backports $bottlePath/etc/apt/preferences.d/
|
sudo cp -rv .github/workflows/90bookworm-backports $bottlePath/etc/apt/preferences.d/
|
||||||
fi
|
fi
|
||||||
# 配置 git
|
# 配置 git
|
||||||
|
#echo "deb [trusted=true] https://deb.debian.org/debian-ports/ unreleased main" | sudo tee $bottlePath/etc/apt/sources.list.d/debian-unreleased.list
|
||||||
sudo chroot $bottlePath apt update
|
sudo chroot $bottlePath apt update
|
||||||
sudo chroot $bottlePath apt full-upgrade -y
|
sudo chroot $bottlePath apt full-upgrade -y
|
||||||
sudo chroot $bottlePath apt install git -y
|
sudo chroot $bottlePath apt install git -y
|
||||||
|
|||||||
@@ -23,9 +23,9 @@ else
|
|||||||
echo "deb [trusted=true] https://repo1.gxde.top/gxde-os/tianlu ./" >> /etc/apt/sources.list.d/gxde-os.list
|
echo "deb [trusted=true] https://repo1.gxde.top/gxde-os/tianlu ./" >> /etc/apt/sources.list.d/gxde-os.list
|
||||||
echo "deb [trusted=true] https://repo1.gxde.top/gxde-os/bixie ./" >> /etc/apt/sources.list.d/gxde-os.list
|
echo "deb [trusted=true] https://repo1.gxde.top/gxde-os/bixie ./" >> /etc/apt/sources.list.d/gxde-os.list
|
||||||
fi
|
fi
|
||||||
if [[ $(dpkg --print-architecture) == "loong64" ]]; then
|
#if [[ $(dpkg --print-architecture) == "loong64" ]]; then
|
||||||
echo "deb [trusted=true] https://packages.gxde.org/debian-loong64/ unreleased main" > /etc/apt/sources.list.d/debian-unreleased.list
|
# echo "deb [trusted=true] https://deb.debian.org/debian-ports/ unreleased main" > /etc/apt/sources.list.d/debian-unreleased.list
|
||||||
fi
|
#fi
|
||||||
apt install debian-ports-archive-keyring debian-archive-keyring -y
|
apt install debian-ports-archive-keyring debian-archive-keyring -y
|
||||||
for i in {1..8};
|
for i in {1..8};
|
||||||
do
|
do
|
||||||
@@ -35,8 +35,8 @@ do
|
|||||||
fi
|
fi
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
apt install dpkg-dev sudo neofetch debian-ports-archive-keyring debian-archive-keyring -y
|
apt install dpkg-dev sudo debian-ports-archive-keyring debian-archive-keyring -y
|
||||||
neofetch
|
#neofetch
|
||||||
#if [[ `arch` != "x86_64" ]]; then
|
#if [[ `arch` != "x86_64" ]]; then
|
||||||
# apt source qemu
|
# apt source qemu
|
||||||
# cd qemu-*/
|
# cd qemu-*/
|
||||||
|
|||||||
Vendored
+14
-2
@@ -44,8 +44,20 @@ Depends:
|
|||||||
${misc:Depends},
|
${misc:Depends},
|
||||||
gxde-daemon,
|
gxde-daemon,
|
||||||
gxde-desktop,
|
gxde-desktop,
|
||||||
Recommends:
|
gxde-calculator,
|
||||||
gxde-desktop-extra
|
gxde-terminal,
|
||||||
|
gxde-deb-installer,
|
||||||
|
gxde-editor,
|
||||||
|
gxde-image-viewer,
|
||||||
|
gxde-ocr,
|
||||||
|
gxde-music,
|
||||||
|
gxde-font-installer,
|
||||||
|
gxde-movie,
|
||||||
|
gxde-quick-hash,
|
||||||
|
spark-store | aptss,
|
||||||
|
deepin-system-monitor,
|
||||||
|
dde-control-center,
|
||||||
|
dde-file-manager,
|
||||||
Conflicts:
|
Conflicts:
|
||||||
plymouth-theme-gxde-logo,
|
plymouth-theme-gxde-logo,
|
||||||
linux-kernel-gxde-i386,
|
linux-kernel-gxde-i386,
|
||||||
|
|||||||
Reference in New Issue
Block a user