From: Vladimir Savelev <anykey196@gmail.com>
To: buildroot@buildroot.org
Cc: Marcin Niestroj <m.niestroj@grinn-global.com>,
Vladimir Savelev <anykey196@gmail.com>,
Sergey Matyukevich <geomatsi@gmail.com>
Subject: [Buildroot] [PATCH 2/2] board/orangepi/orangepi-zero2w, orangepi-zero3: set the hostname
Date: Fri, 25 Sep 2026 21:52:26 +0500 [thread overview]
Message-ID: <20260925165226.1502431-2-anykey196@gmail.com> (raw)
In-Reply-To: <20260925165226.1502431-1-anykey196@gmail.com>
Give both boards a recognizable hostname instead of the generic
"buildroot". The name is used for the login banner and sent as the DHCP
hostname (option 12), so the board is easy to identify on the network.
Signed-off-by: Vladimir Savelev <anykey196@gmail.com>
---
configs/orangepi_zero2w_defconfig | 1 +
configs/orangepi_zero3_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/orangepi_zero2w_defconfig b/configs/orangepi_zero2w_defconfig
index 2da4372fdb..c815028405 100644
--- a/configs/orangepi_zero2w_defconfig
+++ b/configs/orangepi_zero2w_defconfig
@@ -4,6 +4,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12=y
BR2_GLOBAL_PATCH_DIR="board/orangepi/orangepi-zero2w/patches"
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
BR2_TARGET_GENERIC_ISSUE="Welcome to Orangepi Zero2W"
+BR2_TARGET_GENERIC_HOSTNAME="orangepi-zero2w"
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/common/post-build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/orangepi/orangepi-zero2w/post-image.sh"
diff --git a/configs/orangepi_zero3_defconfig b/configs/orangepi_zero3_defconfig
index bfaec7ebd5..61a4f3855b 100644
--- a/configs/orangepi_zero3_defconfig
+++ b/configs/orangepi_zero3_defconfig
@@ -4,6 +4,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12=y
BR2_GLOBAL_PATCH_DIR="board/orangepi/orangepi-zero3/patches"
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
BR2_TARGET_GENERIC_ISSUE="Welcome to Orangepi Zero3"
+BR2_TARGET_GENERIC_HOSTNAME="orangepi-zero3"
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
BR2_SYSTEM_DHCP="eth0"
BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/common/post-build.sh"
--
2.53.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-09-25 16:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-25 16:52 [Buildroot] [PATCH 1/2] board/orangepi/orangepi-zero3: add SPI-NOR image support Vladimir Savelev
2026-09-25 16:52 ` Vladimir Savelev [this message]
2026-10-11 13:27 ` [Buildroot] [PATCH 2/2] board/orangepi/orangepi-zero2w, orangepi-zero3: set the hostname Thomas Petazzoni via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260925165226.1502431-2-anykey196@gmail.com \
--to=anykey196@gmail.com \
--cc=buildroot@buildroot.org \
--cc=geomatsi@gmail.com \
--cc=m.niestroj@grinn-global.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.