1 |
commit: e33364b80a8afd78831e66fc821ebdb58d5c981e |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 10 10:54:45 2020 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 10 10:55:08 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e33364b8 |
7 |
|
8 |
net-wireless/iwd: add missing [Network] section in iwd/main.conf |
9 |
|
10 |
Reported/fixed by Gabriel |
11 |
|
12 |
Closes: https://bugs.gentoo.org/741378 |
13 |
Package-Manager: Portage-3.0.6, Repoman-3.0.1 |
14 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
15 |
|
16 |
net-wireless/iwd/{iwd-1.9.ebuild => iwd-1.9-r1.ebuild} | 8 +++++--- |
17 |
1 file changed, 5 insertions(+), 3 deletions(-) |
18 |
|
19 |
diff --git a/net-wireless/iwd/iwd-1.9.ebuild b/net-wireless/iwd/iwd-1.9-r1.ebuild |
20 |
similarity index 96% |
21 |
rename from net-wireless/iwd/iwd-1.9.ebuild |
22 |
rename to net-wireless/iwd/iwd-1.9-r1.ebuild |
23 |
index 6ba254f3764..d9b58be0e82 100644 |
24 |
--- a/net-wireless/iwd/iwd-1.9.ebuild |
25 |
+++ b/net-wireless/iwd/iwd-1.9-r1.ebuild |
26 |
@@ -168,10 +168,12 @@ src_install() { |
27 |
fi |
28 |
|
29 |
if use standalone ; then |
30 |
+ local iwdconf="${ED}/etc/iwd/main.conf" |
31 |
dodir /etc/iwd |
32 |
- echo "[General]" > ${ED}/etc/iwd/main.conf |
33 |
- echo "EnableNetworkConfiguration=true" >> "${ED}"/etc/iwd/main.conf |
34 |
- echo "NameResolvingService=$(usex systemd systemd resolvconf)" >> "${ED}"/etc/iwd/main.conf |
35 |
+ echo "[General]" > "${iwdconf}" |
36 |
+ echo "EnableNetworkConfiguration=true" >> "${iwdconf}" |
37 |
+ echo "[Network]" >> "${iwdconf}" |
38 |
+ echo "NameResolvingService=$(usex systemd systemd resolvconf)" >> "${iwdconf}" |
39 |
echo "rc_provide=\"net\"" > ${ED}/etc/conf.d/iwd |
40 |
fi |
41 |
} |