Bug 10716

Summary: systemd build failure when BR2_TARGET_GENERIC_HOSTNAME is set
Product: buildroot Reporter: Stefan Becker <chemobejk>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot, jacmet
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Stefan Becker 2018-01-29 07:44:58 UTC
Commit aebabb2780da4c5f85fec00b56f4690feb646073 added an old-style configuration to the systemd build, which is rejected by the new meson build system.

I'm currently testing this fix to package/systemd/systemd.mk:

    ifneq ($(SYSTEMD_FALLBACK_HOSTNAME),)
    SYSTEMD_CONF_OPTS += -Dfallback-hostname=$(SYSTEMD_FALLBACK_HOSTNAME)
    endif

I'll submit a patch once I have verified the build result.
Comment 1 Peter Korsgaard 2018-01-29 08:02:30 UTC
Thanks!
Comment 2 Stefan Becker 2018-01-29 09:48:29 UTC
Well, the mailing list rejects my patch. I hope one of the CC:'s will apply it then.
Comment 3 Peter Korsgaard 2018-01-29 13:37:07 UTC
Committed patch to git, thanks!