]> code.ossystems Code Review - openembedded-core.git/commit
package_ipk: Clean up Source entry in ipk packages
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Jun 2017 08:42:30 +0000 (09:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Jun 2017 09:20:33 +0000 (10:20 +0100)
commit4c353eeff45f91533f22392f129bc5a477ee5207
tree812b7fd7ccc753edb0a2e150fa70fb23f5d42b88
parent112ae104287ad4078a9fa90fb2a42f4c814ef824
package_ipk: Clean up Source entry in ipk packages

There is the potential for sensitive information to leak through the urls
there and removing it brings this into the behavior of the other package
backends since filtering it is likely error prone.

Since ipks don't appear to be generated at all if we don't set this, set
the field to the recipe name used (basename only, no paths). This avoids
information leaking. We may want to drop the field if opkg can allow that
at a future point but the recipe name is a suitable identifier for now.

Reported-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_ipk.bbclass