commit: e33364b80a8afd78831e66fc821ebdb58d5c981e Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> AuthorDate: Thu Sep 10 10:54:45 2020 +0000 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> CommitDate: Thu Sep 10 10:55:08 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e33364b8
net-wireless/iwd: add missing [Network] section in iwd/main.conf Reported/fixed by Gabriel Closes: https://bugs.gentoo.org/741378 Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> net-wireless/iwd/{iwd-1.9.ebuild => iwd-1.9-r1.ebuild} | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net-wireless/iwd/iwd-1.9.ebuild b/net-wireless/iwd/iwd-1.9-r1.ebuild similarity index 96% rename from net-wireless/iwd/iwd-1.9.ebuild rename to net-wireless/iwd/iwd-1.9-r1.ebuild index 6ba254f3764..d9b58be0e82 100644 --- a/net-wireless/iwd/iwd-1.9.ebuild +++ b/net-wireless/iwd/iwd-1.9-r1.ebuild @@ -168,10 +168,12 @@ src_install() { fi if use standalone ; then + local iwdconf="${ED}/etc/iwd/main.conf" dodir /etc/iwd - echo "[General]" > ${ED}/etc/iwd/main.conf - echo "EnableNetworkConfiguration=true" >> "${ED}"/etc/iwd/main.conf - echo "NameResolvingService=$(usex systemd systemd resolvconf)" >> "${ED}"/etc/iwd/main.conf + echo "[General]" > "${iwdconf}" + echo "EnableNetworkConfiguration=true" >> "${iwdconf}" + echo "[Network]" >> "${iwdconf}" + echo "NameResolvingService=$(usex systemd systemd resolvconf)" >> "${iwdconf}" echo "rc_provide=\"net\"" > ${ED}/etc/conf.d/iwd fi }