d39e2ba41b
The filesystem package installs /root as 750 not 700. Move chmod from customize_airootfs.sh to build.sh.
15 lines
298 B
Bash
Executable File
15 lines
298 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e -u
|
|
|
|
sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen
|
|
locale-gen
|
|
|
|
usermod -s /usr/bin/zsh root
|
|
cp -aT /etc/skel/ /root/
|
|
# unset the root password
|
|
passwd -d root
|
|
|
|
sed -i 's/#\(PermitRootLogin \).\+/\1yes/' /etc/ssh/sshd_config
|
|
sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
|