Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst/arch/atari Add aout->ELF upgrade support.



details:   https://anonhg.NetBSD.org/src/rev/04a49f0db22e
branches:  trunk
changeset: 526117:04a49f0db22e
user:      leo <leo%NetBSD.org@localhost>
date:      Thu Apr 25 20:16:08 2002 +0000

description:
Add aout->ELF upgrade support.

diffstat:

 distrib/utils/sysinst/arch/atari/Makefile    |  4 ++--
 distrib/utils/sysinst/arch/atari/md.c        |  3 ++-
 distrib/utils/sysinst/arch/atari/md.h        |  5 ++++-
 distrib/utils/sysinst/arch/atari/menus.md.en |  2 +-
 distrib/utils/sysinst/arch/atari/msg.md.en   |  9 ++++++++-
 5 files changed, 17 insertions(+), 6 deletions(-)

diffs (83 lines):

diff -r afb69166c662 -r 04a49f0db22e distrib/utils/sysinst/arch/atari/Makefile
--- a/distrib/utils/sysinst/arch/atari/Makefile Thu Apr 25 20:07:39 2002 +0000
+++ b/distrib/utils/sysinst/arch/atari/Makefile Thu Apr 25 20:16:08 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2002/04/20 20:35:00 leo Exp $
+#      $NetBSD: Makefile,v 1.3 2002/04/25 20:16:08 leo Exp $
 #
 # Makefile for atari
 #
@@ -7,7 +7,7 @@
 
 SRCS=  menu_defs.c msg_defs.c main.c install.c upgrade.c \
        txtwalk.c run.c factor.c net.c disks.c disks_lfs.c util.c geom.c \
-       label.c target.c md.c
+       label.c target.c md.c aout2elf.c
 
 fdisk.o md.o:  menu_defs.h msg_defs.h
 
diff -r afb69166c662 -r 04a49f0db22e distrib/utils/sysinst/arch/atari/md.c
--- a/distrib/utils/sysinst/arch/atari/md.c     Thu Apr 25 20:07:39 2002 +0000
+++ b/distrib/utils/sysinst/arch/atari/md.c     Thu Apr 25 20:16:08 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.2 2002/04/20 20:35:00 leo Exp $ */
+/*     $NetBSD: md.c,v 1.3 2002/04/25 20:16:08 leo Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -472,6 +472,7 @@
 int
 md_update(void)
 {
+       move_aout_libs();
        endwin();
        md_copy_filesystem();
        md_post_newfs();
diff -r afb69166c662 -r 04a49f0db22e distrib/utils/sysinst/arch/atari/md.h
--- a/distrib/utils/sysinst/arch/atari/md.h     Thu Apr 25 20:07:39 2002 +0000
+++ b/distrib/utils/sysinst/arch/atari/md.h     Thu Apr 25 20:16:08 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.h,v 1.2 2002/04/20 20:35:00 leo Exp $       */
+/*     $NetBSD: md.h,v 1.3 2002/04/25 20:16:08 leo Exp $       */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -59,6 +59,9 @@
 #define STDNEEDMB      80      /* Min space for non X install */
 #define XNEEDMB                50      /* Extra megs for full X installation */
 
+#define LIB_COUNT      0
+#define LIB_MOVE       1
+
 /*
  *  Default filesets to fetch and install during installation
  *  or upgrade. The standard sets are:
diff -r afb69166c662 -r 04a49f0db22e distrib/utils/sysinst/arch/atari/menus.md.en
--- a/distrib/utils/sysinst/arch/atari/menus.md.en      Thu Apr 25 20:07:39 2002 +0000
+++ b/distrib/utils/sysinst/arch/atari/menus.md.en      Thu Apr 25 20:16:08 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: menus.md.en,v 1.2 2002/04/20 20:35:00 leo Exp $        */
+/*     $NetBSD: menus.md.en,v 1.3 2002/04/25 20:16:08 leo Exp $        */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
diff -r afb69166c662 -r 04a49f0db22e distrib/utils/sysinst/arch/atari/msg.md.en
--- a/distrib/utils/sysinst/arch/atari/msg.md.en        Thu Apr 25 20:07:39 2002 +0000
+++ b/distrib/utils/sysinst/arch/atari/msg.md.en        Thu Apr 25 20:16:08 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msg.md.en,v 1.2 2002/04/20 20:35:00 leo Exp $  */
+/*     $NetBSD: msg.md.en,v 1.3 2002/04/25 20:16:08 leo Exp $  */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -103,3 +103,10 @@
 Standard requires at least %.2f Megabytes. 
 Standard with X requires at least %.2f Megabytes.
 }
+
+message emulbackup
+{Either the /emul/aout or /emul directory on your system was a symbolic link
+pointing to an unmounted filesystem. It has been given a '.old' extension.
+Once you bring your upgraded system back up, you may need to take care
+of merging the newly created /emul/aout directory with the old one.
+}



Home | Main Index | Thread Index | Old Index