]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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>
Thu, 11 Jan 2018 10:26:06 +0000 (10:26 +0000)
commit1117f74385fe60d7eaeaef13ce5927e4798d6992
tree0577769ed1b9358107da18ec23dff2572f7f860c
parent3da70202cc26760cb7846e07faa70f9de36f7eb6
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.

(From OE-Core rev: fc08972688d784f561c8be88d3100d6baaf22070)

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