Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Thousands of filenames listed while building amd64 bootcd
On Thu, 07 Feb 2013, Paul Goyette wrote:
Is it really necessary to list nearly 4000 individual file names while
building the cdroms/bootcd ?
I think that the pax "-v" option is responsible for this.
Something like this patch might be reasonable, but even if it works the
logic should probably be in some higher level include file.
--apb (Alan Barrett)
Index: ./common/Makefile.bootcd
===================================================================
--- ./common/Makefile.bootcd 29 Jan 2013 19:48:41 -0000 1.22
+++ ./common/Makefile.bootcd 8 Feb 2013 07:43:55 -0000
@@ -99,6 +99,12 @@ BOOT2=boot
.endif
.endif
+.if ${MAKEVERBOSE} >= 3
+PAXVERBOSE?= -v
+.else
+PAXVERBOSE?= # empty
+.fi
+
prepare:
${MKDIR} cdrom
.if defined(CDKERNELS)
@@ -135,7 +141,7 @@ copy-releasedir:
cd ${RELEASEDIR}/${RELEASEMACHINEDIR}; \
echo Copying $$(pwd) to $$release_destdir ...; \
${TOOL_PAX} \
- -rw -pe -v \
+ -rw -pe ${PAXVERBOSE} \
${CDRELEASE_EXCLUDE} \
. $$release_destdir; \
cd $$curdir; \
@@ -151,7 +157,7 @@ copy-releasedir:
cd ${RELEASEDIR}/source; \
echo Copying $$(pwd) to $$release_destdir ...; \
${TOOL_PAX} \
- -rw -pe -v \
+ -rw -pe ${PAXVERBOSE} \
. $$release_destdir; \
cd $$curdir; \
fi
@@ -162,7 +168,8 @@ copy-releasedir:
cd ${DESTDIR}; \
for cde in ${CDRUNTIME}; \
do \
- ${TOOL_PAX} -rw -pp -v $${cde} $$release_destdir;\
+ ${TOOL_PAX} -rw -pp ${PAXVERBOSE} \
+ $${cde} $$release_destdir; \
done; \
cd $$curdir; \
fi
@@ -190,7 +197,7 @@ copy-releasedir:
cd $${cde}; \
echo Copying $$(pwd) to $$release_destdir ...;
\
${TOOL_MTREE} -c $${skipflag} | \
- ${TOOL_PAX} -rw -pe -v -M \
+ ${TOOL_PAX} -rw -pe -M ${PAXVERBOSE} \
$$release_destdir; \
else \
echo "Missing $${cde}, aborting"; \
Home |
Main Index |
Thread Index |
Old Index