From 61b2c0a001609613f5389e96f41572e9db58b80b Mon Sep 17 00:00:00 2001 From: tkl Date: Tue, 23 Feb 2021 21:54:29 +0100 Subject: [PATCH] busybox: Add hostname propagation for ifup --- recipes-core/busybox/busybox-initcfg.bb | 4 +--- recipes-core/busybox/files/fragments.cfg | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/recipes-core/busybox/busybox-initcfg.bb b/recipes-core/busybox/busybox-initcfg.bb index 30966bc..4617814 100644 --- a/recipes-core/busybox/busybox-initcfg.bb +++ b/recipes-core/busybox/busybox-initcfg.bb @@ -1,6 +1,5 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -#file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" FILESEXTRAPATHS_prepend := "${THISDIR}/files:" @@ -22,8 +21,7 @@ do_install_append () { cd ${D}${sysconfdir}/rcS.d/ ln -s ../init.d/networking S40networking.sh - ln -s ../init.d/dropbear S47dropbear.sh + ln -s ../init.d/dropbear S47dropbear.sh ln -s ../init.d/ntpd S48ntpd.sh ln -s ../init.d/docker.init S50docker.sh } - diff --git a/recipes-core/busybox/files/fragments.cfg b/recipes-core/busybox/files/fragments.cfg index 24d2bd9..5920069 100644 --- a/recipes-core/busybox/files/fragments.cfg +++ b/recipes-core/busybox/files/fragments.cfg @@ -3,3 +3,4 @@ CONFIG_FEATURE_NTPD_SERVER=y CONFIG_FEATURE_NTPD_CONF=y CONFIG_FEATURE_NTP_AUTH=y +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b -H $HOSTNAME" \ No newline at end of file