summaryrefslogtreecommitdiff
path: root/raveos-calamares-theme
diff options
context:
space:
mode:
authorNippy <nippy@Beller-Mac-mini.lan>2026-11-08 22:21:58 +0100
committerNippy <nippy@Beller-Mac-mini.lan>2026-11-08 22:21:58 +0100
commit1a5ffbc01bfbf483f6630976ca5128df47c56c7e (patch)
treedee133455a8ab56eec2ecdf5551f3651c1d8c52f /raveos-calamares-theme
parent1ac5863bf1566f5a3d1337a740e88ee33a59209c (diff)
downloadRaveOS-PKGBUILD-1a5ffbc01bfbf483f6630976ca5128df47c56c7e.tar.gz
RaveOS-PKGBUILD-1a5ffbc01bfbf483f6630976ca5128df47c56c7e.zip
fix
Diffstat (limited to 'raveos-calamares-theme')
-rw-r--r--raveos-calamares-theme/PKGBUILD4
-rw-r--r--raveos-calamares-theme/etc/calamares/modules/raveos-letoltes-beallitas.sh11
-rw-r--r--raveos-calamares-theme/etc/calamares/modules/shellprocess-pacstrap.conf4
3 files changed, 18 insertions, 1 deletions
diff --git a/raveos-calamares-theme/PKGBUILD b/raveos-calamares-theme/PKGBUILD
index 9dd5e7e..fbed3a8 100644
--- a/raveos-calamares-theme/PKGBUILD
+++ b/raveos-calamares-theme/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: nippy <nippy@tuta.io>
pkgname=raveos-calamares-theme
pkgver=2.0.0
-pkgrel=83
+pkgrel=84
pkgdesc="RaveOS Calamares Theme"
arch=('any')
url="https://git.rp1.hu/RaveOS"
@@ -35,6 +35,8 @@ package() {
install -Dm755 "${startdir}/etc/calamares/modules/raveos-tukor-rangsor.sh" \
"${pkgdir}/etc/calamares/modules/raveos-tukor-rangsor.sh"
+ install -Dm755 "${startdir}/etc/calamares/modules/raveos-letoltes-beallitas.sh" \
+ "${pkgdir}/etc/calamares/modules/raveos-letoltes-beallitas.sh"
local lrelease_bin
lrelease_bin="$(command -v lrelease6 || command -v lrelease || echo /usr/lib/qt6/bin/lrelease)"
diff --git a/raveos-calamares-theme/etc/calamares/modules/raveos-letoltes-beallitas.sh b/raveos-calamares-theme/etc/calamares/modules/raveos-letoltes-beallitas.sh
new file mode 100644
index 0000000..76622eb
--- /dev/null
+++ b/raveos-calamares-theme/etc/calamares/modules/raveos-letoltes-beallitas.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+set -euo pipefail
+CONF="${1:-}/etc/pacman.conf"
+[ -f "$CONF" ] || exit 0
+if grep -q "^#\?ParallelDownloads" "$CONF"; then
+ sed -i "s/^#\?ParallelDownloads.*/ParallelDownloads = 5/" "$CONF"
+else
+ sed -i "/^\[options\]/a ParallelDownloads = 5" "$CONF"
+fi
+grep -q "^DisableDownloadTimeout" "$CONF" || sed -i "/^\[options\]/a DisableDownloadTimeout" "$CONF"
+grep -E "^(ParallelDownloads|DisableDownloadTimeout)" "$CONF"
diff --git a/raveos-calamares-theme/etc/calamares/modules/shellprocess-pacstrap.conf b/raveos-calamares-theme/etc/calamares/modules/shellprocess-pacstrap.conf
index 0bdfc9c..43afc14 100644
--- a/raveos-calamares-theme/etc/calamares/modules/shellprocess-pacstrap.conf
+++ b/raveos-calamares-theme/etc/calamares/modules/shellprocess-pacstrap.conf
@@ -6,5 +6,9 @@ script:
name: "Initializing package signing keys..."
- command: "/etc/calamares/modules/raveos-tukor-rangsor.sh"
name: "Selecting the fastest mirrors..."
+ - command: "/etc/calamares/modules/raveos-letoltes-beallitas.sh"
+ name: "Configuring package downloads..."
- command: "pacstrap ${ROOT} base base-devel btrfs-progs raveos-keyring chaotic-keyring chaotic-mirrorlist linux-cachyos linux-cachyos-headers linux-firmware networkmanager iwd broadcom-wl-dkms wireless-regdb nano vim grub snapper snap-pac rsync efibootmgr bash-completion dkms lsb-release mkinitcpio-openswap"
name: "Bootstrapping Arch Linux (Netinstall)..."
+ - command: "/etc/calamares/modules/raveos-letoltes-beallitas.sh ${ROOT}"
+ name: "Configuring package downloads on the new system..."