From 6c520870df5bb6fc065acc89c6ffc23a36aad668 Mon Sep 17 00:00:00 2001 From: "nslu2-linux.adm@bkbits.net" Date: Wed, 30 Mar 2005 20:41:29 +0000 Subject: 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- 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 --- classes/base.bbclass | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'classes/base.bbclass') 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) -- cgit v1.2.3