adt-installer: remove patches and .pc directories from the shipped tarball
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Fri, 8 Mar 2013 15:23:44 +0000 (17:23 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 10 Mar 2013 04:36:51 +0000 (04:36 +0000)
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>
meta/recipes-devtools/installer/adt-installer_1.0.bb

index 0cc3b33..88650ae 100644 (file)
@@ -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}