Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/distrib/miniroot Pull up following revision(s) (requested...
details: https://anonhg.NetBSD.org/src/rev/e288a1e3ea48
branches: netbsd-8
changeset: 983775:e288a1e3ea48
user: martin <martin%NetBSD.org@localhost>
date: Sat Jun 05 10:41:20 2021 +0000
description:
Pull up following revision(s) (requested by tsutsui in ticket #1681):
distrib/miniroot/install.sub: revision 1.60
Handle recent ifconfig(8) outputs in the miniroot installation script.
- Remove netmask slash notation for IP addresses,
which has been changed between NetBSD 7.x and 8.0:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sbin/ifconfig/af_inet.c#rev1.24
- Ignore inet6 entries, which miniroot scripts don't support
Should be pulled up to netbsd-9 and netbsd-8.
diffstat:
distrib/miniroot/install.sub | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 55641408e4b7 -r e288a1e3ea48 distrib/miniroot/install.sub
--- a/distrib/miniroot/install.sub Sat Jun 05 10:37:10 2021 +0000
+++ b/distrib/miniroot/install.sub Sat Jun 05 10:41:20 2021 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: install.sub,v 1.45.56.2 2020/12/19 19:02:52 martin Exp $
+# $NetBSD: install.sub,v 1.45.56.3 2021/06/05 10:41:20 martin Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -403,8 +403,9 @@
fi
set -- $(ifconfig $_interface_name | sed -n '
- /^[ ]*inet/{
+ /^[ ]*inet /{
s/inet//
+ s,/[0-9]*,,
s/--> [0-9.][0-9.]*//
s/netmask//
s/broadcast//
Home |
Main Index |
Thread Index |
Old Index