| Summary: |
Would like to be able to share a single Kickstart partition layout definition (.wks) between several images |
| Product: |
[Build System, Metadata & Runtime] OE-Core
|
Reporter: |
Joshua Lock <joshuagloe> |
| Component: |
Scripts and Tools | Assignee: |
Ed Bartosh <eduard.bartosh> |
| Status: |
VERIFIED
FIXED
|
QA Contact: |
Daniel Istrate <daniel.alexandrux.istrate> |
| Severity: |
enhancement
|
|
|
| Priority: |
Medium+
|
CC: |
alexandru.c.georgescu, ross.burton
|
| Version: |
2.0 | |
|
| Target Milestone: |
2.1 M3 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
Yes (doc changes required)
|
We're building several images which share a standard parition layout defined in a .wks file and built through the IMAGE_CMD_wic function defined in image_types.bbclass. Because that function looks for ${IMAGE_BASENAME}.${MACHINE}.wks and ${IMAGE_BASENAME}.wks we have to symlink our base .wks to the appropriate IMAGE_BASENAME's for the other images. This is even messier for multiple layers that build on a shared base layer and each define images. It would be really nice if we could define a variable, i.e. in our shared image class, that tells the image generation code where to load a shared .wks file from.