Adjust some of these extract scripts.

This commit is contained in:
Jordan K. Hubbard 1995-01-27 07:49:46 +00:00
parent e05407d84b
commit 8d27b7fcda
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5953
3 changed files with 22 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.86 1995/01/27 06:24:35 jkh Exp $
# $Id: Makefile,v 1.87 1995/01/27 07:37:41 jkh Exp $
#
FLOPPY= fd0
@ -171,7 +171,6 @@ release20:
EXTRADISTRIBUTIONS= secure games manpages proflibs dict info
DISTRIBUTIONS= bin src ${EXTRADISTRIBUTIONS}
MTREEFILES= ${.CURDIR}/../etc/mtree
SECRSRC= src/secure src/eBones
jkhdist:
@echo "--> Making all"
@ -309,7 +308,7 @@ srcsecure-tarball:
(cd ${RELEASEDIR}/src/usr/src; \
mkdir -p ${RELEASEDIR}/tarballs/secure; \
tar -cf - secure | \
${ZIPNSPLIT} ${RELEASEDIR}/tarballs/secure/secure.)
${ZIPNSPLIT} ${RELEASEDIR}/tarballs/secure/secrsrc.)
srclkm-tarball:
(cd ${RELEASEDIR}/src/usr/src; \
@ -359,5 +358,9 @@ src: srcbase-tarball srcbin-tarball srcetc-tarball \
srcsbin-tarball srcshare-tarball srcsys-tarball \
srcusrbin-tarball srcusrsbin-tarball srcrelease-tarball \
srcebones-tarball srclkm-tarball srcrelease-tarball
( cd ${RELEASEDIR}/tarballs/src; \
sh -e ${.CURDIR}/scripts/mkchecksums.sh ) ; \
cp ${.CURDIR}/scripts/extract_src.sh \
${RELEASEDIR}/tarballs/$${i}/extract.sh;\
.include <bsd.prog.mk>

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $Id: extract_secure.sh,v 1.1 1995/01/14 07:41:45 jkh Exp $
# $Id: extract_secure.sh,v 1.2 1995/01/14 07:44:23 jkh Exp $
PATH=/stand:$PATH
DDIR=/
@ -9,3 +9,10 @@ if [ -f /sbin/init ]; then mv /sbin/init /sbin/init.insecure; fi
echo "Extracting ${DIST}"
cat ${DIST}.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
for DIST in ebones secrsrc; do
if [ -f ${DIST}.aa ]; then
echo "Extracting ${DIST} sources"
cat ${DIST}.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
fi
done

View File

@ -1,8 +1,12 @@
#!/bin/sh
# $Id: extract.sh,v 1.17 1994/12/04 03:41:18 jkh Exp $
# $Id: extract_src.sh,v 1.1 1995/01/14 07:41:46 jkh Exp $
PATH=/stand:$PATH
DDIR=/
DIST=compat1x_tgz
echo "Extracting ${DIST}"
cat ${DIST}.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
for DIST in base bin etc games gnu include lib libexec release sbin lkm \
release share sys usrbin usrsbin; do
if [ -f ${DIST}.aa ]; then
echo "Extracting ${DIST} sources"
cat ${DIST}.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
fi
done