added copying of md5 sum to src_distribute and a new class pkg_distribute, which...
authorBruno Randolf <br1@subnet.at>
Wed, 1 Dec 2004 19:47:44 +0000 (19:47 +0000)
committerBruno Randolf <br1@subnet.at>
Wed, 1 Dec 2004 19:47:44 +0000 (19:47 +0000)
BKrev: 41ae1fe0PUuurCjEHVYyIJCA3Y7a4Q

classes/pkg_distribute.oeclass [new file with mode: 0644]
classes/src_distribute_local.oeclass

diff --git a/classes/pkg_distribute.oeclass b/classes/pkg_distribute.oeclass
new file mode 100644 (file)
index 0000000..e69de29
index 6470589..5f0cef5 100644 (file)
@@ -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)