Added nsswitch.conf to enable the hosts file
This commit is contained in:
parent
05cfa7fc77
commit
2b4568da60
@ -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"
|
||||
|
1
src/minimal_overlay/bundles/dhcp/nsswitch.conf
Normal file
1
src/minimal_overlay/bundles/dhcp/nsswitch.conf
Normal file
@ -0,0 +1 @@
|
||||
hosts: files dns
|
Loading…
x
Reference in New Issue
Block a user