]> code.ossystems Code Review - openembedded-core.git/commitdiff
packagegroup-core-lsb/-full-cmdline: add bzip2
authorChen Qi <Qi.Chen@windriver.com>
Fri, 12 Oct 2018 02:24:51 +0000 (10:24 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 12 Oct 2018 07:44:09 +0000 (08:44 +0100)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb
meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb

index e86168802480482e3baff89277be8ef669c96df5..ffa8388777912a56682becec5127d4858d314797 100644 (file)
@@ -125,6 +125,7 @@ RDEPENDS_packagegroup-core-full-cmdline-initscripts = "\
     "
 
 RDEPENDS_packagegroup-core-full-cmdline-multiuser = "\
+    bzip2 \
     cracklib \
     gzip \
     shadow \
index 933864aee8fdea553a7c26dc3ba6dbd7f05c7b60..6631547b37f52cf9e9d66ce1d5f57a3e4a10d127 100644 (file)
@@ -136,6 +136,7 @@ RDEPENDS_packagegroup-core-lsb-core = "\
     bc \
     binutils \
     binutils-symlinks \
+    bzip2 \
     coreutils \
     cpio \
     cronie \