summaryrefslogtreecommitdiff
path: root/classes/base.bbclass
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2007-09-06 10:41:59 +0000
committerFlorian Boor <florian.boor@kernelconcepts.de>2007-09-06 10:41:59 +0000
commit8460c2fecbe36ce06135d64b683b0f2c3d924baf (patch)
tree31168741ed50561ea536a335b5bfb6b3007771ef /classes/base.bbclass
parent325f26749da469ef7d90430a1be7b6f1e9d014a8 (diff)
parent56b356eeb9cbb597e7271068f5b0708b4a7844be (diff)
merge of '471f6e7d5fb5bc4d13a2338851dabca9f72b3f0a'
and '89b1d1f0f032b64f7620006be8bcf6271c70f4b8'
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r--classes/base.bbclass15
1 files changed, 3 insertions, 12 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 1a3739f383..d4b327e266 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -374,6 +374,9 @@ oe_machinstall() {
fi
}
+# Remove and re-create ${D} so that is it guaranteed to be empty
+do_install[cleandirs] = "${D}"
+
addtask listtasks
do_listtasks[nostamp] = "1"
python do_listtasks() {
@@ -576,10 +579,6 @@ python base_do_unpack() {
local = bb.data.expand(bb.fetch.localpath(url, localdata), localdata)
except bb.MalformedUrl, e:
raise FuncFailed('Unable to generate local path for malformed uri: %s' % e)
- # dont need any parameters for extraction, strip them off
- # RP: Insane. localpath shouldn't have parameters
- # RP: Scehdule for removal with bitbake 1.8.8
- local = re.sub(';.*$', '', local)
local = os.path.realpath(local)
ret = oe_unpack_file(local, localdata, url)
if not ret:
@@ -871,14 +870,6 @@ python () {
base_after_parse(d)
}
-# Remove me when we switch to bitbake 1.8.8
-def base_get_srcrev(d):
- import bb
-
- if hasattr(bb.fetch, "get_srcrev"):
- return bb.fetch.get_srcrev(d)
- return "NOT IMPLEMENTED"
-
# Patch handling
inherit patch