Correct some oversights in the sysinst conversion. arch/alpha/md.c and
others allready had these fixes.
This commit is contained in:
parent
7766b60f7c
commit
10218daeef
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: md.c,v 1.9 1999/01/21 08:02:18 garbled Exp $ */
|
||||
/* $NetBSD: md.c,v 1.10 1999/01/23 06:19:17 garbled Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
|
@ -264,8 +264,7 @@ void md_copy_filesystem (void)
|
|||
|
||||
/* Copy the instbin(s) to the disk */
|
||||
printf("%s", msg_string(MSG_dotar));
|
||||
run_prog(0, 1, "tar --one-file-system -cf - -C / . |"
|
||||
"(cd /mnt ; tar --unlink -xpf - )");
|
||||
run_prog(0, 1, "pax -X -r -w / /mnt");
|
||||
|
||||
/* Copy next-stage install profile into target /.profile. */
|
||||
cp_to_target("/tmp/.hdprofile", "/.profile");
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: md.c,v 1.2 1999/01/21 08:02:18 garbled Exp $ */
|
||||
/* $NetBSD: md.c,v 1.3 1999/01/23 06:19:17 garbled Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
|
@ -139,8 +139,7 @@ void md_copy_filesystem (void)
|
|||
|
||||
/* Copy the instbin(s) to the disk */
|
||||
printf ("%s", msg_string(MSG_dotar));
|
||||
run_prog (0, 1, "tar --one-file-system -cf - -C / . |"
|
||||
"(cd /mnt ; tar --unlink -xpf - )");
|
||||
run_prog (0, 1, "pax -X -r -w / /mnt");
|
||||
|
||||
/* Copy next-stage install profile into target /.profile. */
|
||||
cp_to_target ("/tmp/.hdprofile", "/.profile");
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: md.c,v 1.20 1999/01/21 08:02:19 garbled Exp $ */
|
||||
/* $NetBSD: md.c,v 1.21 1999/01/23 06:19:18 garbled Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
|
@ -417,9 +417,7 @@ void md_copy_filesystem (void)
|
|||
/* test returns 0 on success */
|
||||
dir_exists = (run_prog(0, 0, "test -d %s", diskimage_usr) == 0);
|
||||
if (dir_exists) {
|
||||
run_prog ( 0, 1,
|
||||
"tar --one-file-system -cf - -C %s . | tar -xpf - -C /usr",
|
||||
diskimage_usr);
|
||||
run_prog ( 0, 1, "pax -X -r -w %s /usr", diskimage_usr);
|
||||
}
|
||||
|
||||
if (target_already_root()) {
|
||||
|
|
Loading…
Reference in New Issue