diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2013-09-14 09:33:35 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2013-09-14 09:33:35 +0300 |
commit | 672641db35c9190048e92e1208bda2ca190fd2e8 (patch) | |
tree | cddbbf097e9936f8f836c55e1913b8a65dbe4d15 /post-build-create-image-manifest.sh | |
parent | 73cf3922345a5aebfad3a45f0ddc963339e672bd (diff) |
post-build-create-image-manifest.sh: support .rootfs.*.gz (e.g initramfs image is .rootfs.cpio.gz)
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'post-build-create-image-manifest.sh')
-rw-r--r-- | post-build-create-image-manifest.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/post-build-create-image-manifest.sh b/post-build-create-image-manifest.sh index 8bd8cbb..50452cd 100644 --- a/post-build-create-image-manifest.sh +++ b/post-build-create-image-manifest.sh @@ -8,10 +8,10 @@ if [ -n "${WORKSPACE}" ]; then deploy_dir=`find /mnt/ci_build/workspace/tmp -type d -name deploy` fi cd ${deploy_dir}/images - for img in *.rootfs.tar.gz + for img in *.rootfs.*.gz do if ! [ -h $img ] ; then - img=`basename $img .rootfs.tar.gz` + img=`echo $img | cut -d'.' -f1` cp -a ../licenses/$img/license.manifest $img.manifest mv $img.* ${WORKSPACE}/out fi |