summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorBruno Randolf <br1@subnet.at>2004-12-01 19:47:44 +0000
committerBruno Randolf <br1@subnet.at>2004-12-01 19:47:44 +0000
commit823f03b1e845451c54fcf942a6f54b73cfb23d75 (patch)
tree020cca54ce2355c91627bc6e7f3eb0d62f761013 /classes
parent4f7d2b1b63d166e5de146d71e5c942419424446e (diff)
added copying of md5 sum to src_distribute and a new class pkg_distribute, which copies the packages/${PN} directory
BKrev: 41ae1fe0PUuurCjEHVYyIJCA3Y7a4Q
Diffstat (limited to 'classes')
-rw-r--r--classes/pkg_distribute.oeclass0
-rw-r--r--classes/src_distribute_local.oeclass2
2 files changed, 2 insertions, 0 deletions
diff --git a/classes/pkg_distribute.oeclass b/classes/pkg_distribute.oeclass
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/classes/pkg_distribute.oeclass
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)