summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/engine.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-07-28 20:14:33 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-30 08:46:20 +0100
commit03d5daf1aeebc16800c589af6d62d5b72741696c (patch)
treec78781d28079d6de02dc11d89cfbe6a46df84b9f /scripts/lib/wic/engine.py
parent9d07c736e39a9aa922630b4241eda185a19a11ea (diff)
downloadpoky-03d5daf1aeebc16800c589af6d62d5b72741696c.tar.gz
wic: Switch to using --use-uuid by default
The most portable way to specifiy a root device in a disk image that we create is to use PARTUUID rather than /dev/sda2. As background, both GPT and MBR tables provide valid UUID values for each partition and the Linux Kernel contains the logic to parse this value. With this change we can now boot the default disk images when used as any valid block device that the included kernel uses. This for example means that VirtualBox can be used to run vmdk without changes as it uses IDE for the virtual disk controller. Cc: Matt Porter <mporter@konsulko.com> (From OE-Core rev: 8a58e9bb3e76a9962f1d14a8bdd3f7de675c3492) Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/engine.py')
0 files changed, 0 insertions, 0 deletions