mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
license.bbclass: Avoid grep error message
Touch a file that is later greped to make sure it exists. (From OE-Core rev: 178f0d6abfb443ed5d4cc5dab51fc2b78ffade2b) 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:
committed by
Richard Purdie
parent
ce30381a71
commit
ba10b7ff18
@@ -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`
|
||||||
|
|||||||
Reference in New Issue
Block a user