Bug 13506 - BR2_PACKAGE_DHCPCD missing directory creation
Summary: BR2_PACKAGE_DHCPCD missing directory creation
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2020.11.1
Hardware: All Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-30 19:12 UTC by miohna
Modified: 2021-02-02 18:01 UTC (History)
1 user (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 miohna 2021-01-30 19:12:51 UTC
dhcpcd expects the directory /var/db/dhcpcd/ being present for the storage of various files. However, this directory is not created during a default build process of this package, causing error messages at run time.

Suggesting to add a mkdir -p /var/db/dhcpcd/ in file /package/dhcpcd/dhcpcd.mk
Comment 1 Fabrice Fontaine 2021-02-02 17:13:14 UTC
This has been fixed in upstream dhcpcd since version 9.2.0 and
https://github.com/rsmarples/dhcpcd/commit/4d695e1ca3b87b45d5e5fa5119ddcb8a086ca9a0
Comment 2 Peter Korsgaard 2021-02-02 18:01:30 UTC
Fixed in git for 2020.11.x, thanks: https://git.buildroot.org/buildroot/commit/?h=2020.11.x&id=41cbb88372601346aedc2e9f7ab379ff481d1a2f