summaryrefslogtreecommitdiff
path: root/meta/classes/kernel-grub.bbclass
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-03-26 18:28:04 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-27 00:07:36 +0100
commitbdaba95af2b2c9174311374436f184d2a927f6f1 (patch)
treea684573939b7a48359bff47f4c75994d5887d0e8 /meta/classes/kernel-grub.bbclass
parent39a7bfde92211b3546ff0a8e6a3e549714996b28 (diff)
downloadopenembedded-core-bdaba95af2b2c9174311374436f184d2a927f6f1.tar.gz
openembedded-core-bdaba95af2b2c9174311374436f184d2a927f6f1.tar.bz2
openembedded-core-bdaba95af2b2c9174311374436f184d2a927f6f1.zip
wic: fix generation of partition UUID
Partition UUID for msdos partitioning is based on a 4 bytes long system identifier. Wic uses random number to generate system identifier. For the numbers starting with 0 partition uuid is shorter, which makes wic images non-bootable as kernel expects 8 charactest in PARTUUID parameter. Padded system identifier with '0' when generating partition UUID to make it always 8 characters long. This should fix the boot issue. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel-grub.bbclass')
0 files changed, 0 insertions, 0 deletions