Compare commits
11 commits
2025.02.10
...
main
Author | SHA1 | Date | |
---|---|---|---|
082c651aef | |||
30eff91746 | |||
662e7aeaa7 | |||
46f48e27f0 | |||
8817357a20 | |||
9116c823bd | |||
4d4e0e6675 | |||
fd85e8cb65 | |||
8465e1b7f8 | |||
1f438a52ef | |||
4fbe1b5fd7 |
4 changed files with 60 additions and 10 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: "gnome"
|
||||||
|
steps:
|
||||||
|
- name: Install Node.js
|
||||||
|
run: pacman -Syyu --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
|
2
build.sh
2
build.sh
|
@ -45,7 +45,7 @@ main() {
|
||||||
install() {
|
install() {
|
||||||
set -e
|
set -e
|
||||||
pacman -Sy; pacman --noconfirm -S --needed git wget github-cli p7zip reflector rsync
|
pacman -Sy; pacman --noconfirm -S --needed git wget github-cli p7zip reflector rsync
|
||||||
wget https://git.parchlinux.com/repo/ppr/-/raw/main/x86_64/archiso-99-1-any.pkg.tar.zst
|
wget https://git.parchlinux.com/repos/ppr/raw/branch/main/x86_64/archiso-99-1-any.pkg.tar.zst
|
||||||
sudo pacman -U archiso-99-1-any.pkg.tar.zst --noconfirm
|
sudo pacman -U archiso-99-1-any.pkg.tar.zst --noconfirm
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
alsa-utils
|
alsa-utils
|
||||||
pipewire
|
pipewire
|
||||||
pipewire-pulse
|
pipewire-pulse
|
||||||
|
pipewire-alsa
|
||||||
ttf-apple-emoji
|
ttf-apple-emoji
|
||||||
gstreamer-vaapi
|
gstreamer-vaapi
|
||||||
gst-plugin-pipewire
|
gst-plugin-pipewire
|
||||||
|
@ -8,6 +9,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
|
||||||
|
@ -30,7 +32,6 @@ edk2-shell
|
||||||
efibootmgr
|
efibootmgr
|
||||||
espeakup
|
espeakup
|
||||||
ethtool
|
ethtool
|
||||||
exfatprogs
|
|
||||||
f2fs-tools
|
f2fs-tools
|
||||||
fatresize
|
fatresize
|
||||||
fsarchiver
|
fsarchiver
|
||||||
|
@ -136,6 +137,7 @@ openssl
|
||||||
bluez
|
bluez
|
||||||
bluez-utils
|
bluez-utils
|
||||||
parch-bluetooth
|
parch-bluetooth
|
||||||
|
parchlinux-keyring
|
||||||
|
|
||||||
#Desktop
|
#Desktop
|
||||||
firefox
|
firefox
|
||||||
|
@ -168,7 +170,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
|
||||||
|
@ -207,11 +208,10 @@ gnome-initial-setup
|
||||||
gnome-parch
|
gnome-parch
|
||||||
os-prober
|
os-prober
|
||||||
paru
|
paru
|
||||||
|
parch-grub
|
||||||
parch-branding
|
parch-branding
|
||||||
parch-pacman-systemd
|
parch-pacman
|
||||||
parch-gnome-backgrounds
|
parch-gnome-backgrounds
|
||||||
vazirmatn-fonts
|
|
||||||
hack-nerd-fonts
|
|
||||||
parch-emoji-ios
|
parch-emoji-ios
|
||||||
sof-firmware
|
sof-firmware
|
||||||
text-engine
|
text-engine
|
||||||
|
|
|
@ -73,8 +73,8 @@ LocalFileSigLevel = Optional
|
||||||
#Include = /etc/pacman.d/mirrorlist
|
#Include = /etc/pacman.d/mirrorlist
|
||||||
|
|
||||||
[ppr]
|
[ppr]
|
||||||
SigLevel = Optional TrustedOnly
|
SigLevel = Never
|
||||||
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
|
||||||
|
@ -95,8 +95,8 @@ Include = /etc/pacman.d/mirrorlist
|
||||||
#Include = /etc/pacman.d/mirrorlist
|
#Include = /etc/pacman.d/mirrorlist
|
||||||
|
|
||||||
[pcp]
|
[pcp]
|
||||||
SigLevel = Optional TrustedOnly
|
SigLevel = Never
|
||||||
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
Add a link
Reference in a new issue