populate_device_nodes function needs /etc present, run it after create_fhs.

This commit is contained in:
Andrius Štikonas 2023-02-27 09:44:41 +08:00
parent b444196d99
commit 5cc4d959b4
1 changed files with 2 additions and 2 deletions

View File

@ -30,10 +30,10 @@ create_fhs() {
echo 'nameserver 1.1.1.1' > /etc/resolv.conf echo 'nameserver 1.1.1.1' > /etc/resolv.conf
} }
populate_device_nodes
create_fhs create_fhs
populate_device_nodes
# Obtain network connection # Obtain network connection
if [ "${CHROOT}" = "False" ]; then if [ "${CHROOT}" = "False" ]; then
dhcpcd --waitip=4 dhcpcd --waitip=4