From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1.windriver.com ([147.11.146.13]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SCMCG-0003E7-7D for openembedded-core@lists.openembedded.org; Tue, 27 Mar 2012 04:31:44 +0200 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail1.windriver.com (8.14.3/8.14.3) with ESMTP id q2R2MhpV020956 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 26 Mar 2012 19:22:43 -0700 (PDT) Received: from localhost (128.224.162.28) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.1.255.0; Mon, 26 Mar 2012 19:22:43 -0700 Message-ID: Old-Date: Tue, 27 Mar 2012 10:12:05 +0800 Date: Tue, 27 Mar 2012 10:24:01 +0800 To: From: Xiaofeng Yan MIME-Version: 1.0 Subject: [PATCH 0/9] Realize archiving functions X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2012 02:31:44 -0000 Content-Type: text/plain From: Xiaofeng Yan Hi Saul, I have modified archiver.bbclass according to your suggestion. - If the original source is tarball, then copy this package to ${DEPLOY_DIR}/sources - If the original source comes from git, then archive this directory unpacked to tarball If you have any suggestion, I will modify this bbclass. Pull URL: git://git.pokylinux.org/poky-contrib.git Branch: xiaofeng/distro Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/distro Thanks, Xiaofeng Yan --- Xiaofeng Yan (9): sourcepkg.bbclass: Remove sourcepkg.bbclass src_distribute.bbclass: Remove src__distribute.bbclass src_distributelocal.bbclass: Remove src_distribute_local.bbclass package_rpm: Add srpm function to this bbclass archiver.bbclass: New bbclass for archiving sources, patches, logs and scripts archive-original-source.bbclass: Archive original source archive-configured-source.bbclass: Archive configured source archive-patched-source.bbclass: Archive patched source local.conf.sample.extended: The set for archiving packages meta-yocto/conf/local.conf.sample.extended | 32 ++ meta/classes/archive-configured-source.bbclass | 14 + meta/classes/archive-original-source.bbclass | 14 + meta/classes/archive-patched-source.bbclass | 14 + meta/classes/archiver.bbclass | 460 ++++++++++++++++++++++++ meta/classes/package_rpm.bbclass | 53 +++- meta/classes/sourcepkg.bbclass | 107 ------ meta/classes/src_distribute.bbclass | 49 --- meta/classes/src_distribute_local.bbclass | 33 -- 9 files changed, 584 insertions(+), 192 deletions(-) create mode 100644 meta/classes/archive-configured-source.bbclass create mode 100644 meta/classes/archive-original-source.bbclass create mode 100644 meta/classes/archive-patched-source.bbclass create mode 100644 meta/classes/archiver.bbclass delete mode 100644 meta/classes/sourcepkg.bbclass delete mode 100644 meta/classes/src_distribute.bbclass delete mode 100644 meta/classes/src_distribute_local.bbclass