Compare commits

...

9 commits

6 changed files with 92 additions and 15 deletions

View file

@ -9,8 +9,11 @@ env:
api_key: ${{ secrets.GITHUB_TOKEN }} api_key: ${{ secrets.GITHUB_TOKEN }}
name: ${{ github.event.repository.name }} name: ${{ github.event.repository.name }}
release_name: ${{ github.ref_name }} release_name: ${{ github.ref_name }}
GH_TOKEN: ${{ github.token }}
jobs: jobs:
build: build:
permissions:
contents: write
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: archlinux:latest image: archlinux:latest
@ -18,11 +21,17 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Install Packages via Pacman - name: Install Packages via Pacman
run: pacman -Sy; pacman --noconfirm -S git archiso python python-pygithub reflector run: pacman -Sy; pacman --noconfirm -S git archiso python python-pygithub github-cli reflector p7zip
- name: Change Arch docker mirror - name: Change Arch docker mirror
run: reflector -c "US" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist run: reflector -c "US" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist
- name: Build image - name: Build image
run: mkarchiso -v iso/ run: mkarchiso -v iso/
- name: Upload iso to the release - name: Upload iso to the release
run: python tools/upload_asset.py run: |
cd ./out
mkdir iso_parts
# split -d -b 2000M "$(ls *.iso)" iso_parts/"$(ls *.iso)"_part
#zip -s 2000m iso_parts/"$(ls *.iso)".zip "$(ls *.iso)"
7z -v1000m a iso_parts/"$(ls *.iso)".zip "$(ls *.iso)"
md5sum iso_parts/* > iso_parts/md5sums.txt
gh release upload ${{ github.event.release.tag_name }} ./iso_parts/* -R ${{ github.repository }}

60
build.sh Executable file
View file

@ -0,0 +1,60 @@
#!/usr/bin/bash
main() {
set -e
local Black DarkGray Red LightRed Green LightGreen Brown Yellow Blue LightBlue Purple Light Purple Cyan LightCyan LightGray White reset
## save colors
Black="\e[0;30m"
DarkGray="\e[1;30m"
Red="\e[0;31m"
LightRed="\e[1;31m"
Green="\e[0;32m"
LightGreen="\e[1;32m"
Brown="\e[0;33m"
Yellow="\e[1;33m"
Blue="\e[0;34m"
LightBlue="\e[1;34m"
Purple="\e[0;35m"
Light=Purple="\e[1;35m"
Cyan="\e[0;36m"
LightCyan="\e[1;36m"
LightGray="\e[0;37m"
White="\e[1;37m"
reset="\e[0m"
local reponame
reponame=${PWD##*/}
echo -e "$Green### start install packeges for build $reponame ###$reset"
echo -e "$Brown### checking your os ###$reset"
if type pacman >/dev/null 2>&1;then
if [ "$(id -u)" != "0" ]; then
echo -e "$Red### you are not in root$reset"
exit 1
else
install
echo -e "$Blue### install complete ###$reset"
echo -e "$Green### start build $reponame with archiso ###$reset"
build
makezip
fi
else
echo -e "$Red###os cant supported###$reset"
exit 1
fi
}
install() {
set -e
pacman -Sy; pacman --noconfirm -S --needed git archiso github-cli p7zip
}
build() {
set -e
mkarchiso -v iso/
}
makezip() {
cd out
7z -v500m a "$(ls *.iso)".zip "$(ls *.iso)"
md5sum * > md5sums.txt
}
main

View file

@ -1,7 +1,5 @@
[Autologin] [Autologin]
Relogin=false Relogin=false
User=liveuser User=liveuser
Session=plasma Session=budgie
[Theme]
Current=breeze-dark

View file

@ -0,0 +1,3 @@
[Theme]
# Current theme name
Current= parch

View file

@ -10,7 +10,14 @@ brltty
broadcom-wl-dkms broadcom-wl-dkms
btrfs-progs btrfs-progs
clonezilla clonezilla
pipewire
pipewire-pulse
wireplumber
bluez
bluez-utils
gnome-bluetooth
cloud-init cloud-init
parch-bluetooth
cryptsetup cryptsetup
darkhttpd darkhttpd
ddrescue ddrescue
@ -149,7 +156,8 @@ papirus-icon-theme
nemo nemo
gnome-terminal gnome-terminal
catppuccin-gtk-theme-mocha catppuccin-gtk-theme-mocha
parch-budgie-config
parch-budgie
#Desktop Parts #Desktop Parts
eom eom
@ -157,8 +165,6 @@ xed
mpv mpv
xreader xreader
warpinator warpinator
transmission-gtk
timeshift
amberol amberol
geary geary
bearings-bin bearings-bin
@ -166,7 +172,7 @@ webapp-manager
sticky sticky
#archive #archive
engrampa nemo-fileroller
unzip unzip
unrar unrar
p7zip p7zip
@ -175,9 +181,7 @@ p7zip
#systemutils #systemutils
btop btop
xdg-user-dirs xdg-user-dirs
packagekit-qt5
neofetch-git neofetch-git
ttf-dejavu
firefox firefox
noto-fonts noto-fonts
vazirmatn-fonts vazirmatn-fonts
@ -185,15 +189,18 @@ fira-code-font
fira-code-mono fira-code-mono
parch-welcome parch-welcome
parch-grub parch-grub
python-pyqt6
#parchlinuxstuff #parchlinuxstuff
calamares calamares
parchlinux-cala-config calamares-parch
os-prober os-prober
paru paru
parch-emoji-ios parch-emoji-ios
parch-branding parch-branding
parch-pacman parch-pacman
parch-os-wallpapers parch-wallpapers
parch-gnome-backgrounds parch-gnome-backgrounds
parch-sddm-theme
parch-plymouth
plymouth
boost

Binary file not shown.

Before

Width:  |  Height:  |  Size: 470 KiB

After

Width:  |  Height:  |  Size: 181 KiB