Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst When upgrading, update the boot code post e...



details:   https://anonhg.NetBSD.org/src/rev/ba898374433d
branches:  trunk
changeset: 359884:ba898374433d
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Jan 29 16:01:16 2022 +0000

description:
When upgrading, update the boot code post extraction from
the updated target file system.

diffstat:

 usr.sbin/sysinst/arch/acorn32/md.c      |   4 +-
 usr.sbin/sysinst/arch/alpha/md.c        |   4 +-
 usr.sbin/sysinst/arch/amiga/md.c        |   4 +-
 usr.sbin/sysinst/arch/arc/md.c          |   4 +-
 usr.sbin/sysinst/arch/atari/md.c        |   4 +-
 usr.sbin/sysinst/arch/bebox/md.c        |   4 +-
 usr.sbin/sysinst/arch/cats/md.c         |   4 +-
 usr.sbin/sysinst/arch/cobalt/md.c       |   4 +-
 usr.sbin/sysinst/arch/dummy/md.c        |   4 +-
 usr.sbin/sysinst/arch/emips/md.c        |   4 +-
 usr.sbin/sysinst/arch/evbarm/md.c       |   4 +-
 usr.sbin/sysinst/arch/evbmips/md.c      |   4 +-
 usr.sbin/sysinst/arch/evbppc/md.c       |   4 +-
 usr.sbin/sysinst/arch/evbsh3/md.c       |   4 +-
 usr.sbin/sysinst/arch/ews4800mips/md.c  |   4 +-
 usr.sbin/sysinst/arch/hp300/md.c        |   4 +-
 usr.sbin/sysinst/arch/hpcarm/md.c       |   4 +-
 usr.sbin/sysinst/arch/hpcmips/md.c      |   4 +-
 usr.sbin/sysinst/arch/hpcsh/md.c        |   4 +-
 usr.sbin/sysinst/arch/hppa/md.c         |   4 +-
 usr.sbin/sysinst/arch/i386/md.c         |  87 +++++++++++++++++++++++++++-----
 usr.sbin/sysinst/arch/landisk/md.c      |   4 +-
 usr.sbin/sysinst/arch/luna68k/md.c      |   4 +-
 usr.sbin/sysinst/arch/mac68k/md.c       |   4 +-
 usr.sbin/sysinst/arch/macppc/md.c       |   4 +-
 usr.sbin/sysinst/arch/mipsco/md.c       |   4 +-
 usr.sbin/sysinst/arch/mvme68k/md.c      |   4 +-
 usr.sbin/sysinst/arch/news68k/md.c      |   4 +-
 usr.sbin/sysinst/arch/newsmips/md.c     |   4 +-
 usr.sbin/sysinst/arch/ofppc/md.c        |   4 +-
 usr.sbin/sysinst/arch/playstation2/md.c |   4 +-
 usr.sbin/sysinst/arch/pmax/md.c         |   4 +-
 usr.sbin/sysinst/arch/prep/md.c         |   4 +-
 usr.sbin/sysinst/arch/sandpoint/md.c    |   4 +-
 usr.sbin/sysinst/arch/sgimips/md.c      |   4 +-
 usr.sbin/sysinst/arch/shark/md.c        |   4 +-
 usr.sbin/sysinst/arch/sparc/md.c        |   4 +-
 usr.sbin/sysinst/arch/sparc64/md.c      |   4 +-
 usr.sbin/sysinst/arch/vax/md.c          |   4 +-
 usr.sbin/sysinst/arch/x68k/md.c         |   4 +-
 usr.sbin/sysinst/arch/zaurus/md.c       |   4 +-
 usr.sbin/sysinst/defs.h                 |   4 +-
 usr.sbin/sysinst/install.c              |   4 +-
 usr.sbin/sysinst/upgrade.c              |   4 +-
 44 files changed, 159 insertions(+), 100 deletions(-)

diffs (truncated from 951 to 300 lines):

diff -r 8cd520bf1311 -r ba898374433d usr.sbin/sysinst/arch/acorn32/md.c
--- a/usr.sbin/sysinst/arch/acorn32/md.c        Sat Jan 29 15:32:49 2022 +0000
+++ b/usr.sbin/sysinst/arch/acorn32/md.c        Sat Jan 29 16:01:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.7 2020/10/12 16:14:32 martin Exp $ */
+/*     $NetBSD: md.c,v 1.8 2022/01/29 16:01:16 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -249,7 +249,7 @@
 }
 
 int
-md_post_extract(struct install_partition_desc *install)
+md_post_extract(struct install_partition_desc *install, bool upgrade)
 {
        return 0;
 }
diff -r 8cd520bf1311 -r ba898374433d usr.sbin/sysinst/arch/alpha/md.c
--- a/usr.sbin/sysinst/arch/alpha/md.c  Sat Jan 29 15:32:49 2022 +0000
+++ b/usr.sbin/sysinst/arch/alpha/md.c  Sat Jan 29 16:01:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.9 2020/10/12 16:14:32 martin Exp $ */
+/*     $NetBSD: md.c,v 1.10 2022/01/29 16:01:16 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -175,7 +175,7 @@
 }
 
 int
-md_post_extract(struct install_partition_desc *install)
+md_post_extract(struct install_partition_desc *install, bool upgrade)
 {
        return 0;
 }
diff -r 8cd520bf1311 -r ba898374433d usr.sbin/sysinst/arch/amiga/md.c
--- a/usr.sbin/sysinst/arch/amiga/md.c  Sat Jan 29 15:32:49 2022 +0000
+++ b/usr.sbin/sysinst/arch/amiga/md.c  Sat Jan 29 16:01:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.6 2020/10/12 16:14:32 martin Exp $ */
+/*     $NetBSD: md.c,v 1.7 2022/01/29 16:01:16 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -115,7 +115,7 @@
 }
 
 int
-md_post_extract(struct install_partition_desc *install)
+md_post_extract(struct install_partition_desc *install, bool upgrade)
 {
        return 0;
 }
diff -r 8cd520bf1311 -r ba898374433d usr.sbin/sysinst/arch/arc/md.c
--- a/usr.sbin/sysinst/arch/arc/md.c    Sat Jan 29 15:32:49 2022 +0000
+++ b/usr.sbin/sysinst/arch/arc/md.c    Sat Jan 29 16:01:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.13 2020/10/12 16:14:33 martin Exp $ */
+/*     $NetBSD: md.c,v 1.14 2022/01/29 16:01:17 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -188,7 +188,7 @@
 }
 
 int
-md_post_extract(struct install_partition_desc *install)
+md_post_extract(struct install_partition_desc *install, bool upgrade)
 {
        return 0;
 }
diff -r 8cd520bf1311 -r ba898374433d usr.sbin/sysinst/arch/atari/md.c
--- a/usr.sbin/sysinst/arch/atari/md.c  Sat Jan 29 15:32:49 2022 +0000
+++ b/usr.sbin/sysinst/arch/atari/md.c  Sat Jan 29 16:01:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.7 2020/10/12 16:14:33 martin Exp $ */
+/*     $NetBSD: md.c,v 1.8 2022/01/29 16:01:17 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -144,7 +144,7 @@
 }
 
 int
-md_post_extract(struct install_partition_desc *install)
+md_post_extract(struct install_partition_desc *install, bool upgrade)
 {
        return 0;
 }
diff -r 8cd520bf1311 -r ba898374433d usr.sbin/sysinst/arch/bebox/md.c
--- a/usr.sbin/sysinst/arch/bebox/md.c  Sat Jan 29 15:32:49 2022 +0000
+++ b/usr.sbin/sysinst/arch/bebox/md.c  Sat Jan 29 16:01:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.9 2020/10/12 16:14:33 martin Exp $ */
+/*     $NetBSD: md.c,v 1.10 2022/01/29 16:01:17 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -160,7 +160,7 @@
 }
 
 int
-md_post_extract(struct install_partition_desc *install)
+md_post_extract(struct install_partition_desc *install, bool upgrade)
 {
        return 0;
 }
diff -r 8cd520bf1311 -r ba898374433d usr.sbin/sysinst/arch/cats/md.c
--- a/usr.sbin/sysinst/arch/cats/md.c   Sat Jan 29 15:32:49 2022 +0000
+++ b/usr.sbin/sysinst/arch/cats/md.c   Sat Jan 29 16:01:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.5 2020/10/12 16:14:33 martin Exp $ */
+/*     $NetBSD: md.c,v 1.6 2022/01/29 16:01:17 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -170,7 +170,7 @@
 }
 
 int
-md_post_extract(struct install_partition_desc *install)
+md_post_extract(struct install_partition_desc *install, bool upgrade)
 {
        return 0;
 }
diff -r 8cd520bf1311 -r ba898374433d usr.sbin/sysinst/arch/cobalt/md.c
--- a/usr.sbin/sysinst/arch/cobalt/md.c Sat Jan 29 15:32:49 2022 +0000
+++ b/usr.sbin/sysinst/arch/cobalt/md.c Sat Jan 29 16:01:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.14 2020/10/12 16:14:33 martin Exp $ */
+/*     $NetBSD: md.c,v 1.15 2022/01/29 16:01:17 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -205,7 +205,7 @@
 }
 
 int
-md_post_extract(struct install_partition_desc *install)
+md_post_extract(struct install_partition_desc *install, bool upgrade)
 {
        return 0;
 }
diff -r 8cd520bf1311 -r ba898374433d usr.sbin/sysinst/arch/dummy/md.c
--- a/usr.sbin/sysinst/arch/dummy/md.c  Sat Jan 29 15:32:49 2022 +0000
+++ b/usr.sbin/sysinst/arch/dummy/md.c  Sat Jan 29 16:01:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.6 2020/10/12 16:14:33 martin Exp $    */
+/*     $NetBSD: md.c,v 1.7 2022/01/29 16:01:17 martin Exp $    */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -94,7 +94,7 @@
 }
 
 int
-md_post_extract(struct install_partition_desc *install)
+md_post_extract(struct install_partition_desc *install, bool upgrade)
 {
        return 0;
 }
diff -r 8cd520bf1311 -r ba898374433d usr.sbin/sysinst/arch/emips/md.c
--- a/usr.sbin/sysinst/arch/emips/md.c  Sat Jan 29 15:32:49 2022 +0000
+++ b/usr.sbin/sysinst/arch/emips/md.c  Sat Jan 29 16:01:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.9 2020/10/12 16:14:33 martin Exp $    */
+/*     $NetBSD: md.c,v 1.10 2022/01/29 16:01:17 martin Exp $   */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -162,7 +162,7 @@
  * On emips, we take this opportunity to update the boot loader.
  */
 int
-md_post_extract(struct install_partition_desc *install)
+md_post_extract(struct install_partition_desc *install, bool upgrade)
 {
        char ldr_path[STRSIZE];
 
diff -r 8cd520bf1311 -r ba898374433d usr.sbin/sysinst/arch/evbarm/md.c
--- a/usr.sbin/sysinst/arch/evbarm/md.c Sat Jan 29 15:32:49 2022 +0000
+++ b/usr.sbin/sysinst/arch/evbarm/md.c Sat Jan 29 16:01:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.21 2021/05/09 10:39:00 martin Exp $ */
+/*     $NetBSD: md.c,v 1.22 2022/01/29 16:01:17 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -266,7 +266,7 @@
 }
 
 int
-md_post_extract(struct install_partition_desc *install)
+md_post_extract(struct install_partition_desc *install, bool upgrade)
 {
 
        return 0;
diff -r 8cd520bf1311 -r ba898374433d usr.sbin/sysinst/arch/evbmips/md.c
--- a/usr.sbin/sysinst/arch/evbmips/md.c        Sat Jan 29 15:32:49 2022 +0000
+++ b/usr.sbin/sysinst/arch/evbmips/md.c        Sat Jan 29 16:01:16 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.9 2020/10/12 16:14:33 martin Exp $ */
+/* $NetBSD: md.c,v 1.10 2022/01/29 16:01:17 martin Exp $ */
 
 /*
  * Copyright 1997,2002 Piermont Information Systems Inc.
@@ -160,7 +160,7 @@
 }
 
 int
-md_post_extract(struct install_partition_desc *install)
+md_post_extract(struct install_partition_desc *install, bool upgrade)
 {
        return 0;
 }
diff -r 8cd520bf1311 -r ba898374433d usr.sbin/sysinst/arch/evbppc/md.c
--- a/usr.sbin/sysinst/arch/evbppc/md.c Sat Jan 29 15:32:49 2022 +0000
+++ b/usr.sbin/sysinst/arch/evbppc/md.c Sat Jan 29 16:01:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.9 2020/10/12 16:14:34 martin Exp $ */
+/*     $NetBSD: md.c,v 1.10 2022/01/29 16:01:18 martin Exp $ */
 
 /*
  * Copyright 1997,2002 Piermont Information Systems Inc.
@@ -161,7 +161,7 @@
 }
 
 int
-md_post_extract(struct install_partition_desc *install)
+md_post_extract(struct install_partition_desc *install, bool upgrade)
 {
        return 0;
 }
diff -r 8cd520bf1311 -r ba898374433d usr.sbin/sysinst/arch/evbsh3/md.c
--- a/usr.sbin/sysinst/arch/evbsh3/md.c Sat Jan 29 15:32:49 2022 +0000
+++ b/usr.sbin/sysinst/arch/evbsh3/md.c Sat Jan 29 16:01:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.6 2020/10/12 16:14:34 martin Exp $    */
+/*     $NetBSD: md.c,v 1.7 2022/01/29 16:01:18 martin Exp $    */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -182,7 +182,7 @@
 }
 
 int
-md_post_extract(struct install_partition_desc *install)
+md_post_extract(struct install_partition_desc *install, bool upgrade)
 {
        return 0;
 }
diff -r 8cd520bf1311 -r ba898374433d usr.sbin/sysinst/arch/ews4800mips/md.c
--- a/usr.sbin/sysinst/arch/ews4800mips/md.c    Sat Jan 29 15:32:49 2022 +0000
+++ b/usr.sbin/sysinst/arch/ews4800mips/md.c    Sat Jan 29 16:01:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.7 2020/10/12 16:14:34 martin Exp $    */
+/*     $NetBSD: md.c,v 1.8 2022/01/29 16:01:18 martin Exp $    */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -183,7 +183,7 @@
 }
 
 int
-md_post_extract(struct install_partition_desc *install)
+md_post_extract(struct install_partition_desc *install, bool upgrade)
 {
        return 0;
 }
diff -r 8cd520bf1311 -r ba898374433d usr.sbin/sysinst/arch/hp300/md.c
--- a/usr.sbin/sysinst/arch/hp300/md.c  Sat Jan 29 15:32:49 2022 +0000
+++ b/usr.sbin/sysinst/arch/hp300/md.c  Sat Jan 29 16:01:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.11 2020/10/12 16:14:34 martin Exp $ */
+/*     $NetBSD: md.c,v 1.12 2022/01/29 16:01:18 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -203,7 +203,7 @@
 }
 
 int
-md_post_extract(struct install_partition_desc *install)
+md_post_extract(struct install_partition_desc *install, bool upgrade)
 {
        return 0;
 }
diff -r 8cd520bf1311 -r ba898374433d usr.sbin/sysinst/arch/hpcarm/md.c
--- a/usr.sbin/sysinst/arch/hpcarm/md.c Sat Jan 29 15:32:49 2022 +0000
+++ b/usr.sbin/sysinst/arch/hpcarm/md.c Sat Jan 29 16:01:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.10 2021/08/09 19:24:33 andvar Exp $ */
+/*     $NetBSD: md.c,v 1.11 2022/01/29 16:01:18 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -230,7 +230,7 @@
 }
 



Home | Main Index | Thread Index | Old Index