Re: [gentoo-portage-dev] [PATCH] Use RTNETLINK to configure the loopback interface

2019-08-28 Thread Mike Gilbert
On Tue, Aug 27, 2019 at 7:11 PM Zac Medico wrote: > > On 8/27/19 9:24 AM, Alec Warner wrote: > > unit tests? > > > > -A > > Maybe something like this: > > diff --git a/lib/portage/tests/process/test_unshare_net.py > b/lib/portage/tests/process/test_unshare_net.py > new file mode 100644 > index

Re: [gentoo-portage-dev] [PATCH] Use RTNETLINK to configure the loopback interface

2019-08-27 Thread Zac Medico
On 8/27/19 9:24 AM, Alec Warner wrote: > unit tests? > > -A Maybe something like this: diff --git a/lib/portage/tests/process/test_unshare_net.py b/lib/portage/tests/process/test_unshare_net.py new file mode 100644 index 0..2d3eebad0 --- /dev/null +++

Re: [gentoo-portage-dev] [PATCH] Use RTNETLINK to configure the loopback interface

2019-08-27 Thread Alec Warner
unit tests? -A On Mon, Aug 26, 2019 at 8:03 PM Mike Gilbert wrote: > This eliminates the dependency on iproute2 on Linux. > > Signed-off-by: Mike Gilbert > --- > lib/portage/process.py | 25 -- > lib/portage/util/netlink.py | 91 + > 2 files

[gentoo-portage-dev] [PATCH] Use RTNETLINK to configure the loopback interface

2019-08-26 Thread Mike Gilbert
This eliminates the dependency on iproute2 on Linux. Signed-off-by: Mike Gilbert --- lib/portage/process.py | 25 -- lib/portage/util/netlink.py | 91 + 2 files changed, 100 insertions(+), 16 deletions(-) create mode 100644