Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

obmc-ubi-fs feature does not include ubi utils #3177

Closed
mine260309 opened this issue May 11, 2018 · 2 comments
Closed

obmc-ubi-fs feature does not include ubi utils #3177

mine260309 opened this issue May 11, 2018 · 2 comments
Assignees

Comments

@mine260309
Copy link
Contributor

OpenBMC has ubi related features, one is obmc-ubi-fs for OpenBMC's UBI FS, the other is openpower-ubi-fs for PNOR's UBI FS.

If a build only enables obmc-ubi-fs feature, the built image does not include ubi utils, e.g. ubimkvol, ubinfo, etc.
This results in failure to do code update based on UBI-FS way.

@mine260309
Copy link
Contributor Author

The root cause is that there is no RDEPENDS to mtd-utils-ubifs for obmc-ubi-fs.
And it can be fixed by adding this in phosphor-software-manager.bb

mine260309 added a commit to mine260309/openbmc that referenced this issue May 11, 2018
phosphor-software-manager is the recipe to manage software updates with
obmc-ubi-fs feature.

Missing the RDEPENDS will cause the built image to miss the ubi utils,
and code update will fail.

Resolves openbmc#3177.

Tested: Verify the built image contains ubi utils.

Change-Id: Ib6de3ecee4d1b914e4dbc4df3c9c9e4baa1bb0be
Signed-off-by: Lei YU <mine260309@gmail.com>
@rfrandse
Copy link

https://gerrit.openbmc-project.xyz/10577 Add RDEPENDS to mtd-utils-ubifs in phosphor-software-manager
Resolves #3177 obmc-ubi-fs feature does not include ubi utils

bradbishop pushed a commit to openbmc/meta-phosphor that referenced this issue Aug 6, 2018
phosphor-software-manager is the recipe to manage software updates with
obmc-ubi-fs feature.

Missing the RDEPENDS will cause the built image to miss the ubi utils,
and code update will fail.

Resolves openbmc/openbmc#3177.

Tested: On a romulus build, verify there are no ubi utils without ubifs
        feature;
        verify there are ubi utils with ubifs feature.

Change-Id: Ib6de3ecee4d1b914e4dbc4df3c9c9e4baa1bb0be
Signed-off-by: Lei YU <mine260309@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants