summaryrefslogtreecommitdiff
path: root/classes/base.bbclass
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-03-30 20:41:29 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-03-30 20:41:29 +0000
commit6c520870df5bb6fc065acc89c6ffc23a36aad668 (patch)
treed9e7ce9b4031af0bfe0c6f623fa02533218268ea /classes/base.bbclass
parent4432fea81041e5ae18979d57cbbdba9dce680693 (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/30 21:54:30+02:00 uni-frankfurt.de!mickeyl Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into gandalf.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2005/03/30 21:54:07+02:00 uni-frankfurt.de!mickeyl fix missing dependency to kernel-image-<ver> by ALLOW_EMPTY=1 for Zaurus kernels 2005/03/30 20:52:02+01:00 (none)!cwiiis Merge bk://oe-devel@oe-devel.bkbits.net/openembedded/ into cwiiisdesktop.(none):/home/cwiiis/Dev/oe/openembedded 2005/03/30 20:47:32+01:00 rpsys.net!RP base.bbclass: spliting on the last "." breaks for patch series' with similar filesnames (eg: 2.6.12-patch1, 2.6.12-patch2) 2005/03/30 20:21:34+01:00 (none)!cwiiis Merge bk://oe-devel@oe-devel.bkbits.net/openembedded/ into cwiiisdesktop.(none):/home/cwiiis/Dev/oe/openembedded 2005/03/30 20:20:49+01:00 (none)!cwiiis Correct SRC_URI for matchbox-panel-manager BKrev: 424b0ef9_dORxDSjGZ1WQExBCPmvmQ
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r--classes/base.bbclass6
1 files changed, 1 insertions, 5 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index f6dcba2b96..52a4dd37e2 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -458,11 +458,7 @@ python base_do_patch() {
if "pname" in parm:
pname = parm["pname"]
else:
- dots = os.path.basename(unpacked).split(".")
- if len(dots) > 1:
- pname = ".".join(dots[:-1])
- else:
- pname = os.path.basename(unpacked)
+ pname = os.path.basename(unpacked)
bb.note("Applying patch '%s'" % pname)
bb.data.setVar("do_patchcmd", bb.data.getVar("PATCHCMD", d, 1) % (pnum, pname, unpacked), d)