Skip to contentSkip to conversation

Remove manifest creation bashism.

PATCH Applied Beth Flanagan 2 participants 3 messages Dec 16, 2011

lore
Share & tools
lore
#0 lore raw

cover Remove manifest creation bashism.

Quick fix to a bashism that dumps cruft into rootfs log.

The following changes since commit cdba3979b9c59a653f9c0e6e779d11c5ff58bb17:

readline: drop empty dir to shut up QA warning (2011-12-16 16:19:28 +0000)

are available in the git repository at:
git://git.yoctoproject.org/poky-contrib eflanagan/license_dash
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=eflanagan/license_dash

Elizabeth Flanagan (1):
license.bbclass: remove bashism

 meta/classes/license.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
#1 lore raw

PATCH 1/1 license.bbclass: remove bashism

From: Elizabeth Flanagan <[email protected]>

Removing a bashism that was dumping errors into rootfs log.

---
 meta/classes/license.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/license.bbclass +1 -1
index dd5d1bc..6e82bd9 100644
@@ -120,7 +120,7 @@ license_create_manifest() {
                     # Really don't need to copy the generics as they're 
                     # represented in the manifest and in the actual pkg licenses
                     # Doing so would make your image quite a bit larger
-                    if [ ! ${lic} == "generic_*" ]; then
+                    if [ ! ${lic} = "generic_*" ]; then
                         cp ${LICENSE_DIRECTORY}/${pkged_pn}/${lic} ${IMAGE_ROOTFS}/usr/share/common-licenses/${pkg}/${lic}
                     fi
                 done
Signature · 1 line
1.7.1
#2 lore raw

Re: [PATCH 1/1] license.bbclass: remove bashism

Quoted 8 lines · Beth Flanagan

From: Elizabeth Flanagan <[email protected]>

Removing a bashism that was dumping errors into rootfs log.

---
 meta/classes/license.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Merged to master, thanks.

Richard