Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Jiang Lu <lu.jiang@windriver.com>
To: <lu.jiang@windriver.com>, <openembedded-core@lists.openembedded.org>
Cc: trini@konsulko.com
Subject: [PATCH] wic:mkefidisk:add use-uuid for all partitions
Date: Fri, 7 Sep 2018 11:32:11 +0800	[thread overview]
Message-ID: <1536291131-24332-2-git-send-email-lu.jiang@windriver.com> (raw)
In-Reply-To: <1536291131-24332-1-git-send-email-lu.jiang@windriver.com>

Add use-uuid for all partitions on mkefidisk.wks.

Signed-off-by: Jiang Lu <lu.jiang@windriver.com>
---
 scripts/lib/wic/canned-wks/mkefidisk.wks | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/lib/wic/canned-wks/mkefidisk.wks b/scripts/lib/wic/canned-wks/mkefidisk.wks
index 9f534fe..f06f6cd 100644
--- a/scripts/lib/wic/canned-wks/mkefidisk.wks
+++ b/scripts/lib/wic/canned-wks/mkefidisk.wks
@@ -2,10 +2,10 @@
 # long-description: Creates a partitioned EFI disk image that the user
 # can directly dd to boot media.
 
-part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --ondisk sda --label msdos --active --align 1024
+part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --label msdos --active --align 1024 --use-uuid
 
-part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
+part / --source rootfs --fstype=ext4 --label platform --align 1024 --use-uuid
 
-part swap --ondisk sda --size 44 --label swap1 --fstype=swap
+part swap --size 44 --label swap1 --fstype=swap --use-uuid
 
 bootloader --ptable gpt --timeout=5 --append="rootfstype=ext4 console=ttyS0,115200 console=tty0"
-- 
2.7.4



  reply	other threads:[~2018-09-07  3:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-07  3:32 [PATCH 0/1] wic:mkefidisk:add use-uuid for all partitions Jiang Lu
2018-09-07  3:32 ` Jiang Lu [this message]
2018-09-07 11:56   ` [PATCH] " Tom Rini
2018-09-14  2:23     ` Lu.Jiang
2018-09-25  2:31     ` Lu.Jiang
2018-09-28  1:36       ` Lu.Jiang
  -- strict thread matches above, loose matches on Subject: below --
2018-09-07  3:16 [PATCH 0/1] " Jiang Lu
2018-09-07  3:16 ` [PATCH] " Jiang Lu

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=1536291131-24332-2-git-send-email-lu.jiang@windriver.com \
    --to=lu.jiang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=trini@konsulko.com \
    /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