nezha_defconfig: configure eth0 using DHCP

With the move to 5.19-rc1, the ethernet interface is now supported.
Configure it using DHCP at startup.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Peter Korsgaard 2022-09-06 18:15:57 +02:00 committed by Yann E. MORIN
parent 3461465ac0
commit b30ee98da9

View File

@ -1,6 +1,7 @@
BR2_riscv=y BR2_riscv=y
BR2_GLOBAL_PATCH_DIR="board/nezha/patches" BR2_GLOBAL_PATCH_DIR="board/nezha/patches"
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_17=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_17=y
BR2_SYSTEM_DHCP="eth0"
BR2_ROOTFS_OVERLAY="board/nezha/overlay" BR2_ROOTFS_OVERLAY="board/nezha/overlay"
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/nezha/genimage.cfg" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/nezha/genimage.cfg"