summaryrefslogtreecommitdiff
path: root/classes/sourcepkg.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-03-15 16:24:33 +0100
committerKoen Kooi <koen@openembedded.org>2010-03-15 16:26:46 +0100
commit9bcb1b1bb571de4fa3cdfcfa2e3ba667b1ddfd04 (patch)
treee93e79408e1a47a872c220f7df4824c231f73b90 /classes/sourcepkg.bbclass
parent878bf07cfb2c25a1cc87252f9fb7b1d478fe3d17 (diff)
sourcepkg: replace python with shell to avoid problems with packaged-staging
Diffstat (limited to 'classes/sourcepkg.bbclass')
-rw-r--r--classes/sourcepkg.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/sourcepkg.bbclass b/classes/sourcepkg.bbclass
index 65b1de5659..7c202af4c9 100644
--- a/classes/sourcepkg.bbclass
+++ b/classes/sourcepkg.bbclass
@@ -36,7 +36,7 @@ sourcepkg_do_create_orig_tgz(){
echo $i >> temp/exclude-from-file
done
- src_tree=${@get_src_tree(d)}
+ src_tree=$(basename ${S})
echo $src_tree
oenote "Creating .orig.tar.gz in ${DEPLOY_DIR_SRC}/${PN}/${P}.orig.tar.gz"
@@ -46,7 +46,7 @@ sourcepkg_do_create_orig_tgz(){
sourcepkg_do_archive_bb() {
- src_tree=${@get_src_tree(d)}
+ src_tree=$(basename ${S})
dest=${WORKDIR}/$src_tree/${DISTRO}
mkdir -p $dest
@@ -86,7 +86,7 @@ sourcepkg_do_create_diff_gz(){
done
- src_tree=${@get_src_tree(d)}
+ src_tree=$(basename ${S})
for i in `find . -maxdepth 1 -type f`; do
mkdir -p $src_tree/${DISTRO}/files