imx-uuc: Stop create fat partition on DESTDIR
PATCH 1/1 imx-uuc: Stop create fat partition on DESTDIR
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}.
--- .../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
recipes-bsp/imx-uuc/files/0001-Stop-create-fat-partition-disk.patch new file +31 -0
@@ -0,0 +1,31 @@ +From 05f54c1a1482ea87d6301362b4c996620cc46af8 Mon Sep 17 00:00:00 2001 +From: Fabio Berton <[email protected]> +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 <[email protected]> +--- + 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 +
recipes-bsp/imx-uuc/imx-uuc_0.5.1.bb +4 -2
@@ -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"
Signature · 1 line
2.1.4
Hello Lauren,
Quoted 6 lines · Fabio Berton
Makefilecreates a fat partition in $(DESTDIR)/fat but it's not used. Fat creation was added on commit24be3bf0808503b4a590d96600407bdd92b36da6, but commit log doesn't explain how this partition is used. So, removed fat disk creation fromMakefileand /fat from FILES_${PN}.Signed-off-by Fabio Berton <[email protected]>
Please take a look on this patch, as well in the referred one in the commit log. The fat partition has been included in last update but the commit log does not give enough information about how it is used and thus we need more information about it.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750