summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-09-08 19:54:37 +0000
committerru <ru@FreeBSD.org>2006-09-08 19:54:37 +0000
commitc60a940b1dc8ae930cd367435492eb0e945e77c8 (patch)
tree8cf7699baeabccb42e5a585b377c892947536883 /release
parentce0ab81797c69170ae43641ab6a53dca2e338adb (diff)
downloadFreeBSD-src-c60a940b1dc8ae930cd367435492eb0e945e77c8.zip
FreeBSD-src-c60a940b1dc8ae930cd367435492eb0e945e77c8.tar.gz
Stop cutting the tarball names to eight symbols. This makes
it possible to e.g. distribute kernels with config names larger than eight symbols, without the clash. Previousy, LALALALA and LALALALA-SMP would be the same tarball. (I think this comes from the old days where tarballs were put on the MS-DOS formatted diskettes.) MFC after: 3 days
Diffstat (limited to 'release')
-rw-r--r--release/Makefile2
-rw-r--r--release/scripts/kernels-install.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/release/Makefile b/release/Makefile
index 20d967d..8164472 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -1098,7 +1098,7 @@ doTARBALL:
@rm -rf ${RD}/dists/${TD}/${TN}*
@mkdir -p ${RD}/dists/${TD}
@( cd ${SD} && \
- tn=`echo ${TN} | tr 'A-Z' 'a-z' | cut -c1-8` && \
+ tn=`echo ${TN} | tr 'A-Z' 'a-z'` && \
echo rolling ${TD}/$$tn tarball &&\
tar --exclude CVS --exclude obj --exclude BOOTMFS -cf - ${ARG} | \
${ZIPNSPLIT} ${RD}/dists/${TD}/$$tn. && \
diff --git a/release/scripts/kernels-install.sh b/release/scripts/kernels-install.sh
index 831a99f..0bf9619 100644
--- a/release/scripts/kernels-install.sh
+++ b/release/scripts/kernels-install.sh
@@ -35,8 +35,8 @@ if [ "$ans" = "y" ]; then
echo "Saving existing $KERNEL as $sav"
mv $KERNEL $sav
fi
- # translate per Makefile:doTARBALL XXX are we sure to have tr+cut?
- tn=`echo ${CONFIG} | tr 'A-Z' 'a-z' | cut -c1-8`
+ # translate per Makefile:doTARBALL XXX are we sure to have tr?
+ tn=`echo ${CONFIG} | tr 'A-Z' 'a-z'`
cat $tn.?? | tar --unlink -xpzf - -C $BOOT
else
echo "Installation of $CONFIG kernel distribution not done."
OpenPOWER on IntegriCloud