Bug 10716 - systemd build failure when BR2_TARGET_GENERIC_HOSTNAME is set
Summary: systemd build failure when BR2_TARGET_GENERIC_HOSTNAME is set
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-29 07:44 UTC by Stefan Becker
Modified: 2018-01-29 13:37 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!