Gentoo Archives: gentoo-portage-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] [PATCH] sys-apps/portage: depend on iproute2 on Linux
Date: Fri, 16 Aug 2019 18:46:37
Message-Id: 20190816184632.1102832-1-floppym@gentoo.org
1 This should ensure that /bin/ip is available during early stage builds.
2
3 Package-Manager: Portage-2.3.71_p6, Repoman-2.3.17_p5
4 Signed-off-by: Mike Gilbert <floppym@g.o>
5 ---
6 sys-apps/portage/portage-2.3.71.ebuild | 5 ++++-
7 sys-apps/portage/portage-9999.ebuild | 5 ++++-
8 2 files changed, 8 insertions(+), 2 deletions(-)
9
10 diff --git a/sys-apps/portage/portage-2.3.71.ebuild b/sys-apps/portage/portage-2.3.71.ebuild
11 index 969ce20d8767..4a0a61a97b5f 100644
12 --- a/sys-apps/portage/portage-2.3.71.ebuild
13 +++ b/sys-apps/portage/portage-2.3.71.ebuild
14 @@ -54,7 +54,10 @@ RDEPEND="
15 elibc_glibc? ( >=sys-apps/sandbox-2.2 )
16 elibc_musl? ( >=sys-apps/sandbox-2.2 )
17 elibc_uclibc? ( >=sys-apps/sandbox-2.2 )
18 - kernel_linux? ( sys-apps/util-linux )
19 + kernel_linux? (
20 + sys-apps/iproute2
21 + sys-apps/util-linux
22 + )
23 >=app-misc/pax-utils-0.1.17
24 selinux? ( >=sys-libs/libselinux-2.0.94[python,${PYTHON_USEDEP}] )
25 xattr? ( kernel_linux? (
26 diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild
27 index e7c1e8c638fe..8f7a65da1eb8 100644
28 --- a/sys-apps/portage/portage-9999.ebuild
29 +++ b/sys-apps/portage/portage-9999.ebuild
30 @@ -54,7 +54,10 @@ RDEPEND="
31 elibc_glibc? ( >=sys-apps/sandbox-2.2 )
32 elibc_musl? ( >=sys-apps/sandbox-2.2 )
33 elibc_uclibc? ( >=sys-apps/sandbox-2.2 )
34 - kernel_linux? ( sys-apps/util-linux )
35 + kernel_linux? (
36 + sys-apps/iproute2
37 + sys-apps/util-linux
38 + )
39 >=app-misc/pax-utils-0.1.17
40 selinux? ( >=sys-libs/libselinux-2.0.94[python,${PYTHON_USEDEP}] )
41 xattr? ( kernel_linux? (
42 --
43 2.23.0.rc2

Replies