Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <saul.wold@intel.com>
To: Ed Bartosh <ed.bartosh@linux.intel.com>,
	 openembedded-core@lists.openembedded.org
Cc: benjamin.esquivel@intel.com
Subject: Re: [wic][PATCH] systemd-bootdisk.wks: use PARTUUID
Date: Mon, 24 Oct 2016 10:34:40 -0700	[thread overview]
Message-ID: <1477330480.6169.3.camel@intel.com> (raw)
In-Reply-To: <1477317281-19518-1-git-send-email-ed.bartosh@linux.intel.com>

On Mon, 2016-10-24 at 16:54 +0300, Ed Bartosh wrote:
> Root device name in systemd-bootdisk.wks is 'sda'. This can cause
> images, produced using this wks to refuse booting if real device
> name is not 'sda'. For example, when booting MinnowBoard MAX from
> MicroSD card the boot process stucks with this message on the boot
> console output: Waiting for root device /dev/sda2...
> This happens because real device name of MicroSD card on this device
> is mmcblk1.
> 
> Used --use-uuid option for root partition. This should make
> wic to put partiion UUID instead of device name into kernel command
> line.
> 
> [YOCTO #10485]
> 
> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
> ---
>  scripts/lib/wic/canned-wks/systemd-bootdisk.wks | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/lib/wic/canned-wks/systemd-bootdisk.wks
> b/scripts/lib/wic/canned-wks/systemd-bootdisk.wks
> index b900023..4bd9d6a 100644
> --- a/scripts/lib/wic/canned-wks/systemd-bootdisk.wks
> +++ b/scripts/lib/wic/canned-wks/systemd-bootdisk.wks
> @@ -4,7 +4,7 @@
>  
>  part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" 
> --ondisk sda --label msdos --active --align 1024
>  
> -part / --source rootfs --ondisk sda --fstype=ext4 --label platform
> --align 1024
> +part / --source rootfs --ondisk sda --fstype=ext4 --label platform
> --align 1024 --use-uuid
>  
 part swap --ondisk sda --size 44 --label swap1 --fstype=swap
>  
I understand the --use-uuid for the partition labeling, but how does it
affect everything marked as ondisk sda?  Or is ondisk ignored with use-
uuid?

Sau!
> 
> -- 
> 2.1.4
> 


  parent reply	other threads:[~2016-10-24 17:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-24 13:54 [wic][PATCH] systemd-bootdisk.wks: use PARTUUID Ed Bartosh
2016-10-24 16:06 ` Benjamin Esquivel
2016-10-24 17:34 ` Saul Wold [this message]
2016-10-25  7:56   ` Ed Bartosh

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=1477330480.6169.3.camel@intel.com \
    --to=saul.wold@intel.com \
    --cc=benjamin.esquivel@intel.com \
    --cc=ed.bartosh@linux.intel.com \
    --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