[Buildroot] [Bug 13271] systemd-resolved: /etc/resolv.conf link broken on per-package build
bugzilla at busybox.net
bugzilla at busybox.net
Sat Mar 27 21:11:06 UTC 2021
https://bugs.busybox.net/show_bug.cgi?id=13271
Yann E. MORIN <yann.morin.1998 at free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yann.morin.1998 at free.fr
--- Comment #3 from Yann E. MORIN <yann.morin.1998 at free.fr> ---
Michael, All,
> define SYSTEMD_INSTALL_RESOLVCONF_HOOK
> ln -sf ../run/systemd/resolve/resolv.conf \
> $(TARGET_DIR)/etc/resolv.conf
> endef
> [...]
> SYSTEMD_POST_INSTALL_TARGET_HOOKS += \
> SYSTEMD_INSTALL_RESOLVCONF_HOOK
Indeed, a hook doing such changes should be made to be a target-fianlize
hook rather than a post-target-install hook.
In systemd, there is already a target-finalize hook, for the nsswitch
configuration file.
Care to send a patch, please?
Regards,
Yann E. MORIN.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the buildroot
mailing list