aboutsummaryrefslogtreecommitdiff
path: root/leg-cloud-image
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2016-11-26 16:10:50 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2016-11-26 16:10:50 +0200
commit9fb68a1d56f399180eb81e21599708fa8bb63b19 (patch)
treea5c2deadf9f99f668733eaff5bc734a2d9263092 /leg-cloud-image
parent4a09ea0985c6ed0e1d1180f9d65f270da5000683 (diff)
downloadconfigs-9fb68a1d56f399180eb81e21599708fa8bb63b19.tar.gz
leg-cloud-image-centos: fix kernel/initramfs naming scheme
The files names have changed. It doesn't contains "reference" anymore. Change-Id: Icabb44295f024b359880f7f733a15310832cb22d Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'leg-cloud-image')
-rwxr-xr-xleg-cloud-image/centos/builders.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/leg-cloud-image/centos/builders.sh b/leg-cloud-image/centos/builders.sh
index 5b1ef249d..da7f20bdc 100755
--- a/leg-cloud-image/centos/builders.sh
+++ b/leg-cloud-image/centos/builders.sh
@@ -65,6 +65,6 @@ for device in $(sudo kpartx -avs /dev/nbd0 | cut -d' ' -f3); do
partition=$(echo ${device} | cut -d'p' -f2)
[ "${partition}" = "2" ] && sudo mount /dev/mapper/${device} ${mountpoint}
done
-cp -a ${mountpoint}/boot/*-reference.*.aarch64* out/
+cp -a ${mountpoint}/*.linaro.aarch64* out/
sudo qemu-img convert -c -O qcow2 ${image_name}.qcow2 out/${image_name}.qcow2
sudo chown -R buildslave:buildslave out