mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2025-11-21 01:36:34 +00:00
Optimized chroot process
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user