| Summary: | recipetool: generate install function for debian packages | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Stephano Cetola <stephano> |
| Component: | Scripts and Tools | Assignee: | Unassigned <unassigned> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Low | CC: | bluelightning, randy.macleod, ross.burton |
| Version: | 2.2 | ||
| Target Milestone: | Future | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Stephano Cetola
2016-10-31 17:39:14 UTC
My mistake: script_utils.fetch_uri already extracts the source. Also, the $S variable is already pointing to this "binary source" directory. Perhaps the simplest thing to do is edit the do_install to install %S/* to $D/*? The bin_package class is what is needed here. If SRC_URI is set correctly and bin_package is inherited, the deb is unpacked and installed. However, I don't think that this behaviour should be encouraged. Repackaging binary packages should be a last resort and not something we make very easy. |