[Buildroot] [PATCH 1/1] package/dhcpcd: create /var/db/dhcpcd
Fabrice Fontaine
fontaine.fabrice at gmail.com
Tue Feb 2 17:03:15 UTC 2021
Le mar. 2 févr. 2021 à 16:40, Peter Korsgaard <peter at korsgaard.com> a écrit :
>
> >>>>> "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?
I'll set this patch as "not applicable" as dhcpcd installs back this
directory since version 9.2.0 and
https://github.com/rsmarples/dhcpcd/commit/4d695e1ca3b87b45d5e5fa5119ddcb8a086ca9a0
>
> --
> Bye, Peter Korsgaard
Best Regards,
Fabrice
More information about the buildroot
mailing list