diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-06-29 05:54:29 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-06-29 05:54:29 +0000 |
commit | e7ba098a6dde243a90180787f3c0999eece7efec (patch) | |
tree | 7c71e86e2ca91bceb37e74bc210fede50bdc95e4 /distrib/sparc | |
parent | 6765702568d2cce079bc23c1855e40ba4632e05e (diff) |
Update for removal of GNU tar(1)
Diffstat (limited to 'distrib/sparc')
-rw-r--r-- | distrib/sparc/floppies/inst-common/dot.commonutils | 8 | ||||
-rw-r--r-- | distrib/sparc/floppies/inst-common/instbin.conf | 7 | ||||
-rw-r--r-- | distrib/sparc/floppies/inst-common/list | 4 | ||||
-rw-r--r-- | distrib/sparc/floppies/inst/install.sh | 4 | ||||
-rw-r--r-- | distrib/sparc/floppies/upgr/upgrade.sh | 4 |
5 files changed, 14 insertions, 13 deletions
diff --git a/distrib/sparc/floppies/inst-common/dot.commonutils b/distrib/sparc/floppies/inst-common/dot.commonutils index aaa436bf92a..b9bb0681bbc 100644 --- a/distrib/sparc/floppies/inst-common/dot.commonutils +++ b/distrib/sparc/floppies/inst-common/dot.commonutils @@ -1,4 +1,4 @@ -# $OpenBSD: dot.commonutils,v 1.2 1996/04/25 21:31:24 niklas Exp $ +# $OpenBSD: dot.commonutils,v 1.3 1996/06/29 05:54:24 tholo Exp $ # # Copyright (c) 1994 Christopher G. Demetriou # All rights reserved. @@ -39,7 +39,7 @@ if [ ! -f /etc/fstab ]; then fi # counter for possible shared library confusion -TAR=/usr/bin/tar +TAR=/bin/tar GUNZIP=/usr/bin/gunzip Set_tmp_dir() @@ -110,7 +110,7 @@ Load_tape() echo -n "continue..." read foo echo "Extracting files from the tape..." - $TAR xvpf --unlink /dev/$which + $TAR xvpf /dev/$which echo "Done." } @@ -127,5 +127,5 @@ Extract() tarverbose= ;; esac - cat "$1"* | $GUNZIP | (cd $dest_dir ; $TAR --unlink -xp"$tarverbose"f - ) + cat "$1"* | $GUNZIP | (cd $dest_dir ; $TAR -xp"$tarverbose"f - ) } diff --git a/distrib/sparc/floppies/inst-common/instbin.conf b/distrib/sparc/floppies/inst-common/instbin.conf index 615dcac23f4..d149342f7bb 100644 --- a/distrib/sparc/floppies/inst-common/instbin.conf +++ b/distrib/sparc/floppies/inst-common/instbin.conf @@ -1,19 +1,20 @@ # # kcbin.conf - unified binary for the kc floppy -# $Id: instbin.conf,v 1.1 1995/10/27 22:39:57 deraadt Exp $ +# $Id: instbin.conf,v 1.2 1996/06/29 05:54:24 tholo Exp $ # srcdirs bin sbin usr.bin usr.sbin gnu/usr.bin progs bad144 cat chmod chown chroot cp dd df disklabel ed expr fsck ftp gawk progs gzip ifconfig init ln ls mkdir mknod more mount mount_cd9660 -progs mount_ffs mount_msdos mount_nfs mv newfs ping pwd reboot rm route -progs sed sh shutdown slattach strings stty sync tar test tip umount +progs mount_ffs mount_msdos mount_nfs mv newfs pax ping pwd reboot rm route +progs sed sh shutdown slattach strings stty sync test tip umount progs update ln chown chgrp ln gawk awk ln gzip gzcat gunzip +ln pax tar ln sh -sh # init invokes the shell this way ln test [ ln mount_cd9660 cd9660 diff --git a/distrib/sparc/floppies/inst-common/list b/distrib/sparc/floppies/inst-common/list index 077b011e73c..9fdceb6e215 100644 --- a/distrib/sparc/floppies/inst-common/list +++ b/distrib/sparc/floppies/inst-common/list @@ -1,4 +1,4 @@ -# $Id: list,v 1.1 1995/10/27 22:39:58 deraadt Exp $ +# $Id: list,v 1.2 1996/06/29 05:54:25 tholo Exp $ # copy the crunched binary, link to it, and kill it COPY ${OBJDIR}/instbin instbin @@ -18,6 +18,7 @@ LINK instbin bin/rm LINK instbin bin/sh LINK instbin bin/stty LINK instbin bin/sync +LINK instbin bin/tar LINK instbin bin/test LINK instbin bin/[ LINK instbin sbin/disklabel @@ -47,7 +48,6 @@ SYMLINK /bin/cat usr/bin/gzip SYMLINK /bin/cat usr/bin/more SYMLINK /bin/cat usr/bin/sed SYMLINK /bin/cat usr/bin/strings -SYMLINK /bin/cat usr/bin/tar SYMLINK /bin/cat usr/bin/tip #SYMLINK /bin/cat usr/sbin/bad144 SYMLINK /bin/cat usr/sbin/chown diff --git a/distrib/sparc/floppies/inst/install.sh b/distrib/sparc/floppies/inst/install.sh index 4142d3b6042..8d5313be8db 100644 --- a/distrib/sparc/floppies/inst/install.sh +++ b/distrib/sparc/floppies/inst/install.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: install.sh,v 1.2 1996/04/25 21:31:19 niklas Exp $ +# $OpenBSD: install.sh,v 1.3 1996/06/29 05:54:23 tholo Exp $ # # Copyright (c) 1994 Christopher G. Demetriou # All rights reserved. @@ -441,7 +441,7 @@ fi echo "" echo "Populating filesystems with bootstrapping binaries and config files" -$DONTDOIT tar --one-file-system -cf - . | (cd /mnt ; tar --unlink -xpf - ) +$DONTDOIT tar -cfX - . | (cd /mnt ; tar -xpf - ) $DONTDOIT cp /tmp/.hdprofile /mnt/.profile echo "" diff --git a/distrib/sparc/floppies/upgr/upgrade.sh b/distrib/sparc/floppies/upgr/upgrade.sh index c4a0071fde4..b54430017bc 100644 --- a/distrib/sparc/floppies/upgr/upgrade.sh +++ b/distrib/sparc/floppies/upgr/upgrade.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: upgrade.sh,v 1.2 1996/04/25 21:31:35 niklas Exp $ +# $OpenBSD: upgrade.sh,v 1.3 1996/06/29 05:54:25 tholo Exp $ # # Copyright (c) 1994 Christopher G. Demetriou # All rights reserved. @@ -229,7 +229,7 @@ echo "Done." echo "" echo "Copying bootstrapping binaries and config files to the hard drive..." $DONTDOIT cp /mnt/.profile /mnt/.profile.bak -$DONTDOIT tar --exclude etc --one-file-system -cf - . | (cd /mnt ; tar --unlink -xpf - ) +$DONTDOIT pax -rw -X -k . /mnt $DONTDOIT mv /mnt/etc/rc /mnt/etc/rc.bak $DONTDOIT cp /tmp/.hdprofile /mnt/.profile |