Handle a.out -> ELF library upgrade in md_update().

XXX No French message for emulbackup?
This commit is contained in:
tsutsui 2002-03-16 17:26:55 +00:00
parent 0b16dfbbae
commit fd7bd6f395
4 changed files with 19 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2001/01/14 02:38:20 mrg Exp $
# $NetBSD: Makefile,v 1.3 2002/03/16 17:26:55 tsutsui Exp $
#
# Makefile for news68k
#
@ -8,6 +8,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
SRCS+= aout2elf.c
md.o: menu_defs.h msg_defs.h

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.11 2002/03/16 08:42:52 tsutsui Exp $ */
/* $NetBSD: md.c,v 1.12 2002/03/16 17:26:56 tsutsui Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -184,6 +184,7 @@ int
md_update()
{
move_aout_libs();
endwin();
md_copy_filesystem ();
md_post_newfs();

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.8 2002/03/16 08:25:01 tsutsui Exp $ */
/* $NetBSD: md.h,v 1.9 2002/03/16 17:26:56 tsutsui Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -112,3 +112,9 @@ EXTERN char *disk_names[]
* Default file system type for floppies.
*/
EXTERN char *fdtype INIT("msdos");
/*
* for a.out -> ELF upgrade
*/
#define LIB_COUNT 0
#define LIB_MOVE 1

View File

@ -1,4 +1,4 @@
/* $NetBSD: msg.md.en,v 1.3 2002/03/16 08:51:08 tsutsui Exp $ */
/* $NetBSD: msg.md.en,v 1.4 2002/03/16 17:26:56 tsutsui Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -80,3 +80,10 @@ give sizes and mount points for the following partitions.
message askfspart
{The next partition is /dev/%s%c. You have %d %s left on your disk.
Partition size? }
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.
}