]> code.ossystems Code Review - openembedded-core.git/commit
wic/isoimage-isohybrid.py: change cpio generated uid&gid to root
authorIoan-Adrian Ratiu <adrian.ratiu@ni.com>
Fri, 1 Apr 2016 14:31:20 +0000 (17:31 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 3 Apr 2016 14:51:08 +0000 (15:51 +0100)
commit28910ee2eacc15cf42b5e58bd43b3bd15c34eb97
tree9308a92aba91acb1b30aab72108fc394eb239bc2
parentca516f5907a661606c35e1ca5c2ece9fc79c77ea
wic/isoimage-isohybrid.py: change cpio generated uid&gid to root

By default cpio preserves the uid&guid's of the original user which
leads to host contamination and boot failures because commands like
mount from initramfs expect to be run by root and the original host
user might not even exist on the target.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/plugins/source/isoimage-isohybrid.py