Removed systemd-boot
This commit is contained in:
parent
d93f216a0d
commit
4fbe1b5fd7
3 changed files with 54 additions and 4 deletions
50
.forgejo/workflows/build.yaml
Normal file
50
.forgejo/workflows/build.yaml
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
name: Build and Deploy ISO
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_iso:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: archlinux/archlinux:base-devel
|
||||||
|
privileged: true
|
||||||
|
|
||||||
|
env:
|
||||||
|
Desktop: "plasma"
|
||||||
|
steps:
|
||||||
|
- name: Install Node.js
|
||||||
|
run: pacman -Sy --noconfirm nodejs npm git sudo
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Update system
|
||||||
|
run: pacman -Syyuu --noconfirm
|
||||||
|
- name: Check user
|
||||||
|
run: whoami
|
||||||
|
- name: Build ISO
|
||||||
|
run: |
|
||||||
|
sudo ./build.sh
|
||||||
|
echo "Renaming the output ISO file"
|
||||||
|
mv out/*.iso out/ParchLinux-${{ env.Desktop }}-latest.iso
|
||||||
|
echo "Generating MD5 checksum"
|
||||||
|
md5sum out/ParchLinux-${{ env.Desktop }}-latest.iso > out/md5sum.txt
|
||||||
|
echo "Build completed. Files generated:"
|
||||||
|
ls -lh out/
|
||||||
|
- name: Setup dependencies
|
||||||
|
run: pacman -Syu --noconfirm sshpass rsync
|
||||||
|
|
||||||
|
- name: Determine remote directory
|
||||||
|
run: |
|
||||||
|
if [[ "${{ github.event.release.tag_name }}" == *"beta"* ]]; then
|
||||||
|
echo "REMOTE_DIR=/srv/http/beta/${{ env.Desktop }}/" >> $GITHUB_ENV
|
||||||
|
else
|
||||||
|
echo "REMOTE_DIR=/srv/http/${{ env.Desktop }}/" >> $GITHUB_ENV
|
||||||
|
fi
|
||||||
|
|
||||||
|
- name: Deploy files
|
||||||
|
env:
|
||||||
|
PASS: ${{ secrets.PASS }}
|
||||||
|
HOST: ${{ secrets.HOST }}
|
||||||
|
run: |
|
||||||
|
sshpass -p "$PASS" ssh -o StrictHostKeyChecking=no parch@$HOST "rm -rf $REMOTE_DIR && mkdir -p $REMOTE_DIR"
|
||||||
|
sshpass -p "$PASS" rsync -avz out/ParchLinux-${{ env.Desktop }}-latest.iso out/md5sum.txt parch@$HOST:$REMOTE_DIR
|
|
@ -8,6 +8,7 @@ gst-plugins-good
|
||||||
amd-ucode
|
amd-ucode
|
||||||
arch-install-scripts
|
arch-install-scripts
|
||||||
b43-fwcutter
|
b43-fwcutter
|
||||||
|
broadcom-wl-dkms
|
||||||
base
|
base
|
||||||
base-devel
|
base-devel
|
||||||
bind
|
bind
|
||||||
|
@ -168,7 +169,6 @@ tuba
|
||||||
nautilus-open-in-ptyxis
|
nautilus-open-in-ptyxis
|
||||||
gnome-shell-extension-persian-calendar
|
gnome-shell-extension-persian-calendar
|
||||||
gnome-shell-extension-appindicator
|
gnome-shell-extension-appindicator
|
||||||
kernel-install-mkinitcpio
|
|
||||||
|
|
||||||
#videocodec
|
#videocodec
|
||||||
jasper
|
jasper
|
||||||
|
@ -208,7 +208,7 @@ gnome-parch
|
||||||
os-prober
|
os-prober
|
||||||
paru
|
paru
|
||||||
parch-branding
|
parch-branding
|
||||||
parch-pacman-systemd
|
parch-pacman
|
||||||
parch-gnome-backgrounds
|
parch-gnome-backgrounds
|
||||||
vazirmatn-fonts
|
vazirmatn-fonts
|
||||||
hack-nerd-fonts
|
hack-nerd-fonts
|
||||||
|
|
|
@ -74,7 +74,7 @@ LocalFileSigLevel = Optional
|
||||||
|
|
||||||
[ppr]
|
[ppr]
|
||||||
SigLevel = Optional TrustedOnly
|
SigLevel = Optional TrustedOnly
|
||||||
Server = https://git.parchlinux.com/repo/ppr/-/raw/main/x86_64/
|
Server = https://git.parchlinux.com/repos/ppr/raw/branch/main/x86_64/
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
Include = /etc/pacman.d/mirrorlist
|
Include = /etc/pacman.d/mirrorlist
|
||||||
|
@ -96,7 +96,7 @@ Include = /etc/pacman.d/mirrorlist
|
||||||
|
|
||||||
[pcp]
|
[pcp]
|
||||||
SigLevel = Optional TrustedOnly
|
SigLevel = Optional TrustedOnly
|
||||||
Server = https://git.parchlinux.com/repo/pcp/-/raw/main/x86_64/
|
Server = https://git.parchlinux.com/repos/pcp/raw/branch/main/x86_64/
|
||||||
|
|
||||||
|
|
||||||
# An example of a custom package repository. See the pacman manpage for
|
# An example of a custom package repository. See the pacman manpage for
|
||||||
|
|
Loading…
Add table
Reference in a new issue