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:
parent
69b1ad4693
commit
34df577a5d
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in New Issue