Wind River Support Network

HomeDefectsLIN5-5420
Fixed

LIN5-5420 : QEmu dependencies on xfsprogs

Created: Nov 5, 2013    Updated: Dec 19, 2017
Resolved Date: Dec 17, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.11
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Build & Config
Host OS: Linux Ubuntu

Description

Qemu's configure step looks for xfs.h header file and depending on finding it or not enables features in the configuration of qemu.
xfs.h is available if xfsprogs package have been built, but as there is no dependency in the recipe it can be that xfs.h is present or not depending on "randomness" in bitbake buildorder.
I.e one build might have xfs enabled in qemu, another not... not good.

I have no input to if xfs in qemu really should be enabled or not, just that it should not be random :)

Workaround

Two alternatives for fixing this.

1. Add DEPENDS on xfsprogs. This will add an explicit dependency.

2. Add: PACKAGECONFIG[xfs] = "--enable-xfsctl, --disable-xfsctl, xfsprogs" (or similar)
This will let the user decide if it wants it or not.

I have no input to weather xfsprogs should be enabled always, or optional, so I don't have any preference to which way to solve it.

Steps to Reproduce

for any image with qemu and xfsprogs (e.g. ovp-kvm):

1. make fs + make bbs + bitbake -c cleanall qemu xfsprogs + bitbake qemu

This will make a qemu package without xfs.

2. make fs + make bbs + bitbake -c cleanall qemu xfsprogs + bitbake xfsprogs + bitbake qemu

This will make a qemu package with xfs.

Other Downloads


Live chat
Online