Patchwork [for-danny] adt-installer: remove patches and .pc directories from the shipped tarball

login
register
mail settings
Submitter Laurentiu Palcu
Date March 25, 2013, 9:09 a.m.
Message ID <1364202575-6751-1-git-send-email-laurentiu.palcu@intel.com>
Download mbox | patch
Permalink /patch/46821/
State New
Headers show

Comments

Laurentiu Palcu - March 25, 2013, 9:09 a.m.
The patches and .pc directories should not be shipped since the patches
were already applied. So, remove these 2 directories.

[YOCTO #3983]

(From OE-Core rev: c18a4bded48ed1f8fd39e1741beb2a3452ae43e3)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 .../installer/adt-installer_1.0.bb                 |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-devtools/installer/adt-installer_1.0.bb b/meta/recipes-devtools/installer/adt-installer_1.0.bb
index 0cc3b33..88650ae 100644
--- a/meta/recipes-devtools/installer/adt-installer_1.0.bb
+++ b/meta/recipes-devtools/installer/adt-installer_1.0.bb
@@ -63,6 +63,7 @@  fakeroot do_populate_adt () {
 	sed -i -e 's#ADTREPO_URL#${ADTREPO}#' ${ADT_DIR}/opkg/conf/*.conf
 	cp -r trunk ${ADT_DIR}/opkg/build/
 	mv ${ADT_DIR}/opkg/build/trunk ${ADT_DIR}/opkg/build/opkg-svn
+	rm -rf ${ADT_DIR}/opkg/build/opkg-svn/patches ${ADT_DIR}/opkg/build/opkg-svn/.pc
 	cp -r scripts ${ADT_DIR}/
 	cp adt_installer ${ADT_DIR}
 	cp adt_installer.conf ${ADT_DIR}