]> code.ossystems Code Review - openembedded-core.git/commit
wic: Avoid creating invalid pseudo directory
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Sun, 19 Apr 2020 06:35:33 +0000 (08:35 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 26 Apr 2020 12:58:45 +0000 (13:58 +0100)
commit799a24ae78655f7a3eda7456b1a0ffaf3e43ec16
treec9eae9894c57d1db42a69b8719cdabf562066744
parent2dbd692b8e563cf991fb4ae1ef6129fda0d7e3c4
wic: Avoid creating invalid pseudo directory

If the source of the rootfs is not a bitbake cooked image, or it is not
pointing to the root of one, we call pseudo again, which will produce
a new pseudo folder at rootfs/../pseudo

Eg:

part /etc --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --fstype=ext4

Cc: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/partition.py