Add '-O' to pax command line, so that various error conditions don't try
and prompt the user for a new archive. (No idea if this solves the infamous "sysinst random coredump" problem, but it's worth a shot, and makes sense in any case)
This commit is contained in:
parent
7bda39e405
commit
1903b2f616
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: md.c,v 1.25 2002/12/05 01:17:21 fvdl Exp $ */
|
/* $NetBSD: md.c,v 1.26 2002/12/22 12:07:35 lukem Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright 1997 Piermont Information Systems Inc.
|
* Copyright 1997 Piermont Information Systems Inc.
|
||||||
@ -105,7 +105,7 @@ int md_copy_filesystem (void)
|
|||||||
|
|
||||||
/* Copy the instbin(s) to the disk */
|
/* Copy the instbin(s) to the disk */
|
||||||
printf ("%s", msg_string(MSG_dotar));
|
printf ("%s", msg_string(MSG_dotar));
|
||||||
if (run_prog (RUN_DISPLAY, NULL, "pax -X -r -w -pe / /mnt") != 0)
|
if (run_prog (RUN_DISPLAY, NULL, "pax -X -O -r -w -pe / /mnt") != 0)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
/* Copy next-stage install profile into target /.profile. */
|
/* Copy next-stage install profile into target /.profile. */
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: md.c,v 1.1 2002/12/09 14:13:13 scw Exp $ */
|
/* $NetBSD: md.c,v 1.2 2002/12/22 12:07:35 lukem Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright 1997,2002 Piermont Information Systems Inc.
|
* Copyright 1997,2002 Piermont Information Systems Inc.
|
||||||
@ -108,7 +108,7 @@ int md_copy_filesystem (void)
|
|||||||
|
|
||||||
/* Copy the instbin(s) to the disk */
|
/* Copy the instbin(s) to the disk */
|
||||||
printf ("%s", msg_string(MSG_dotar));
|
printf ("%s", msg_string(MSG_dotar));
|
||||||
if (run_prog (RUN_DISPLAY, NULL, "pax -X -r -w -pe / /mnt") != 0)
|
if (run_prog (RUN_DISPLAY, NULL, "pax -X -O -r -w -pe / /mnt") != 0)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
/* Copy next-stage install profile into target /.profile. */
|
/* Copy next-stage install profile into target /.profile. */
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: md.c,v 1.3 2002/12/05 01:17:29 fvdl Exp $ */
|
/* $NetBSD: md.c,v 1.4 2002/12/22 12:07:35 lukem Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright 1997 Piermont Information Systems Inc.
|
* Copyright 1997 Piermont Information Systems Inc.
|
||||||
@ -105,7 +105,7 @@ int md_copy_filesystem (void)
|
|||||||
|
|
||||||
/* Copy the instbin(s) to the disk */
|
/* Copy the instbin(s) to the disk */
|
||||||
printf ("%s", msg_string(MSG_dotar));
|
printf ("%s", msg_string(MSG_dotar));
|
||||||
if (run_prog (RUN_DISPLAY, NULL, "pax -X -r -w -pe / /mnt") != 0)
|
if (run_prog (RUN_DISPLAY, NULL, "pax -X -O -r -w -pe / /mnt") != 0)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
/* Copy next-stage install profile into target /.profile. */
|
/* Copy next-stage install profile into target /.profile. */
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: util.c,v 1.76 2002/12/05 01:17:18 fvdl Exp $ */
|
/* $NetBSD: util.c,v 1.77 2002/12/22 12:07:34 lukem Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright 1997 Piermont Information Systems Inc.
|
* Copyright 1997 Piermont Information Systems Inc.
|
||||||
@ -463,7 +463,7 @@ extract_file(path)
|
|||||||
|
|
||||||
/* now extract set files files into "./". */
|
/* now extract set files files into "./". */
|
||||||
tarexit = run_prog(RUN_DISPLAY, NULL,
|
tarexit = run_prog(RUN_DISPLAY, NULL,
|
||||||
"pax -zr%spe -f %s", verbose ? "v" : "", path);
|
"pax -zr%spe -O -f %s", verbose ? "v" : "", path);
|
||||||
|
|
||||||
/* Check tarexit for errors and give warning. */
|
/* Check tarexit for errors and give warning. */
|
||||||
if (tarexit) {
|
if (tarexit) {
|
||||||
|
Loading…
Reference in New Issue
Block a user