Source-Changes-HG archive

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

[src/trunk]: src/distrib Don't try to add swap on miniroot.



details:   https://anonhg.NetBSD.org/src/rev/6583dd1b7217
branches:  trunk
changeset: 379899:6583dd1b7217
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Jun 26 00:25:41 2021 +0000

description:
Don't try to add swap on miniroot.

diffstat:

 distrib/sun2/miniroot/install.md |  3 +--
 distrib/sun3/miniroot/install.md |  3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r c7dd9d78239f -r 6583dd1b7217 distrib/sun2/miniroot/install.md
--- a/distrib/sun2/miniroot/install.md  Fri Jun 25 20:17:56 2021 +0000
+++ b/distrib/sun2/miniroot/install.md  Sat Jun 26 00:25:41 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: install.md,v 1.7 2020/12/05 18:52:06 tsutsui Exp $
+#      $NetBSD: install.md,v 1.8 2021/06/26 00:25:41 tsutsui Exp $
 #
 #
 # Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -53,7 +53,6 @@ md_makerootwritable() {
                echo "Remounting root read-write..."
                mi_mount_kernfs
                mount -u -t ffs /kern/rootdev /
-               swapctl -a /kern/rootdev
                cp /dev/null /tmp/root_writable
        fi
 }
diff -r c7dd9d78239f -r 6583dd1b7217 distrib/sun3/miniroot/install.md
--- a/distrib/sun3/miniroot/install.md  Fri Jun 25 20:17:56 2021 +0000
+++ b/distrib/sun3/miniroot/install.md  Sat Jun 26 00:25:41 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: install.md,v 1.7 2020/12/05 18:52:06 tsutsui Exp $
+#      $NetBSD: install.md,v 1.8 2021/06/26 00:25:41 tsutsui Exp $
 #
 #
 # Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -53,7 +53,6 @@ md_makerootwritable() {
                echo "Remounting root read-write..."
                mi_mount_kernfs
                mount -u /kern/rootdev /
-               swapctl -a /kern/rootdev
                cp /dev/null /tmp/root_writable
        fi
 }



Home | Main Index | Thread Index | Old Index