summaryrefslogtreecommitdiffstats
path: root/release/extract.sh
blob: 4ebf9f22ed635c7598c482386f13169063b40895 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
if [ -f bin_tgz.aa ] ; then
	# Temporary kludge for pathological bindist.
	cp /etc/hosts /etc/myname /stand/etc
	echo; echo "Extracting bindist, please wait.  Ignore any messages from"
	echo "cpio saying \"No such file or directory\".  It doesn't know what"
	echo "it's talking about.."; echo
	cat bin_tgz.?? | zcat | ( cd / ; cpio -H tar -idumV )
	# Add back what the bindist nuked.
	cp /stand/etc/myname /etc
	cat /stand/etc/hosts >> /etc/hosts
fi
OpenPOWER on IntegriCloud