scripts: fit-repack.sh: fix cp issue

cp: omitting directory ‘out/repack’

Ignore directory.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I4ebca3319b290a7eab9f4b51e9338a0cb3c6c10f
This commit is contained in:
Joseph Chen 2020-09-15 11:38:06 +08:00
parent 69b1ad4693
commit 34df577a5d
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ function fit_repack()
rm -rf ${OUT}
mkdir -p ${OUT}
${UNPACK} -f ${IMAGE} -o ${OUT}/
cp ${DATA}/* ${OUT}/
find ${DATA}/ -maxdepth 1 -type f | xargs cp -t ${OUT}/
if fdtget -l ${IMAGE} /images/uboot >/dev/null 2>&1 ; then
rm -f ${IMAGE}