]> code.ossystems Code Review - openembedded-core.git/commit
systemd-bootdisk.wks: use PARTUUID
authorEd Bartosh <ed.bartosh@linux.intel.com>
Mon, 24 Oct 2016 13:54:41 +0000 (16:54 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Nov 2016 15:18:49 +0000 (15:18 +0000)
commit5b73d5f484cc844affe91ec19d881d42e187f30c
tree32b4fbfce98a070d3208c978fbcb99d0babd51a5
parenta400c130037497f08a1645984129c5ddba76c031
systemd-bootdisk.wks: use PARTUUID

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>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/wic/canned-wks/systemd-bootdisk.wks