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
|
||||
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
|
||||
# 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
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user