Add cvs tag, change tar to pax in a couple of places, tar is not on the
authorrahnds <rahnds@openbsd.org>
Tue, 18 Feb 1997 16:01:52 +0000 (16:01 +0000)
committerrahnds <rahnds@openbsd.org>
Tue, 18 Feb 1997 16:01:52 +0000 (16:01 +0000)
ramdisk image.

distrib/mvme68k/ramdisk/install.sub

index d7c5767..2dcca72 100644 (file)
@@ -1,4 +1,5 @@
 #!/bin/sh
+#      $OpenBSD: install.sub,v 1.3 1997/02/18 16:01:52 rahnds Exp $
 #      $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
 #
 # Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -36,7 +37,7 @@
 # POSSIBILITY OF SUCH DAMAGE.
 #
 
-#      NetBSD installation/upgrade script - common subroutines.
+#      OpenBSD installation/upgrade script - common subroutines.
 
 ROOTDISK=""                            # filled in below
 VERSION=                               # filled in automatically (see list)
@@ -654,7 +655,7 @@ install_from_mounted_fs() {
                fi
 
                # Extract file
-               cat $_filename | (cd /mnt; tar --unlink -zxvpf -)
+               cat $_filename | (cd /mnt; pax -r -pe -z )
                echo "Extraction complete."
                _setsdone="$_f $_setsdone"
 
@@ -1010,11 +1011,11 @@ __install_tape_2
                getresp "1"
                case "$resp" in
                1)
-                       _xcmd="tar --unlink -zxvpf -"
+                       _xcmd="pax -r -pe -z"
                        ;;
 
                2)
-                       _xcmd="tar --unlink -xvpf -"
+                       _xcmd="pax -r -pe"
                        ;;
 
                *)