Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 7EF5AE00C2E; Thu, 31 Mar 2016 11:11:15 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.192.66 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-qg0-f66.google.com (mail-qg0-f66.google.com [209.85.192.66]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id DFC0FE0092C for ; Thu, 31 Mar 2016 11:11:11 -0700 (PDT) Received: by mail-qg0-f66.google.com with SMTP id n34so8543194qge.3 for ; Thu, 31 Mar 2016 11:11:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ossystems-com-br.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=6Of0c8SQ7l+bn+Ya/iGsGXMVIlyNXogAxpFkfQUt9T8=; b=tzJJGVzKzXCNhqOg1nb9t90j2D2SjwzZ6uMUH8mhK1mU9s/h1sVYB9RBuTaJp/DSNn KU5hJ0894Hl77vIj4H0WlPtm6X64rtpM4VF+QoBc8Y0vUTZ6Cd4yvMYgu8QOU4sVpQ1t z73sUsmGz96I3VmD7AvUl3bLOGsq6aX58l3N6BEf5h9S873T+cZA3NCXh1/BR0E5fvQp JHiGxUi0Axa0N3droFHkaO4ofuzPIYj88ZEfXztWKO/UNnhNZQ8DpCdA+CCVv6OcFVkC 2G++GGwIkRSS/7+++zYlEJeCA7mXur+TjjKPcrt408CioKQtUDgVLGgUcJnEjITijSvh 4z/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=6Of0c8SQ7l+bn+Ya/iGsGXMVIlyNXogAxpFkfQUt9T8=; b=hLO6W0TY/ZrptL6TV8WknM3Q81NUONz3TcN5fyPuBemAAh/q3tyWwtyvmeD5WD1Nfi lLk92jW4fnHE+/gdZDzNdNAqv+yk5AHFMzHXF7TBawNzbi6b4kP95vY+civUBBhe3anY 8qXGs2QtYB4jEos4yOJ+ycrseuJHI6qGjPY2mCsSBP9gH3dsW7WJFCjTVNpxOeHPotnV CzTmN+WN36tvopdxQR7r2efZ1r8qII6Wfmu+lIjnHTzgLgWIUi1ep3Un+FhUgSRDEiJ2 zpelq/Vp/+KvvBpW5EDZNieFPqFlrw4WcD160AXdk2zEGAzxzK4OzYwCOjOAXhbYioF9 TK4Q== X-Gm-Message-State: AD7BkJKeu3ZpBQ3XRLfxiYht86pulC6XVhjyTRbz4pex70JQZe1JBAQdCMXjDGqQIRG8Nw== X-Received: by 10.140.84.234 with SMTP id l97mr59006qgd.57.1459447870811; Thu, 31 Mar 2016 11:11:10 -0700 (PDT) Received: from monster.lab.ossystems.com.br ([187.23.154.250]) by smtp.gmail.com with ESMTPSA id v70sm4412507qge.25.2016.03.31.11.11.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 31 Mar 2016 11:11:09 -0700 (PDT) From: Fabio Berton To: meta-freescale@yoctoproject.org Date: Thu, 31 Mar 2016 15:10:56 -0300 Message-Id: <1459447856-4547-1-git-send-email-fabio.berton@ossystems.com.br> X-Mailer: git-send-email 2.1.4 Subject: [meta-fsl-arm][PATCH] imx-uuc: Stop create fat partition on DESTDIR X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2016 18:11:15 -0000 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 --- .../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 +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 +--- + 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