Compare commits
9 commits
2023-08-23
...
main
Author | SHA1 | Date | |
---|---|---|---|
e602ae3b60 | |||
9092f0c0f8 | |||
1d867b6c11 | |||
749aa1cea3 | |||
dc03539c8c | |||
b27b0d220a | |||
78de88e84c | |||
d90a8e1182 | |||
c74c184f3d |
6 changed files with 92 additions and 15 deletions
15
.github/workflows/build.yaml
vendored
15
.github/workflows/build.yaml
vendored
|
@ -9,8 +9,11 @@ env:
|
|||
api_key: ${{ secrets.GITHUB_TOKEN }}
|
||||
name: ${{ github.event.repository.name }}
|
||||
release_name: ${{ github.ref_name }}
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
jobs:
|
||||
build:
|
||||
permissions:
|
||||
contents: write
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: archlinux:latest
|
||||
|
@ -18,11 +21,17 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- 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
|
||||
run: reflector -c "US" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist
|
||||
- name: Build image
|
||||
run: mkarchiso -v iso/
|
||||
- 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
60
build.sh
Executable 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
|
|
@ -1,7 +1,5 @@
|
|||
[Autologin]
|
||||
Relogin=false
|
||||
User=liveuser
|
||||
Session=plasma
|
||||
Session=budgie
|
||||
|
||||
[Theme]
|
||||
Current=breeze-dark
|
||||
|
|
3
iso/airootfs/etc/sddm.conf.d/theme.conf
Normal file
3
iso/airootfs/etc/sddm.conf.d/theme.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
[Theme]
|
||||
# Current theme name
|
||||
Current= parch
|
|
@ -10,7 +10,14 @@ brltty
|
|||
broadcom-wl-dkms
|
||||
btrfs-progs
|
||||
clonezilla
|
||||
pipewire
|
||||
pipewire-pulse
|
||||
wireplumber
|
||||
bluez
|
||||
bluez-utils
|
||||
gnome-bluetooth
|
||||
cloud-init
|
||||
parch-bluetooth
|
||||
cryptsetup
|
||||
darkhttpd
|
||||
ddrescue
|
||||
|
@ -149,7 +156,8 @@ papirus-icon-theme
|
|||
nemo
|
||||
gnome-terminal
|
||||
catppuccin-gtk-theme-mocha
|
||||
|
||||
parch-budgie-config
|
||||
parch-budgie
|
||||
|
||||
#Desktop Parts
|
||||
eom
|
||||
|
@ -157,8 +165,6 @@ xed
|
|||
mpv
|
||||
xreader
|
||||
warpinator
|
||||
transmission-gtk
|
||||
timeshift
|
||||
amberol
|
||||
geary
|
||||
bearings-bin
|
||||
|
@ -166,7 +172,7 @@ webapp-manager
|
|||
sticky
|
||||
|
||||
#archive
|
||||
engrampa
|
||||
nemo-fileroller
|
||||
unzip
|
||||
unrar
|
||||
p7zip
|
||||
|
@ -175,9 +181,7 @@ p7zip
|
|||
#systemutils
|
||||
btop
|
||||
xdg-user-dirs
|
||||
packagekit-qt5
|
||||
neofetch-git
|
||||
ttf-dejavu
|
||||
firefox
|
||||
noto-fonts
|
||||
vazirmatn-fonts
|
||||
|
@ -185,15 +189,18 @@ fira-code-font
|
|||
fira-code-mono
|
||||
parch-welcome
|
||||
parch-grub
|
||||
python-pyqt6
|
||||
|
||||
#parchlinuxstuff
|
||||
calamares
|
||||
parchlinux-cala-config
|
||||
calamares-parch
|
||||
os-prober
|
||||
paru
|
||||
parch-emoji-ios
|
||||
parch-branding
|
||||
parch-pacman
|
||||
parch-os-wallpapers
|
||||
parch-wallpapers
|
||||
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 |
Loading…
Add table
Reference in a new issue