license.bbclass: Avoid grep error message
Touch a file that is later greped to make sure it exists. (From OE-Core rev: a17bf5d840b5777918f324d26e085498dec86b76) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
4d4915a383
commit
dde5e6402a
|
@ -21,6 +21,7 @@ license_create_manifest() {
|
||||||
rm ${LICENSE_MANIFEST}
|
rm ${LICENSE_MANIFEST}
|
||||||
fi
|
fi
|
||||||
# list of installed packages is broken for deb
|
# list of installed packages is broken for deb
|
||||||
|
touch ${LICENSE_MANIFEST}
|
||||||
for pkg in ${INSTALLED_PKGS}; do
|
for pkg in ${INSTALLED_PKGS}; do
|
||||||
# not the best way to do this but licenses are not arch dependant iirc
|
# not the best way to do this but licenses are not arch dependant iirc
|
||||||
filename=`ls ${TMPDIR}/pkgdata/*/runtime-reverse/${pkg}| head -1`
|
filename=`ls ${TMPDIR}/pkgdata/*/runtime-reverse/${pkg}| head -1`
|
||||||
|
|
Loading…
Reference in New Issue