From: Bruno Randolf Date: Wed, 1 Dec 2004 19:47:44 +0000 (+0000) Subject: added copying of md5 sum to src_distribute and a new class pkg_distribute, which... X-Git-Tag: Release-2010-05/1~15835 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=823f03b1e845451c54fcf942a6f54b73cfb23d75;p=openembedded.git added copying of md5 sum to src_distribute and a new class pkg_distribute, which copies the packages/${PN} directory BKrev: 41ae1fe0PUuurCjEHVYyIJCA3Y7a4Q --- diff --git a/classes/pkg_distribute.oeclass b/classes/pkg_distribute.oeclass new file mode 100644 index 0000000000..e69de29bb2 diff --git a/classes/src_distribute_local.oeclass b/classes/src_distribute_local.oeclass index 64705895f4..5f0cef5bec 100644 --- a/classes/src_distribute_local.oeclass +++ b/classes/src_distribute_local.oeclass @@ -16,9 +16,11 @@ SRC_DISTRIBUTECOMMAND () { mkdir -p ${SRC_DISTRIBUTEDIR} case "${SRC_DIST_LOCAL}" in copy) + test -e $s.md5 && cp -f $s.md5 ${SRC_DISTRIBUTEDIR}/ cp -f $s ${SRC_DISTRIBUTEDIR}/ ;; symlink) + test -e $s.md5 && ln -sf $s.md5 ${SRC_DISTRIBUTEDIR}/ ln -sf $s ${SRC_DISTRIBUTEDIR}/ ;; move+symlink)