public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@kernel.crashing.org>
To: Markus Volk <f_l_k@t-online.de>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] wic/wks boot using labels instead of partitions
Date: Sat, 17 Sep 2022 09:35:47 -0500	[thread overview]
Message-ID: <ab69fff9-bdb5-1a6d-18ce-b22f737e4c07@kernel.crashing.org> (raw)
In-Reply-To: <GACCIR.4ITKNYY5Z8AC3@t-online.de>

Thank you, this worked perfectly.

On 9/17/22 1:20 AM, Markus Volk wrote:
> --use-label
> 
> This should do it.
> 
> Am Fr, 16. Sep 2022 um 16:41:48 -0500 schrieb Mark Hatle 
> <mark.hatle@kernel.crashing.org>:
>> Is there a way to tell the _generated_ fstab to use labels to boot and not 
>> hard coded partitions? If I remove the --ondisk <device> attribute from the 
>> wks file it defaults to /dev/sda. What I tried was: part /boot --source 
>> bootimg-partition --fstype=vfat --label boot --active --align 4 size 16 part / 
>> --source rootfs --fstype=ext4 --label root --align 4 If I manually add 
>> --no-fstab-update to the wks entries and add the following to the system 
>> default fstab: LABEL=boot /boot vfat default 0 2 This works. But I'd like to 
>> automate it within the wks. (Alternatively I could use uuid instead of label 
>> booting, but either case, I need to only boot with the uuid or label -- not 
>> the partition as the location of the disk can change.) --Mark
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#170825): https://lists.openembedded.org/g/openembedded-core/message/170825
> Mute This Topic: https://lists.openembedded.org/mt/93732744/3616948
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [mark.hatle@kernel.crashing.org]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


      reply	other threads:[~2022-09-17 14:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-16 21:41 wic/wks boot using labels instead of partitions Mark Hatle
2022-09-17  6:20 ` [OE-core] " Markus Volk
2022-09-17 14:35   ` Mark Hatle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ab69fff9-bdb5-1a6d-18ce-b22f737e4c07@kernel.crashing.org \
    --to=mark.hatle@kernel.crashing.org \
    --cc=f_l_k@t-online.de \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox