Patchwork [0/1] V2: Fix rpm2cpio segment fault

login
register
mail settings
Submitter Kang Kai
Date April 15, 2013, 3:17 a.m.
Message ID <cover.1365995348.git.kai.kang@windriver.com>
Download mbox
Permalink /patch/48157/
State New
Headers show

Pull-request

git://git.pokylinux.org/poky-contrib kangkai/rpm2cpio-segfault

Comments

Kang Kai - April 15, 2013, 3:17 a.m.
Hi Mark,

As my last mail on Apr 12 mentioned, not only macro "_dbpath" need to be defined. Macros "_dbi_config*" are needed too, and they can't be simply assigned some value.

I think parse config files first could be a workaround to fix rpm2cpio segment fault error for now.

Thanks,
Kai


The following changes since commit 4c02dd5f6432c6e683a57d47b610f56433e9ca0d:

  kern-tools: fix conditional configuration items (2013-04-11 08:27:41 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib kangkai/rpm2cpio-segfault
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/rpm2cpio-segfault

Kang Kai (1):
  rpm: fix rpm2cpio segmentation fault

 .../rpm/rpm/rpm2cpio-fix-segmentation-fault.patch  |   28 ++++++++++++++++++++
 meta/recipes-devtools/rpm/rpm_5.4.9.bb             |    1 +
 2 files changed, 29 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-devtools/rpm/rpm/rpm2cpio-fix-segmentation-fault.patch
Kang Kai - April 15, 2013, 3:21 a.m.
On 2013?04?15? 11:17, Kang Kai wrote:
> Hi Mark,
>
> As my last mail on Apr 12 mentioned, not only macro "_dbpath" need to be defined. Macros "_dbi_config*" are needed too, and they can't be simply assigned some value.
>
> I think parse config files first could be a workaround to fix rpm2cpio segment fault error for now.

Update:
If parse config files fails, just give warning.

>
> Thanks,
> Kai
>
>
> The following changes since commit 4c02dd5f6432c6e683a57d47b610f56433e9ca0d:
>
>    kern-tools: fix conditional configuration items (2013-04-11 08:27:41 +0100)
>
> are available in the git repository at:
>    git://git.pokylinux.org/poky-contrib kangkai/rpm2cpio-segfault
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/rpm2cpio-segfault
>
> Kang Kai (1):
>    rpm: fix rpm2cpio segmentation fault
>
>   .../rpm/rpm/rpm2cpio-fix-segmentation-fault.patch  |   28 ++++++++++++++++++++
>   meta/recipes-devtools/rpm/rpm_5.4.9.bb             |    1 +
>   2 files changed, 29 insertions(+), 0 deletions(-)
>   create mode 100644 meta/recipes-devtools/rpm/rpm/rpm2cpio-fix-segmentation-fault.patch
>