diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2022-06-07 22:52:41 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-18 16:34:41 +0100 |
| commit | 70fabbb2d05c8e66b0055679086dd2a7aa2dcff9 (patch) | |
| tree | d01025cc582b00d504fbe9f6b5bfa1bd847c713f /meta/classes | |
| parent | ccd816b8654fea5c939c87bdd53026716723218d (diff) | |
| download | poky-70fabbb2d05c8e66b0055679086dd2a7aa2dcff9.tar.gz | |
buildhistory.bbclass: fix shell syntax when using dash
* fix:
run.buildhistory_get_image_installed.791888: 198: [: unexpected operator
introduced in:
commit 82e6172c1df378dff4e503aa878501c08937b5bb
Author: Andres Beltran <abeltran@linux.microsoft.com>
Date: Tue Oct 5 00:34:15 2021 +0000
buildhistory: Fix package output files for SDKs
(From OE-Core rev: 9478e53995cbb25744b5ffd45e38f0abd53adba0)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9852bedcb9eb8306a3f82f805ec4f76abbbbdd0f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
| -rw-r--r-- | meta/classes/buildhistory.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index 8db79a4829..4345ffc693 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass | |||
| @@ -508,7 +508,7 @@ buildhistory_get_installed() { | |||
| 508 | 508 | ||
| 509 | # Set correct pkgdatadir | 509 | # Set correct pkgdatadir |
| 510 | pkgdatadir=${PKGDATA_DIR} | 510 | pkgdatadir=${PKGDATA_DIR} |
| 511 | if [ "$2" == "sdk" ] && [ "$3" == "host" ]; then | 511 | if [ "$2" = "sdk" ] && [ "$3" = "host" ] ; then |
| 512 | pkgdatadir="${PKGDATA_DIR_SDK}" | 512 | pkgdatadir="${PKGDATA_DIR_SDK}" |
| 513 | fi | 513 | fi |
| 514 | 514 | ||
