Renamed project
This commit is contained in:
@@ -9,4 +9,4 @@ genfstab -U /mnt >> /mnt/etc/fstab
|
|||||||
|
|
||||||
# carry the repo into the installed system so provisioning can run after reboot
|
# carry the repo into the installed system so provisioning can run after reboot
|
||||||
mkdir -p /mnt/root
|
mkdir -p /mnt/root
|
||||||
cp -a "$REPO_ROOT" /mnt/root/arch-system-th
|
cp -a "$REPO_ROOT" /mnt/root/arch-system-hyprland
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Runs INSIDE arch-chroot. Locale, time, hostname, user, network.
|
# Runs INSIDE arch-chroot. Locale, time, hostname, user, network.
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
source /root/arch-system-th/system.conf
|
source /root/arch-system-hyprland/system.conf
|
||||||
|
|
||||||
# time + locale
|
# time + locale
|
||||||
ln -sf "/usr/share/zoneinfo/$TIMEZONE" /etc/localtime
|
ln -sf "/usr/share/zoneinfo/$TIMEZONE" /etc/localtime
|
||||||
@@ -23,8 +23,8 @@ passwd root
|
|||||||
passwd "$USERNAME"
|
passwd "$USERNAME"
|
||||||
|
|
||||||
# move the repo into the user's home so provisioning runs as them after reboot
|
# 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"
|
cp -a /root/arch-system-hyprland "/home/$USERNAME/arch-system-hyprland"
|
||||||
chown -R "$USERNAME:$USERNAME" "/home/$USERNAME/arch-system-th"
|
chown -R "$USERNAME:$USERNAME" "/home/$USERNAME/arch-system-hyprland"
|
||||||
|
|
||||||
# network up on first boot
|
# network up on first boot
|
||||||
systemctl enable NetworkManager.service
|
systemctl enable NetworkManager.service
|
||||||
|
|||||||
+4
-4
@@ -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
|
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)
|
# 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-hyprland/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/30-finalize.sh
|
||||||
|
|
||||||
info "Base install done. Reboot, remove the ISO, then as your user run:"
|
info "Base install done. Reboot, remove the ISO, then as your user run:"
|
||||||
info " sudo ~/arch-system-th/02-system/run.sh"
|
info " sudo ~/arch-system-hyprland/02-system/run.sh"
|
||||||
info " ~/arch-system-th/03-user/run.sh"
|
info " ~/arch-system-hyprland/03-user/run.sh"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# arch-system-th
|
# arch-system-hyprland
|
||||||
|
|
||||||
Reproducible Arch Linux + Hyprland install
|
Reproducible Arch Linux + Hyprland install
|
||||||
|
|
||||||
@@ -23,18 +23,18 @@ Boot the official Arch ISO, get online, then clone this repo and run it:
|
|||||||
```sh
|
```sh
|
||||||
# 1. boot the official Arch ISO, connect (iwctl for wifi; wired is automatic),
|
# 1. boot the official Arch ISO, connect (iwctl for wifi; wired is automatic),
|
||||||
# then fetch this repo:
|
# 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:
|
# 2. set target + options, then install the base:
|
||||||
vim system.conf # DISK, hostname, GPU, desktop/laptop…
|
vim system.conf # DISK, hostname, GPU, desktop/laptop…
|
||||||
./01-install/run.sh # partitions + base install
|
./01-install/run.sh # partitions + base install
|
||||||
|
|
||||||
# 3. reboot, log in, then provision:
|
# 3. reboot, log in, then provision:
|
||||||
sudo ~/arch-system-th/02-system/run.sh
|
sudo ~/arch-system-hyprland/02-system/run.sh
|
||||||
~/arch-system-th/03-user/run.sh
|
~/arch-system-hyprland/03-user/run.sh
|
||||||
|
|
||||||
# 4. (optional) enter share credentials interactively
|
# 4. (optional) enter share credentials interactively
|
||||||
sudo ~/arch-system-th/04-secrets/run.sh
|
sudo ~/arch-system-hyprland/04-secrets/run.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
### Post Install
|
### Post Install
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
Arch + Hyprland custom installer (live environment)
|
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
|
1. Get online: iwctl (wifi) — wired works automatically
|
||||||
2. Set target+opts: vim /root/arch-system-th/01-install/install.conf
|
2. Set target+opts: vim /root/arch-system-hyprland/system.conf
|
||||||
3. Install base: /root/arch-system-th/01-install/run.sh
|
3. Install base: /root/arch-system-hyprland/01-install/run.sh
|
||||||
4. Reboot, then run the system + user provisioning (see repo README).
|
4. Reboot, then run the system + user provisioning (see repo README).
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
# Build the thin custom Arch ISO by extending the official `releng` profile with:
|
# Build the thin custom Arch ISO by extending the official `releng` profile with:
|
||||||
# - a few explicit installer packages (extra-packages.x86_64)
|
# - 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)
|
# - a login MOTD with install instructions (airootfs/etc/motd)
|
||||||
#
|
#
|
||||||
# Run on a machine with the `archiso` package installed (needs root for mkarchiso):
|
# 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"
|
cp -aT airootfs "$PROFILE/airootfs"
|
||||||
|
|
||||||
# bake the repo into the live root (without git history / build output)
|
# 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"
|
mkdir -p "$dest"
|
||||||
cp -a "$REPO_ROOT/." "$dest/"
|
cp -a "$REPO_ROOT/." "$dest/"
|
||||||
rm -rf "$dest/.git" "$dest/out"
|
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
|
# 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
|
# 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.
|
# 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"
|
>> "$PROFILE/profiledef.sh"
|
||||||
|
|
||||||
mkdir -p "$OUTDIR"
|
mkdir -p "$OUTDIR"
|
||||||
|
|||||||
Reference in New Issue
Block a user