Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/linux-firmware/
Date: Fri, 30 Oct 2020 16:46:07
Message-Id: 1604076351.2e61b022eaf4c3b25d17c8f6aafe81c34a27bba6.whissi@gentoo
1 commit: 2e61b022eaf4c3b25d17c8f6aafe81c34a27bba6
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 30 16:41:55 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 30 16:45:51 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e61b022
7
8 sys-kernel/linux-firmware: always create config file for USE=savedconfig
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.2
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 sys-kernel/linux-firmware/linux-firmware-99999999.ebuild | 9 ++++-----
14 1 file changed, 4 insertions(+), 5 deletions(-)
15
16 diff --git a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild
17 index 620398e13c2..63f85a38567 100644
18 --- a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild
19 +++ b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild
20 @@ -295,11 +295,10 @@ src_install() {
21 die "Refusing to install an empty package"
22 fi
23
24 - if use savedconfig; then
25 - echo "# Remove files that shall not be installed from this list." > "${S}"/${PN}.conf || die
26 - find * ! -type d >> "${S}"/${PN}.conf || die
27 - save_config "${S}"/${PN}.conf
28 - fi
29 + # create config file
30 + echo "# Remove files that shall not be installed from this list." > "${S}"/${PN}.conf || die
31 + find * ! -type d >> "${S}"/${PN}.conf || die
32 + save_config "${S}"/${PN}.conf
33
34 popd &>/dev/null || die