Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/dracut/
Date: Tue, 10 Mar 2020 19:50:25
Message-Id: 1583869796.4991275a1e7a5f59d918fcf98421e78e1b8908df.floppym@gentoo
1 commit: 4991275a1e7a5f59d918fcf98421e78e1b8908df
2 Author: Alexander Tsoy <alexander <AT> tsoy <DOT> me>
3 AuthorDate: Mon Mar 9 23:21:20 2020 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 10 19:49:56 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4991275a
7
8 sys-kernel/dracut: Update live ebuild
9
10 Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
11 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
12
13 sys-kernel/dracut/dracut-9999.ebuild | 9 +++++----
14 1 file changed, 5 insertions(+), 4 deletions(-)
15
16 diff --git a/sys-kernel/dracut/dracut-9999.ebuild b/sys-kernel/dracut/dracut-9999.ebuild
17 index 192c9644204..f34a9db579a 100644
18 --- a/sys-kernel/dracut/dracut-9999.ebuild
19 +++ b/sys-kernel/dracut/dracut-9999.ebuild
20 @@ -1,4 +1,4 @@
21 -# Copyright 1999-2019 Gentoo Authors
22 +# Copyright 1999-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=7
26 @@ -11,7 +11,7 @@ if [[ ${PV} == 9999 ]] ; then
27 else
28 [[ "${PV}" = *_rc* ]] || \
29 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
30 - SRC_URI="https://github.com/dracutdevs/dracut/archive/${PV}.tar.gz -> ${P}.tar.gz"
31 + SRC_URI="https://www.kernel.org/pub/linux/utils/boot/${PN}/${P}.tar.xz"
32 fi
33
34 DESCRIPTION="Generic initramfs generation tool"
35 @@ -31,7 +31,7 @@ RDEPEND="
36 >=sys-apps/kmod-23[tools]
37 || (
38 >=sys-apps/sysvinit-2.87-r3
39 - sys-apps/openrc[sysv-utils,selinux?]
40 + sys-apps/openrc[sysv-utils(-),selinux?]
41 sys-apps/systemd[sysv-utils]
42 )
43 >=sys-apps/util-linux-2.21
44 @@ -64,6 +64,7 @@ DOCS=( AUTHORS HACKING NEWS README.md README.generic README.kernel README.module
45 QA_MULTILIB_PATHS="usr/lib/dracut/.*"
46
47 PATCHES=(
48 + "${FILESDIR}"/050-gentoo-ldconfig-paths.patch
49 )
50
51 src_configure() {
52 @@ -79,7 +80,7 @@ src_configure() {
53 echo ./configure "${myconf[@]}"
54 ./configure "${myconf[@]}" || die
55
56 - if [[ ${PV} != 9999 ]] ; then
57 + if [[ ${PV} != 9999 && ! -f dracut-version.sh ]] ; then
58 # Source tarball from github doesn't include this file
59 echo "DRACUT_VERSION=${PV}" > dracut-version.sh || die
60 fi