Renamed project

This commit is contained in:
2026-07-05 21:22:05 +02:00
parent abd4ad3b30
commit 9bdaaa2488
6 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -9,4 +9,4 @@ genfstab -U /mnt >> /mnt/etc/fstab
# carry the repo into the installed system so provisioning can run after reboot
mkdir -p /mnt/root
cp -a "$REPO_ROOT" /mnt/root/arch-system-th
cp -a "$REPO_ROOT" /mnt/root/arch-system-hyprland
+3 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Runs INSIDE arch-chroot. Locale, time, hostname, user, network.
set -euo pipefail
source /root/arch-system-th/system.conf
source /root/arch-system-hyprland/system.conf
# time + locale
ln -sf "/usr/share/zoneinfo/$TIMEZONE" /etc/localtime
@@ -23,8 +23,8 @@ passwd root
passwd "$USERNAME"
# move the repo into the user's home so provisioning runs as them after reboot
cp -a /root/arch-system-th "/home/$USERNAME/arch-system-th"
chown -R "$USERNAME:$USERNAME" "/home/$USERNAME/arch-system-th"
cp -a /root/arch-system-hyprland "/home/$USERNAME/arch-system-hyprland"
chown -R "$USERNAME:$USERNAME" "/home/$USERNAME/arch-system-hyprland"
# network up on first boot
systemctl enable NetworkManager.service
+4 -4
View File
@@ -27,9 +27,9 @@ source ./00-partition.sh # partitions + mounts /mnt, /mnt/boot
source ./10-pacstrap.sh # base system + fstab + copy repo to /mnt/root
# in-chroot steps (the whole repo, incl. system.conf, was copied by 10-pacstrap)
arch-chroot /mnt bash /root/arch-system-th/01-install/20-boot.sh
arch-chroot /mnt bash /root/arch-system-th/01-install/30-finalize.sh
arch-chroot /mnt bash /root/arch-system-hyprland/01-install/20-boot.sh
arch-chroot /mnt bash /root/arch-system-hyprland/01-install/30-finalize.sh
info "Base install done. Reboot, remove the ISO, then as your user run:"
info " sudo ~/arch-system-th/02-system/run.sh"
info " ~/arch-system-th/03-user/run.sh"
info " sudo ~/arch-system-hyprland/02-system/run.sh"
info " ~/arch-system-hyprland/03-user/run.sh"
+5 -5
View File
@@ -1,4 +1,4 @@
# arch-system-th
# arch-system-hyprland
Reproducible Arch Linux + Hyprland install
@@ -23,18 +23,18 @@ Boot the official Arch ISO, get online, then clone this repo and run it:
```sh
# 1. boot the official Arch ISO, connect (iwctl for wifi; wired is automatic),
# then fetch this repo:
git clone <repo-url> arch-system-th && cd arch-system-th
git clone <repo-url> arch-system-hyprland && cd arch-system-hyprland
# 2. set target + options, then install the base:
vim system.conf # DISK, hostname, GPU, desktop/laptop…
./01-install/run.sh # partitions + base install
# 3. reboot, log in, then provision:
sudo ~/arch-system-th/02-system/run.sh
~/arch-system-th/03-user/run.sh
sudo ~/arch-system-hyprland/02-system/run.sh
~/arch-system-hyprland/03-user/run.sh
# 4. (optional) enter share credentials interactively
sudo ~/arch-system-th/04-secrets/run.sh
sudo ~/arch-system-hyprland/04-secrets/run.sh
```
### Post Install
+3 -3
View File
@@ -1,10 +1,10 @@
Arch + Hyprland custom installer (live environment)
===================================================
The provisioning repo is at: /root/arch-system-th
The provisioning repo is at: /root/arch-system-hyprland
1. Get online: iwctl (wifi) — wired works automatically
2. Set target+opts: vim /root/arch-system-th/01-install/install.conf
3. Install base: /root/arch-system-th/01-install/run.sh
2. Set target+opts: vim /root/arch-system-hyprland/system.conf
3. Install base: /root/arch-system-hyprland/01-install/run.sh
4. Reboot, then run the system + user provisioning (see repo README).
+3 -3
View File
@@ -4,7 +4,7 @@
#
# Build the thin custom Arch ISO by extending the official `releng` profile with:
# - a few explicit installer packages (extra-packages.x86_64)
# - this repo baked into /root/arch-system-th
# - this repo baked into /root/arch-system-hyprland
# - a login MOTD with install instructions (airootfs/etc/motd)
#
# Run on a machine with the `archiso` package installed (needs root for mkarchiso):
@@ -30,7 +30,7 @@ cat extra-packages.x86_64 >> "$PROFILE/packages.x86_64"
cp -aT airootfs "$PROFILE/airootfs"
# bake the repo into the live root (without git history / build output)
dest="$PROFILE/airootfs/root/arch-system-th"
dest="$PROFILE/airootfs/root/arch-system-hyprland"
mkdir -p "$dest"
cp -a "$REPO_ROOT/." "$dest/"
rm -rf "$dest/.git" "$dest/out"
@@ -40,7 +40,7 @@ rm -rf "$dest/.git" "$dest/out"
# own scripts get +x). We only need the bootstrap executable here; run.sh then
# restores +x across the rest of the repo at runtime, which propagates to the
# installed system. file_permissions+=(...) appends to the array defined in releng.
printf '\nfile_permissions+=(["/root/arch-system-th/01-install/run.sh"]="0:0:755")\n' \
printf '\nfile_permissions+=(["/root/arch-system-hyprland/01-install/run.sh"]="0:0:755")\n' \
>> "$PROFILE/profiledef.sh"
mkdir -p "$OUTDIR"