Added nsswitch.conf to enable the hosts file

This commit is contained in:
bauen1 2017-11-18 21:15:48 +01:00
parent 05cfa7fc77
commit 2b4568da60
No known key found for this signature in database
GPG Key ID: FF0AAF5E0812BA9C
2 changed files with 3 additions and 1 deletions

View File

@ -13,8 +13,9 @@ DESTDIR="$MAIN_SRC_DIR/work/src/minimal_overlay/rootfs"
mkdir -p "$DESTDIR"
install -d -m755 "$DESTDIR/etc"
install -m644 "$SRC_DIR/resolv.conf" "$DESTDIR/etc/resolv.conf"
install -m644 "$SRC_DIR/hosts" "$DESTDIR/etc/hosts"
install -m644 "$SRC_DIR/nsswitch.conf" "$DESTDIR/etc/nsswitch.conf"
install -m644 "$SRC_DIR/resolv.conf" "$DESTDIR/etc/resolv.conf"
install -d -m755 "$DESTDIR/etc/autorun"
install -m755 "$SRC_DIR/01_network.sh" "$DESTDIR/etc/autorun/01_network.sh"
install -m755 "$SRC_DIR/05_rc.dhcp" "$DESTDIR/etc/05_rc.dhcp"

View File

@ -0,0 +1 @@
hosts: files dns