summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Remmet <j.remmet@phytec.de>2017-11-14 10:38:11 +0100
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2017-11-14 12:03:41 +0100
commitcba37a5def4d99c49c311c21f49d7a14cddef0d9 (patch)
treeae6eb770f3b2727ff03932e27c22a8ad630a463a
parent405c028933a39f53574e58921734fdbfa4f15a36 (diff)
downloadmeta-phytec-cba37a5def4d99c49c311c21f49d7a14cddef0d9.tar.bz2
meta-phytec-cba37a5def4d99c49c311c21f49d7a14cddef0d9.zip
machine: phyam335x: copy ubifs image to sd card.
IMAGE_TYPEDEP = "ubifs" doesn't force creation of IMAGE_LINK_NAME.ubifs so rename it while copying. Signed-off-by: Jan Remmet <j.remmet@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--conf/machine/include/phyam335x.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/machine/include/phyam335x.inc b/conf/machine/include/phyam335x.inc
index 5a611f8..b7d4ab0 100644
--- a/conf/machine/include/phyam335x.inc
+++ b/conf/machine/include/phyam335x.inc
@@ -60,6 +60,9 @@ QT_QPA_DEFAULT_PLATFORM ?= "${@bb.utils.contains('MACHINE_FEATURES', 'sgx', 'egl
IMAGE_CLASSES += "wic-helper"
IMAGE_CLASSES += "wic-am335x-helper"
IMAGE_BOOT_FILES = "barebox.bin MLO zImage;linuximage ${@parse_dtbs(d)}"
+#copy ubifs image to sdcard
+IMAGE_BOOT_FILES += "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.ubifs;${IMAGE_LINK_NAME}.ubifs"
+IMAGE_TYPEDEP_wic = "ubifs"
IMAGE_DEPENDS_wic_append = " \
virtual/prebootloader:do_deploy \
"