[Buildroot] [PATCH 1/1] package/dhcpcd: create /var/db/dhcpcd

Peter Korsgaard peter at korsgaard.com
Tue Feb 2 15:40:36 UTC 2021


>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:

 > Fixes:
 >  - https://bugs.buildroot.org/show_bug.cgi?id=13506

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
 > ---
 >  package/dhcpcd/dhcpcd.mk | 1 +
 >  1 file changed, 1 insertion(+)

 > diff --git a/package/dhcpcd/dhcpcd.mk b/package/dhcpcd/dhcpcd.mk
 > index cb269f1138..81e87369ad 100644
 > --- a/package/dhcpcd/dhcpcd.mk
 > +++ b/package/dhcpcd/dhcpcd.mk
 > @@ -46,6 +46,7 @@ endef
 
 >  define DHCPCD_INSTALL_TARGET_CMDS
 >  	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR)
 > +	mkdir -p $(TARGET_DIR)/var/db/dhcpcd

What is stored here? Does it need to persist over reboots? How should a
readonly rootfs be handled? Could we perhaps make it a symlink to /run
or similar?

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list