Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Remove ldconfig from /rescue, and mark it MI obsolete.



details:   https://anonhg.NetBSD.org/src/rev/8f333f0e3667
branches:  trunk
changeset: 454927:8f333f0e3667
user:      maya <maya%NetBSD.org@localhost>
date:      Wed Oct 02 09:45:10 2019 +0000

description:
Remove ldconfig from /rescue, and mark it MI obsolete.

- ldconfig in netbsd refers to a.out binaries only. We've been ELF-only
  since NetBSD 2.0 or so, and having it in /rescue served little purpose
  even before that, as /rescue is standalone.
- Using MI obsolete to avoid the need for MD set lists where ldconfig
  is the sole entry

diffstat:

 distrib/sets/lists/base/rescue.ad.arm      |  2 --
 distrib/sets/lists/base/rescue.ad.m68k.shl |  2 --
 distrib/sets/lists/base/rescue.i386        |  2 --
 distrib/sets/lists/base/rescue.mi          |  3 ++-
 distrib/sets/lists/base/rescue.shark       |  2 --
 distrib/sets/lists/base/rescue.sparc       |  3 ---
 distrib/sets/lists/base/rescue.vax         |  2 --
 rescue/Makefile                            |  9 +--------
 rescue/list.ldconfig                       |  3 ---
 9 files changed, 3 insertions(+), 25 deletions(-)

diffs (84 lines):

diff -r 8dce2037cffb -r 8f333f0e3667 distrib/sets/lists/base/rescue.ad.arm
--- a/distrib/sets/lists/base/rescue.ad.arm     Wed Oct 02 09:36:30 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-# $NetBSD: rescue.ad.arm,v 1.3 2013/04/30 23:46:46 matt Exp $
-./rescue/ldconfig                              base-rescue-root        endian=1234
diff -r 8dce2037cffb -r 8f333f0e3667 distrib/sets/lists/base/rescue.ad.m68k.shl
--- a/distrib/sets/lists/base/rescue.ad.m68k.shl        Wed Oct 02 09:36:30 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-# $NetBSD: rescue.ad.m68k.shl,v 1.3 2014/04/20 13:41:21 abs Exp $
-./rescue/ldconfig                              base-rescue-root        pic
diff -r 8dce2037cffb -r 8f333f0e3667 distrib/sets/lists/base/rescue.i386
--- a/distrib/sets/lists/base/rescue.i386       Wed Oct 02 09:36:30 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-# $NetBSD: rescue.i386,v 1.4 2014/04/20 13:41:21 abs Exp $
-./rescue/ldconfig                              base-rescue-root        pic
diff -r 8dce2037cffb -r 8f333f0e3667 distrib/sets/lists/base/rescue.mi
--- a/distrib/sets/lists/base/rescue.mi Wed Oct 02 09:36:30 2019 +0000
+++ b/distrib/sets/lists/base/rescue.mi Wed Oct 02 09:45:10 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rescue.mi,v 1.44 2018/12/12 07:04:05 maxv Exp $
+# $NetBSD: rescue.mi,v 1.45 2019/10/02 09:45:10 maya Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -64,6 +64,7 @@
 ./rescue/ksh                                   base-rescue-root
 ./rescue/ktrace                                        base-rescue-root
 ./rescue/ktruss                                        base-rescue-root
+./rescue/ldconfig                              base-obsolete   obsolete
 ./rescue/ldd                                   base-rescue-root
 ./rescue/less                                  base-rescue-root
 ./rescue/lfs_cleanerd                          base-rescue-root
diff -r 8dce2037cffb -r 8f333f0e3667 distrib/sets/lists/base/rescue.shark
--- a/distrib/sets/lists/base/rescue.shark      Wed Oct 02 09:36:30 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-# $NetBSD: rescue.shark,v 1.3 2014/04/20 13:41:21 abs Exp $
-./rescue/ldconfig                              base-rescue-root        pic
diff -r 8dce2037cffb -r 8f333f0e3667 distrib/sets/lists/base/rescue.sparc
--- a/distrib/sets/lists/base/rescue.sparc      Wed Oct 02 09:36:30 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-# $NetBSD: rescue.sparc,v 1.5 2017/01/05 13:45:51 wiz Exp $
-./rescue/edlabel                               base-obsolete   obsolete
-./rescue/ldconfig                              base-rescue-root        pic
diff -r 8dce2037cffb -r 8f333f0e3667 distrib/sets/lists/base/rescue.vax
--- a/distrib/sets/lists/base/rescue.vax        Wed Oct 02 09:36:30 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-# $NetBSD: rescue.vax,v 1.3 2014/04/20 13:41:21 abs Exp $
-./rescue/ldconfig                              base-rescue-root        pic
diff -r 8dce2037cffb -r 8f333f0e3667 rescue/Makefile
--- a/rescue/Makefile   Wed Oct 02 09:36:30 2019 +0000
+++ b/rescue/Makefile   Wed Oct 02 09:45:10 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.37 2019/01/27 04:42:46 dholland Exp $
+#      $NetBSD: Makefile,v 1.38 2019/10/02 09:45:10 maya Exp $
 
 NOLIBCSANITIZER=       # defined
 NOSANITIZER=           # defined
@@ -27,13 +27,6 @@
 TARGETDIR=     ${DESTDIR}/rescue
 PARSELISTENV+=  TARGETDIR=${TARGETDIR:Q}
 
-.for f in ldconfig
-PROG_${f}!=    cd ${NETBSDSRCDIR}/sbin/${f} && ${MAKE} -V PROG
-.if (${PROG_${f}} != "")
-LISTS+=                ${.CURDIR}/list.${f}
-.endif
-.endfor
-
 .for f in pdisk
 PROG_${f}!=    cd ${NETBSDSRCDIR}/external/bsd/${f}/bin && ${MAKE} -V PROG
 .if (${PROG_${f}} != "")
diff -r 8dce2037cffb -r 8f333f0e3667 rescue/list.ldconfig
--- a/rescue/list.ldconfig      Wed Oct 02 09:36:30 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-#      $NetBSD: list.ldconfig,v 1.1 2002/08/22 01:23:47 lukem Exp $
-
-PROG   ldconfig



Home | Main Index | Thread Index | Old Index