Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/3] Three fixes regarding SDK and testimage
@ 2018-10-12  2:24 Chen Qi
  2018-10-12  2:24 ` [PATCH 1/3] ksample.py: fix error message Chen Qi
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Chen Qi @ 2018-10-12  2:24 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 793a82c2da639088884c93595e6a3f28e5e3d747:

  oeqa/manual/oe-core: Drop image build during taskexp test (2018-10-11 23:06:35 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib ChenQi/misc-fix
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/misc-fix

Chen Qi (3):
  ksample.py: fix error message
  packagegroup-core-lsb/-full-cmdline: add bzip2
  nativesdk-packagegroup-sdk-host: add nativesdk-flex

 meta/lib/oeqa/runtime/cases/ksample.py                                | 2 +-
 meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb    | 1 +
 meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb | 1 +
 meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb          | 1 +
 4 files changed, 4 insertions(+), 1 deletion(-)

-- 
1.9.1



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/3] ksample.py: fix error message
  2018-10-12  2:24 [PATCH 0/3] Three fixes regarding SDK and testimage Chen Qi
@ 2018-10-12  2:24 ` Chen Qi
  2018-10-12  2:24 ` [PATCH 2/3] packagegroup-core-lsb/-full-cmdline: add bzip2 Chen Qi
  2018-10-12  2:24 ` [PATCH 3/3] nativesdk-packagegroup-sdk-host: add nativesdk-flex Chen Qi
  2 siblings, 0 replies; 5+ messages in thread
From: Chen Qi @ 2018-10-12  2:24 UTC (permalink / raw)
  To: openembedded-core

The current error message is like:

  kobject-example.kodoesn't exist

Add a space so that it looks like:

  kobject-example.ko doesn't exist

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/lib/oeqa/runtime/cases/ksample.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/runtime/cases/ksample.py b/meta/lib/oeqa/runtime/cases/ksample.py
index eb87133..354cc97 100644
--- a/meta/lib/oeqa/runtime/cases/ksample.py
+++ b/meta/lib/oeqa/runtime/cases/ksample.py
@@ -34,7 +34,7 @@ class KSample(OERuntimeTestCase):
         cmd = "ls " + "/lib/modules/" + output + "/kernel/samples/" + path + module_name
         status, output = self.target.run(cmd)
         if status != 0:
-            error_info = module_name + "doesn't exist"
+            error_info = module_name + " doesn't exist"
             self.skipTest(error_info)
 
     def kfifo_func(self, name=''):
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/3] packagegroup-core-lsb/-full-cmdline: add bzip2
  2018-10-12  2:24 [PATCH 0/3] Three fixes regarding SDK and testimage Chen Qi
  2018-10-12  2:24 ` [PATCH 1/3] ksample.py: fix error message Chen Qi
@ 2018-10-12  2:24 ` Chen Qi
  2018-10-12 19:08   ` Andre McCurdy
  2018-10-12  2:24 ` [PATCH 3/3] nativesdk-packagegroup-sdk-host: add nativesdk-flex Chen Qi
  2 siblings, 1 reply; 5+ messages in thread
From: Chen Qi @ 2018-10-12  2:24 UTC (permalink / raw)
  To: openembedded-core

We are having the following error when using 'tar' from tar
recipe to decompress .tar.bz2 files.

  tar (child): bzip2: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  tar: Child returned status 2
  tar: Error is not recoverable: exiting now

The tar package is introduced by these two packagegroups into image.

From the README file from tar's source codes:

  """
  ** gzip and bzip2.

  GNU tar uses the gzip and bzip2 programs to read and write compressed
  archives.  If you don't have these programs already, you need to
  install them.
  """

So we'd better cluster gzip and bzip2 with tar. These two packagegroups
already get 'gzip', so we also add 'bzip2'.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb | 1 +
 meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb          | 1 +
 2 files changed, 2 insertions(+)

diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb b/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb
index e86168802..ffa8388 100644
--- a/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb
+++ b/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb
@@ -125,6 +125,7 @@ RDEPENDS_packagegroup-core-full-cmdline-initscripts = "\
     "
 
 RDEPENDS_packagegroup-core-full-cmdline-multiuser = "\
+    bzip2 \
     cracklib \
     gzip \
     shadow \
diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
index 933864a..6631547 100644
--- a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
+++ b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
@@ -136,6 +136,7 @@ RDEPENDS_packagegroup-core-lsb-core = "\
     bc \
     binutils \
     binutils-symlinks \
+    bzip2 \
     coreutils \
     cpio \
     cronie \
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 3/3] nativesdk-packagegroup-sdk-host: add nativesdk-flex
  2018-10-12  2:24 [PATCH 0/3] Three fixes regarding SDK and testimage Chen Qi
  2018-10-12  2:24 ` [PATCH 1/3] ksample.py: fix error message Chen Qi
  2018-10-12  2:24 ` [PATCH 2/3] packagegroup-core-lsb/-full-cmdline: add bzip2 Chen Qi
@ 2018-10-12  2:24 ` Chen Qi
  2 siblings, 0 replies; 5+ messages in thread
From: Chen Qi @ 2018-10-12  2:24 UTC (permalink / raw)
  To: openembedded-core

nativesdk-flex is needed for kernel development inside traidtional
SDK environment, more particularly, `make scripts' under /usr/src/kernel.
So add it to nativesdk-packagegroup-sdk-host.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
index 3d08945..4bf0ac0 100644
--- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
+++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
@@ -25,6 +25,7 @@ RDEPENDS_${PN} = "\
     ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-wayland', '', d)} \
     nativesdk-sdk-provides-dummy \
     nativesdk-bison \
+    nativesdk-flex \
     "
 
 RDEPENDS_${PN}_darwin = "\
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/3] packagegroup-core-lsb/-full-cmdline: add bzip2
  2018-10-12  2:24 ` [PATCH 2/3] packagegroup-core-lsb/-full-cmdline: add bzip2 Chen Qi
@ 2018-10-12 19:08   ` Andre McCurdy
  0 siblings, 0 replies; 5+ messages in thread
From: Andre McCurdy @ 2018-10-12 19:08 UTC (permalink / raw)
  To: Chen Qi; +Cc: OE Core mailing list

On Thu, Oct 11, 2018 at 7:24 PM, Chen Qi <Qi.Chen@windriver.com> wrote:
> We are having the following error when using 'tar' from tar
> recipe to decompress .tar.bz2 files.
>
>   tar (child): bzip2: Cannot exec: No such file or directory
>   tar (child): Error is not recoverable: exiting now
>   tar: Child returned status 2
>   tar: Error is not recoverable: exiting now
>
> The tar package is introduced by these two packagegroups into image.

Maybe better to enable bzip2 by default in busybox (we already seem to
have bunzip2 enabled).

> From the README file from tar's source codes:>
>   """
>   ** gzip and bzip2.
>
>   GNU tar uses the gzip and bzip2 programs to read and write compressed
>   archives.  If you don't have these programs already, you need to
>   install them.
>   """
>
> So we'd better cluster gzip and bzip2 with tar. These two packagegroups
> already get 'gzip', so we also add 'bzip2'.
>
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
>  meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb | 1 +
>  meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb          | 1 +
>  2 files changed, 2 insertions(+)
>
> diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb b/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb
> index e86168802..ffa8388 100644
> --- a/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb
> +++ b/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb
> @@ -125,6 +125,7 @@ RDEPENDS_packagegroup-core-full-cmdline-initscripts = "\
>      "
>
>  RDEPENDS_packagegroup-core-full-cmdline-multiuser = "\
> +    bzip2 \
>      cracklib \
>      gzip \
>      shadow \
> diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
> index 933864a..6631547 100644
> --- a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
> +++ b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
> @@ -136,6 +136,7 @@ RDEPENDS_packagegroup-core-lsb-core = "\
>      bc \
>      binutils \
>      binutils-symlinks \
> +    bzip2 \
>      coreutils \
>      cpio \
>      cronie \
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-10-12 19:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-12  2:24 [PATCH 0/3] Three fixes regarding SDK and testimage Chen Qi
2018-10-12  2:24 ` [PATCH 1/3] ksample.py: fix error message Chen Qi
2018-10-12  2:24 ` [PATCH 2/3] packagegroup-core-lsb/-full-cmdline: add bzip2 Chen Qi
2018-10-12 19:08   ` Andre McCurdy
2018-10-12  2:24 ` [PATCH 3/3] nativesdk-packagegroup-sdk-host: add nativesdk-flex Chen Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox