]> code.ossystems Code Review - openembedded-core.git/commit
wic: Use partition label to be part of rootfs filename
authorJoão Henrique Ferreira de Freitas <joaohf@gmail.com>
Sat, 29 Mar 2014 03:12:05 +0000 (00:12 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 30 Mar 2014 09:01:58 +0000 (10:01 +0100)
commitc7efb3a21618ce3069811042279a0d898237ac0f
tree0e8b98b8438ba4e4b8a3323c7f0e053a0eee86c9
parent6042b097a8fc24f2b85eb9848fb007a3c6c090a9
wic: Use partition label to be part of rootfs filename

When a partition from .wks file is set up like this:

  part /standby --source rootfs --rootfs-dir=<special rootfs> ... --label \
    --label secondary

This means that 'rootfs' must use '<special rootfs>' as rootfs and
the default partition filename in /var/tmp/wic/build/ will be create
using the '--label' as part of the name. E.g:

  /var/tmp/wic/build/rootfs_secondary.ext3

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/mic/kickstart/custom_commands/partition.py