Skip to contentSkip to conversation

Three fixes regarding SDK and testimage

PATCH In review Chen Qi 2 participants 5 messages Oct 12, 2018

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

cover Three fixes regarding SDK and testimage

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(-)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/3 ksample.py: fix error message

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

---
 meta/lib/oeqa/runtime/cases/ksample.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oeqa/runtime/cases/ksample.py +1 -1
index eb87133..354cc97 100644
@@ -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=''):
Signature · 1 line
1.9.1
author
#4 lore raw

PATCH 3/3 nativesdk-packagegroup-sdk-host: add nativesdk-flex

In reply to Chen Qi

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.

---
 meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +1 -0
index 3d08945..4bf0ac0 100644
@@ -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 = "\
Signature · 1 line
1.9.1
author
#2 lore raw

PATCH 2/3 packagegroup-core-lsb/-full-cmdline: add bzip2

In reply to Chen Qi

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'.

---
 meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb | 1 +
 meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb          | 1 +
 2 files changed, 2 insertions(+)
meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb +1 -0
index e86168802..ffa8388 100644
@@ -125,6 +125,7 @@ RDEPENDS_packagegroup-core-full-cmdline-initscripts = "\
     "
 
 RDEPENDS_packagegroup-core-full-cmdline-multiuser = "\
+    bzip2 \
     cracklib \
     gzip \
     shadow \
meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb +1 -0
index 933864a..6631547 100644
@@ -136,6 +136,7 @@ RDEPENDS_packagegroup-core-lsb-core = "\
     bc \
     binutils \
     binutils-symlinks \
+    bzip2 \
     coreutils \
     cpio \
     cronie \
Signature · 1 line
1.9.1
#3 lore raw

Re: [PATCH 2/3] packagegroup-core-lsb/-full-cmdline: add bzip2

Quoted 9 lines · Chen Qi

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).

Quoted 50 lines

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'.

---
 meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb | 1 +
 meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb          | 1 +
 2 files changed, 2 insertions(+)
meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb +1 -0
index e86168802..ffa8388 100644
@@ -125,6 +125,7 @@ RDEPENDS_packagegroup-core-full-cmdline-initscripts = "\
     "
 
 RDEPENDS_packagegroup-core-full-cmdline-multiuser = "\
+    bzip2 \
     cracklib \
     gzip \
     shadow \
meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb +1 -1
index 933864a..6631547 100644
@@ -136,6 +136,7 @@ RDEPENDS_packagegroup-core-lsb-core = "\
     bc \
     binutils \
     binutils-symlinks \
+    bzip2 \
     coreutils \
     cpio \
     cronie \
--

1.9.1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core