Optimized chroot process

This commit is contained in:
2020-05-15 18:11:30 +02:00
parent c38d21cfcb
commit 72a732cb59
2 changed files with 14 additions and 6 deletions

View File

@@ -272,6 +272,10 @@ if [ "$password_1" == "$password_2" ]
else
error "Passwords didn't match."
fi
# @todo add to chroot
#pacman-key --init
#pacman-key --populate archlinuxarm
#pacman -Syyu
question "Type in the hostname:" && read -r hostname;
echo "$hostname" > "$root_mount_path""etc/hostname" || error "Changing hostname failed."