From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx1.pokylinux.org (Postfix) with ESMTP id DFC3C4C80BCF for ; Tue, 14 Dec 2010 14:52:48 -0600 (CST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 14 Dec 2010 12:52:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.59,344,1288594800"; d="scan'208";a="687123994" Received: from doubt.jf.intel.com (HELO [10.7.199.80]) ([10.7.199.80]) by orsmga001.jf.intel.com with ESMTP; 14 Dec 2010 12:52:48 -0800 Message-ID: <4D07D920.9090205@linux.intel.com> Date: Tue, 14 Dec 2010 12:52:48 -0800 From: Darren Hart User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: "poky@yoctoproject.org" Subject: kernel type naming and package version conflicts X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2010 20:52:49 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I believe I've identified why my preempt_rt kernel recipes are failing to build. The do_package_write_ipk is complaining about invalid characters in the file name - specifically: kernel-2.6.34.7-rt-yocto-preempt_rt *** Error: Package name contains illegal characters, (other than [a-z0-9.+-]) Note the "_" in preempt_rt. This name appears to be generated in part from the following assignment: LINUX_KERNEL_TYPE = "preempt_rt" LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}" Changing this to the following allows the build to succeed without error (replacing _ with -). LINUX_VERSION_EXTENSION ?= "-yocto-preempt-rt" As I see it we have two options, we can rewrite linux-yocto kernel branches for use in bitbake package names (replacing _ with -), or we can forbid the use of _ in the linux-yocto git branches. Rather than clutter up the recipes with string manipulators, I would prefer the latter option. Bruce, Tom, do you have an opinion? -- Darren Hart Yocto Linux Kernel