busybox: Add hostname propagation for ifup

This commit is contained in:
tkl 2021-02-23 21:54:29 +01:00
parent 497d6aa4e3
commit 61b2c0a001
2 changed files with 2 additions and 3 deletions

View File

@ -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
}

View File

@ -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"