From 9675b32c2fa9a01ec5a7025d00c8f9164ace24f7 Mon Sep 17 00:00:00 2001 From: Gary Palmer Date: Fri, 19 May 1995 01:49:57 +0000 Subject: [PATCH] You want to be in /mnt when extracting the cpio floppy, not in the read only root filesystem..... --- release/sysinstall/install.c | 3 ++- usr.sbin/sade/install.c | 3 ++- usr.sbin/sysinstall/install.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/release/sysinstall/install.c b/release/sysinstall/install.c index 3e0ca910d998..9781fb1555f2 100644 --- a/release/sysinstall/install.c +++ b/release/sysinstall/install.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: install.c,v 1.27 1995/05/18 21:58:33 phk Exp $ + * $Id: install.c,v 1.28 1995/05/18 22:00:01 phk Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -255,6 +255,7 @@ cpio_extract(void) close(CpioFD); close(pfd[1]); close(1); open("/dev/null", O_WRONLY); + chdir("/mnt"); i = execl("/stand/cpio", "/stand/cpio", "-iduvm", 0); msgDebug("/stand/cpio command returns %d status\n", i); exit(i); diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c index 3e0ca910d998..9781fb1555f2 100644 --- a/usr.sbin/sade/install.c +++ b/usr.sbin/sade/install.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: install.c,v 1.27 1995/05/18 21:58:33 phk Exp $ + * $Id: install.c,v 1.28 1995/05/18 22:00:01 phk Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -255,6 +255,7 @@ cpio_extract(void) close(CpioFD); close(pfd[1]); close(1); open("/dev/null", O_WRONLY); + chdir("/mnt"); i = execl("/stand/cpio", "/stand/cpio", "-iduvm", 0); msgDebug("/stand/cpio command returns %d status\n", i); exit(i); diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c index 3e0ca910d998..9781fb1555f2 100644 --- a/usr.sbin/sysinstall/install.c +++ b/usr.sbin/sysinstall/install.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: install.c,v 1.27 1995/05/18 21:58:33 phk Exp $ + * $Id: install.c,v 1.28 1995/05/18 22:00:01 phk Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -255,6 +255,7 @@ cpio_extract(void) close(CpioFD); close(pfd[1]); close(1); open("/dev/null", O_WRONLY); + chdir("/mnt"); i = execl("/stand/cpio", "/stand/cpio", "-iduvm", 0); msgDebug("/stand/cpio command returns %d status\n", i); exit(i);