fix: pkg installed too late
This commit is contained in:
parent
9c6be19d19
commit
f392b1b705
@ -5,6 +5,7 @@ cd "$(dirname "$0")"
|
|||||||
|
|
||||||
# System config
|
# System config
|
||||||
cp -rfT rootfs/ /
|
cp -rfT rootfs/ /
|
||||||
|
pac "${pkg[@]}"
|
||||||
ln -sf "/usr/share/zoneinfo/$tz" /etc/localtime
|
ln -sf "/usr/share/zoneinfo/$tz" /etc/localtime
|
||||||
hwclock --systohc
|
hwclock --systohc
|
||||||
for l in "${locales[@]}"; do
|
for l in "${locales[@]}"; do
|
||||||
@ -22,7 +23,7 @@ esac
|
|||||||
sed -i '/^HOOKS=(/s/filesystems/encrypt filesystems/' /etc/mkinitcpio.conf
|
sed -i '/^HOOKS=(/s/filesystems/encrypt filesystems/' /etc/mkinitcpio.conf
|
||||||
|
|
||||||
# Packages
|
# Packages
|
||||||
pac "${pkg[@]}" "$cpu-ucode"
|
pac "$cpu-ucode"
|
||||||
systemctl enable \
|
systemctl enable \
|
||||||
NetworkManager \
|
NetworkManager \
|
||||||
ip6tables \
|
ip6tables \
|
||||||
|
Loading…
Reference in New Issue
Block a user