| Summary: | dracut_git.bb does not pull in all dependencies | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Other YP Layers | Reporter: | Gatis Paeglis <gatis.paeglis> |
| Component: | layers | Assignee: | Joe Slater <joe.slater> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Undecided | CC: | meta.mr.watcher, meta.watcher, poky.bs.watcher, poky.watcher, ross.burton |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Gatis Paeglis
2015-10-15 13:28:50 UTC
Of course pulling in the whole util-linux also does not seem optimal. Only I am unsure how to determine which binaries exactly are required by dracut. Both setsid and findmnt are in the util-linux package, so that's exactly the right thing to do. However, dracut isn't part of oe-core so it shouldn't be tracked here. As you have a patch now, can you send it to the openembedded-devel mailing list? (in our bug triage Randy expressed interest in this, so I'm moving it back to Layers and assigning to him) If Randy wants wants to take care of this issue, he can go ahead. Just a note:
I see that in earlier versions of dracut recipe it contained "util-linux" as a dependency:
# 'getopt' is in the util-linux main package
RDEPENDS_${PN} = "systemd findutils cpio util-linux-blkid util-linux bash ldd"
And then they tried to optimize things by including only some sub-set of util-linux-* and that is why findmnt and setsid suddenly disappeared in later builds.
Patch is in meta-initramfs on master-next. Commit b5ecfed. Bugs for meta-initramfs go to openembedded-devel. |