mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 07:57:43 +00:00
package/systemd: Add optional support for myhostname
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
9aee5570b4
commit
f0b78cf145
@ -225,6 +225,17 @@ config BR2_PACKAGE_SYSTEMD_HOSTNAMED
|
|||||||
|
|
||||||
http://www.freedesktop.org/software/systemd/man/systemd-hostnamed.service.html
|
http://www.freedesktop.org/software/systemd/man/systemd-hostnamed.service.html
|
||||||
|
|
||||||
|
config BR2_PACKAGE_SYSTEMD_MYHOSTNAME
|
||||||
|
bool "enable myhostname NSS plugin"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
nss-myhostname is a plug-in module for the GNU Name Service
|
||||||
|
Switch (NSS) functionality of the GNU C Library (glibc),
|
||||||
|
primarily providing hostname resolution for the locally
|
||||||
|
configured system hostname as returned by gethostname(2).
|
||||||
|
|
||||||
|
http://www.freedesktop.org/software/systemd/man/nss-myhostname.html
|
||||||
|
|
||||||
config BR2_PACKAGE_SYSTEMD_TIMEDATED
|
config BR2_PACKAGE_SYSTEMD_TIMEDATED
|
||||||
bool "enable timedate daemon"
|
bool "enable timedate daemon"
|
||||||
default y
|
default y
|
||||||
|
@ -249,6 +249,12 @@ else
|
|||||||
SYSTEMD_CONF_OPTS += --disable-hostnamed
|
SYSTEMD_CONF_OPTS += --disable-hostnamed
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_SYSTEMD_MYHOSTNAME),y)
|
||||||
|
SYSTEMD_CONF_OPTS += --enable-myhostname
|
||||||
|
else
|
||||||
|
SYSTEMD_CONF_OPTS += --disable-myhostname
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SYSTEMD_TIMEDATED),y)
|
ifeq ($(BR2_PACKAGE_SYSTEMD_TIMEDATED),y)
|
||||||
SYSTEMD_CONF_OPTS += --enable-timedated
|
SYSTEMD_CONF_OPTS += --enable-timedated
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user