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
This commit is contained in:
parent
820e03699c
commit
710989358e
@ -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. && \
|
||||
|
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user