summaryrefslogtreecommitdiffstats
path: root/wic
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2018-07-03 19:13:51 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2018-09-26 14:55:29 -0300
commitd2bff417fa7953303f3111731638f8c0d2336510 (patch)
tree76b52256133124a302ff9bcb844b7e77b8e209a4 /wic
parent4401cfc422d937b9e50e9197fd42933339d13439 (diff)
downloadmeta-freescale-d2bff417fa7953303f3111731638f8c0d2336510.tar.gz
image_types_fsl.bbclass: Use IMAGE_LINK_NAME for mxs binaries
The binary is generated as part of the image build so it should use the same naming schema to provide consistency. This also fixes the wks templates which use it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'wic')
-rw-r--r--wic/imx-uboot-mxs-bootpart.wks.in2
-rw-r--r--wic/imx-uboot-mxs.wks.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/wic/imx-uboot-mxs-bootpart.wks.in b/wic/imx-uboot-mxs-bootpart.wks.in
index 8b5bdd48..01eb88cc 100644
--- a/wic/imx-uboot-mxs-bootpart.wks.in
+++ b/wic/imx-uboot-mxs-bootpart.wks.in
@@ -12,7 +12,7 @@
12# | | | | 12# | | | |
13# 0 1kiB 4MiB 16MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) 13# 0 1kiB 4MiB 16MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB)
14# 14#
15part u-boot --source rawcopy --sourceparams="file=${IMAGE_NAME}.rootfs.uboot-mxsboot-sdcard" --ondisk mmcblk --align 1024 15part u-boot --source rawcopy --sourceparams="file=${IMAGE_LINK_NAME}.rootfs.uboot-mxsboot-sdcard" --ondisk mmcblk --align 1024
16part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 16 16part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 16
17part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 17part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096
18 18
diff --git a/wic/imx-uboot-mxs.wks.in b/wic/imx-uboot-mxs.wks.in
index 44b6f931..8d82b7b8 100644
--- a/wic/imx-uboot-mxs.wks.in
+++ b/wic/imx-uboot-mxs.wks.in
@@ -12,7 +12,7 @@
12# | | | | 12# | | | |
13# 0 1kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) 13# 0 1kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB)
14# 14#
15part u-boot --source rawcopy --sourceparams="file=${IMAGE_NAME}.rootfs.uboot-mxsboot-sdcard" --ondisk mmcblk --align 1024 15part u-boot --source rawcopy --sourceparams="file=${IMAGE_LINK_NAME}.rootfs.uboot-mxsboot-sdcard" --ondisk mmcblk --align 1024
16part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 16part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096
17 17
18bootloader --ptable msdos 18bootloader --ptable msdos