| Summary: | wic support more mounting option | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Diego <diego.ml> |
| Component: | Scripts and Tools | Assignee: | Kevin Hao <kexin.hao> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium | CC: | kexin.hao, ross.burton |
| Version: | unspecified | ||
| Target Milestone: | 4.99 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Diego
2017-09-15 08:09:45 UTC
Hi Diego, Have you tried "--use-uuid" parameter? (In reply to comment #1) > Hi Diego, > > Have you tried "--use-uuid" parameter? IIRC I tried but it didn't work, and I haven't investigated exactly why. Nonetheless label or gpt-label support would be nice anyway. (In reply to comment #2) > (In reply to comment #1) > > Hi Diego, > > > > Have you tried "--use-uuid" parameter? > > IIRC I tried but it didn't work, and I haven't investigated exactly why. As I know several boards supported by meta-yocto-bsp use the "--use-uuid" parameter, all of them work pretty well. Could you provide more details about the scenario you use this parameter? > > Nonetheless label or gpt-label support would be nice anyway. There already has the support for the label. Please see the "--label" parameter. (In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #1) > > > Hi Diego, > > > > > > Have you tried "--use-uuid" parameter? > > > > IIRC I tried but it didn't work, and I haven't investigated exactly why. > > As I know several boards supported by meta-yocto-bsp use the "--use-uuid" > parameter, all of them work pretty well. Could you provide more details > about the scenario you use this parameter? I think I last tested when I originally reported this issue, so ~1 year ago, if I remember correctly no fstab entry was created. Glad it works for some boards, I'll give it another shot and open a proper bug issue if it still doesn't work for me. > > > > > Nonetheless label or gpt-label support would be nice anyway. > > There already has the support for the label. Please see the "--label" > parameter. The '--label' parameter doesn't create an fstab entry as far as I know, so it is not related to what this feature request issue is about. (In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > (In reply to comment #1) > > > > Hi Diego, > > > > > > > > Have you tried "--use-uuid" parameter? > > > > > > IIRC I tried but it didn't work, and I haven't investigated exactly why. > > > > As I know several boards supported by meta-yocto-bsp use the "--use-uuid" > > parameter, all of them work pretty well. Could you provide more details > > about the scenario you use this parameter? > > I think I last tested when I originally reported this issue, so ~1 year ago, > if I remember correctly no fstab entry was created. > Glad it works for some boards, I'll give it another shot and open a proper > bug issue if it still doesn't work for me. > I think this is the fix that was not available at the time: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=7707961e9f95429044f8de5ca30bfefc797cf371 I have added the support to use the label in the /etc/fstab, please see the commit: commit 821711bf2edc Author: Kevin Hao <kexin.hao@windriver.com> Date: Wed Sep 12 08:44:46 2018 +0800 wic: Introduce the --use-label partition parameter We can use this parameter to make the wic use the label to name a partition in /etc/fstab. (From OE-Core rev: 51638edaa00befaed58e2def255d46ae44d9234f) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (In reply to comment #6) > I have added the support to use the label in the /etc/fstab, please see the > commit: Thanks. It works fine for me. |