Compare commits

...

7 commits

Author SHA1 Message Date
75688c852c edit bootmodes 2024-03-20 14:49:03 +03:30
68b807832e add device mapper 2024-03-20 04:27:43 +03:30
c20ef08e74 add boost libs 2024-03-20 03:39:54 +03:30
447b8f25cf recover calamares 2024-03-17 02:17:52 +03:30
9c7dcd99c5 sync with template repo 2024-03-16 13:43:57 +03:30
f367fc1e9c synced source with latest profile 2024-03-14 18:15:31 +03:30
eb983625d6 synced source with latest profile 2024-03-14 18:14:17 +03:30
8 changed files with 129 additions and 60 deletions

View file

@ -1,10 +1,15 @@
# This workflow will build an Arch Linux ISO file when a release is created. # This workflow will build an Arch Linux ISO file with the commit on it
name: build parchiso per release name: build parchiso per release
on: on:
release: release:
types: types:
- created - created
env:
api_key: ${{ secrets.GITHUB_TOKEN }}
name: ${{ github.event.repository.name }}
release_name: ${{ github.ref_name }}
GH_TOKEN: ${{ github.token }}
jobs: jobs:
build: build:
permissions: permissions:
@ -16,18 +21,17 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Install Packages via Pacman - name: Install Packages via Pacman
run: | run: pacman -Sy; pacman --noconfirm -S git archiso python python-pygithub github-cli reflector p7zip
pacman -Suy --noconfirm --noprogressbar - name: Change Arch docker mirror
pacman -Sy --noconfirm --noprogressbar --needed git archiso python python-pygithub reflector run: reflector -c "US" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist
- name: Change pacman mirrors
run: |
reflector -n 3 --protocol https --save /etc/pacman.d/mirrorlist
pacman -Syy
- 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
env: run: |
API_KEY: ${{ secrets.GITHUB_TOKEN }} cd ./out
REPO_NAME: ${{ github.repository }} mkdir iso_parts
RELEASE_NAME: ${{ github.ref_name }} # split -d -b 2000M "$(ls *.iso)" iso_parts/"$(ls *.iso)"_part
run: python tools/upload_asset.py #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 }}

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
out/
work/

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

@ -0,0 +1,30 @@
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################
# With: reflector @/etc/xdg/reflector/reflector.conf
# When: 2023-11-09 08:09:08 UTC
# From: https://archlinux.org/mirrors/status/json/
# Retrieved: 2023-11-09 08:06:51 UTC
# Last Check: 2023-11-09 07:54:59 UTC
Server = https://mirror.arvancloud.ir/archlinux/$repo/os/$arch
Server = https://america.mirror.pkgbuild.com/$repo/os/$arch
Server = https://sydney.mirror.pkgbuild.com/$repo/os/$arch
Server = https://archlinux.thaller.ws/$repo/os/$arch
Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
Server = https://mirror.cyberbits.eu/archlinux/$repo/os/$arch
Server = https://mirror.moson.org/arch/$repo/os/$arch
Server = https://mirrors.neusoft.edu.cn/archlinux/$repo/os/$arch
Server = https://mirror.theo546.fr/archlinux/$repo/os/$arch
Server = https://london.mirror.pkgbuild.com/$repo/os/$arch
Server = https://seoul.mirror.pkgbuild.com/$repo/os/$arch
Server = https://archlinux.mailtunnel.eu/$repo/os/$arch
Server = https://md.mirrors.hacktegic.com/archlinux/$repo/os/$arch
Server = https://mirror.sunred.org/archlinux/$repo/os/$arch
Server = https://dist-mirror.fem.tu-ilmenau.de/archlinux/$repo/os/$arch
Server = https://mirrors.niyawe.de/archlinux/$repo/os/$arch
Server = https://mirror.pseudoform.org/$repo/os/$arch
Server = https://archlinux.uk.mirror.allworldit.com/archlinux/$repo/os/$arch
Server = https://at.arch.mirror.kescher.at/$repo/os/$arch
Server = https://de.arch.mirror.kescher.at/$repo/os/$arch
Server = https://asia.mirror.pkgbuild.com/$repo/os/$arch

View file

@ -1,14 +1,13 @@
alsa-utils alsa-utils
ark
amd-ucode amd-ucode
arch-install-scripts arch-install-scripts
#archinstall archinstall
b43-fwcutter b43-fwcutter
base base
base-devel base-devel
bind bind
brltty brltty
#broadcom-wl broadcom-wl-dkms
btrfs-progs btrfs-progs
clonezilla clonezilla
cloud-init cloud-init
@ -44,22 +43,6 @@ intel-ucode
#ipw2100-fw #ipw2100-fw
#ipw2200-fw #ipw2200-fw
irssi irssi
pipewire
pipewire-pulse
gst-plugin-pipewire
libpipewire
pipewire-alsa
pipewire-audio
pipewire-ffado
pipewire-jack
pipewire-media-session
pipewire-roc
pipewire-v4l2
pipewire-x11-bell
pipewire-zeroconf
alsa-ucm-conf
dkms
sof-firmware
iw iw
iwd iwd
jfsutils jfsutils
@ -96,7 +79,6 @@ nmap
ntfs-3g ntfs-3g
nvme-cli nvme-cli
open-iscsi open-iscsi
open-vm-tools
openconnect openconnect
openssh openssh
openvpn openvpn
@ -110,7 +92,6 @@ pv
python python
python-psutil python-psutil
python-systemd python-systemd
qterminal
refind refind
#reflector #reflector
reiserfsprogs reiserfsprogs
@ -152,9 +133,15 @@ zsh
archlinux-keyring archlinux-keyring
openssl-1.1 openssl-1.1
openssl openssl
android-file-transfer gvfs
gvfs-mtp gvfs-mtp
broadcom-wl-dkms networkmanager
android-file-transfer
calamares
calamares-parch
boost
boost-libs
device-mapper
#Desktop #Desktop
sddm sddm
@ -166,13 +153,15 @@ plasma-nm
konsole konsole
firefox firefox
#cutefish-desktop #cutefish-desktop
cutefish-calculator cutefish-calculator
cutefish-core cutefish-core
cutefish-dock cutefish-dock
cutefish-filemanager cutefish-filemanager
cutefish-icons cutefish-icons
cutefish-kwin-plugins #cutefish-kwin-plugins
cutefish-launcher cutefish-launcher
cutefish-qt-plugins cutefish-qt-plugins
cutefish-screenlocker cutefish-screenlocker
@ -182,33 +171,17 @@ cutefish-wallpapers
konsole konsole
parch-cutefish-fix parch-cutefish-fix
#systemutils #systemutils
btop btop
xdg-user-dirs xdg-user-dirs
packagekit-qt5 packagekit-qt5
neofetch-git neofetch-git
keepassxc
leafpad
gwenview
okular
mpv
parch-mpv
ibus
ttf-dejavu
juk
#parchlinuxstuff #ParchLinux Core Packages
calamares
parch-grub
parch-dorood
python-pyqt6
qt6-base
parchlinux-cala-config
os-prober os-prober
paru paru
parch-emoji-ios
vazirmatn-fonts
parch-branding parch-branding
parch-pacman parch-pacman
parch-os-wallpapers
parch-emoji-ios
estedad-fonts
vazirmatn-fonts

View file

@ -34,7 +34,7 @@ Architecture = auto
#NoProgressBar #NoProgressBar
CheckSpace CheckSpace
#VerbosePkgLists #VerbosePkgLists
ParallelDownloads = 5 #ParallelDownloads = 5
# By default, pacman accepts packages signed by keys that its local keyring # By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages. # trusts (see pacman-key and its man page), as well as unsigned packages.

View file

@ -9,8 +9,8 @@ iso_version="$(date +%Y.%m.%d)"
install_dir="arch" install_dir="arch"
buildmodes=('iso') buildmodes=('iso')
bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito'
'uefi-ia32.grub.esp' 'uefi-x64.systemd-boot.esp' 'uefi-x64.systemd-boot.esp'
'uefi-ia32.grub.eltorito' 'uefi-x64.systemd-boot.eltorito') 'uefi-x64.systemd-boot.eltorito')
arch="x86_64" arch="x86_64"
pacman_conf="pacman.conf" pacman_conf="pacman.conf"
airootfs_image_type="squashfs" airootfs_image_type="squashfs"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 470 KiB

After

Width:  |  Height:  |  Size: 181 KiB