[OE-core] [PATCH] dpkg-deb: strip virtual/ package prefix in control files

Richard Purdie richard.purdie at linuxfoundation.org
Wed Jul 6 16:48:05 UTC 2016


On Wed, 2016-07-06 at 09:45 -0400, Joe MacDonald wrote:
> If a recipe provides a 'virtual/foo', dpkg-deb will fail as '/'
> characters
> are not allowed in any of the Depends, Recommends, Suggests, etc.
> fields.
> The intent of these in the Debian package system and the few cases
> where
> they are used in Yocto layers seems like throwing away the 'virtual/'
> prefix preserves the intent, while not requiring it to be removed for
> package systems that allow it (eg. opkg and rpm).
> 
> Signed-off-by: Joe MacDonald <joe_macdonald at mentor.com>
> ---
>  meta/classes/package_deb.bbclass | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)

Our virtual/ namespace is only used in DEPENDS, not in the runtime
package namespaces (RDEPENDS, RRECOMMENDS and friends). We therefore
shouldn't need this patch...

Cheers,

Richard







More information about the Openembedded-core mailing list