From 9bdaaa2488a62b9e0f1c03b3e3c3538ab9af3153 Mon Sep 17 00:00:00 2001 From: tobias Date: Sun, 5 Jul 2026 21:22:05 +0200 Subject: [PATCH] Renamed project --- 01-install/10-pacstrap.sh | 2 +- 01-install/30-finalize.sh | 6 +++--- 01-install/run.sh | 8 ++++---- README.md | 10 +++++----- iso/airootfs/etc/motd | 6 +++--- iso/run.sh | 6 +++--- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/01-install/10-pacstrap.sh b/01-install/10-pacstrap.sh index 9197df8..29e5b88 100644 --- a/01-install/10-pacstrap.sh +++ b/01-install/10-pacstrap.sh @@ -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 diff --git a/01-install/30-finalize.sh b/01-install/30-finalize.sh index fab0331..3bb98d2 100644 --- a/01-install/30-finalize.sh +++ b/01-install/30-finalize.sh @@ -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 diff --git a/01-install/run.sh b/01-install/run.sh index cd72ca9..ca91748 100755 --- a/01-install/run.sh +++ b/01-install/run.sh @@ -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" diff --git a/README.md b/README.md index 763d099..f446ec1 100644 --- a/README.md +++ b/README.md @@ -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 arch-system-th && cd arch-system-th +git clone 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 diff --git a/iso/airootfs/etc/motd b/iso/airootfs/etc/motd index ce9e8b9..1af3ace 100644 --- a/iso/airootfs/etc/motd +++ b/iso/airootfs/etc/motd @@ -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). diff --git a/iso/run.sh b/iso/run.sh index fbe317f..2b6f2da 100755 --- a/iso/run.sh +++ b/iso/run.sh @@ -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"