| Summary: | Would like to be able to specify partitions be created but not mounted in a wks | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Joshua Lock <joshuagloe> |
| Component: | Scripts and Tools | Assignee: | Joshua Lock <joshuagloe> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium | CC: | ross.burton |
| Version: | 2.0 | ||
| Target Milestone: | 2.1 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Joshua Lock
2015-12-16 15:43:41 UTC
If you don't want your partition to be mounted you shouldn't specify mountpoint in your .wks file. Please check if it works for you. Hi Ed, I was planning to update this report to that effect. That is I tried specifying a partition without a mountpoint and it seems to work.
I think we can update the documentation to make this possibility clearer, i.e the dev manual states
" The mntpoint is where the partition will be mounted and must be of one of the following forms:
/path: For example, /, /usr, and /home
swap: The partition will be used as swap space."
https://www.yoctoproject.org/docs/2.0/dev-manual/dev-manual.html#command-part-or-partition
That section doesn't make it clear at all that the mntpoint is optional.
I realise, rereading it this morning, that the built in help (wic help kickstart) *does* indicate that the partition is optional by surrounding that argument with <> — "part <mountpoint>" — but feel it would be useful to emphasise this in the prose too.
Yep, that makes sense to me. Are you willing to do that? BTW <mountpoint> doesn't mean that mountpoint is optional, so it makes sense to use [<mountpoint>] and explicitly mention in the help and documentation that this parameter is optional and what would happen if it's not used. (In reply to comment #3) > Yep, that makes sense to me. Are you willing to do that? Absolutely, done: http://lists.openembedded.org/pipermail/openembedded-core/2015-December/114261.html > BTW <mountpoint> doesn't mean that mountpoint is optional, so it makes sense > to use [<mountpoint>] and explicitly mention in the help and documentation > that this parameter is optional and what would happen if it's not used. Ack Fix is integrated into the Poky repo. |