]> code.ossystems Code Review - openembedded-core.git/commit
package_deb: Handle / in dependency name
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 9 Jan 2018 11:22:54 +0000 (11:22 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Jan 2018 18:11:19 +0000 (18:11 +0000)
commitfc08972688d784f561c8be88d3100d6baaf22070
tree15b6e928805e499bde428e19937447a3ba580494
parentcc1d2b00403be93bbf1f7c5e55f9b8afdd2a73ce
package_deb: Handle / in dependency name

We can end up with / in dependency names from file dependencies but the
deb format doesn't allow this. Filter the names to allow such dependencies
to work. Names have to start with an alphanumeric digit so also handle this.

This allows for future handling of "per file" dependencies similarly to
the rpm backend, bring parity to the functionality of the backends.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_deb.bbclass