Makefile creates a fat partition in $(DESTDIR)/fat but it's not used. Fat creation was added on commit 24be3bf0808503b4a590d96600407bdd92b36da6, but commit log doesn't explain how this partition is used. So, removed fat disk creation from Makefile and /fat from FILES_${PN}.
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br> --- .../0001-Stop-create-fat-partition-disk.patch | 31 ++++++++++++++++++++++ recipes-bsp/imx-uuc/imx-uuc_0.5.1.bb | 6 +++-- 2 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 recipes-bsp/imx-uuc/files/0001-Stop-create-fat-partition-disk.patch diff --git a/recipes-bsp/imx-uuc/files/0001-Stop-create-fat-partition-disk.patch b/recipes-bsp/imx-uuc/files/0001-Stop-create-fat-partition-disk.patch new file mode 100644 index 0000000..d9a0937 --- /dev/null +++ b/recipes-bsp/imx-uuc/files/0001-Stop-create-fat-partition-disk.patch @@ -0,0 +1,31 @@ +From 05f54c1a1482ea87d6301362b4c996620cc46af8 Mon Sep 17 00:00:00 2001 +From: Fabio Berton <fabio.ber...@ossystems.com.br> +Date: Thu, 31 Mar 2016 13:37:48 -0300 +Subject: [PATCH] Stop create fat partition disk + +It's not necessary to create a disk on $(DESTDIR)/fat, this disk is not +used. + +Upstream-Status: Pending + +Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br> +--- + Makefile | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/Makefile b/Makefile +index df19c9f..77f594e 100644 +--- a/Makefile ++++ b/Makefile +@@ -15,8 +15,6 @@ install: + install -m 755 linuxrc $(DESTDIR) + install -m 755 uuc $(DESTDIR)$(BINDIR) + install -m 755 sdimage $(DESTDIR)$(BINDIR) +- dd if=/dev/zero of=$(DESTDIR)/fat bs=1M count=1 +- mkfs.vfat $(DESTDIR)/fat + + clean: + rm -f uuc +-- +2.1.4 + diff --git a/recipes-bsp/imx-uuc/imx-uuc_0.5.1.bb b/recipes-bsp/imx-uuc/imx-uuc_0.5.1.bb index 7b4e585..c200539 100644 --- a/recipes-bsp/imx-uuc/imx-uuc_0.5.1.bb +++ b/recipes-bsp/imx-uuc/imx-uuc_0.5.1.bb @@ -7,10 +7,12 @@ DEPENDS = "virtual/kernel" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.tar.gz" +SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.tar.gz \ + file://0001-Stop-create-fat-partition-disk.patch \ +" SRC_URI[md5sum] = "f2edde0da371f89c7471884eb1e5143a" SRC_URI[sha256sum] = "95d7f7b075f58fedc07602fbc0e5bf5212d28deea3d09cdbcbd80992dcd18482" inherit autotools-brokensep -FILES_${PN} += "/linuxrc /fat" +FILES_${PN} += "/linuxrc" -- 2.1.4 -- _______________________________________________ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale