summaryrefslogtreecommitdiffstats
path: root/scripts/lib/mic
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2013-10-16 15:25:41 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-18 16:03:39 +0100
commit505114c13d29799a25379f7ce720d632616d8776 (patch)
tree4b35117cca4d675d20b97d3872170e1cac65710d /scripts/lib/mic
parent8707c39a10b83b905d08a6512d107d4d1234f575 (diff)
downloadpoky-505114c13d29799a25379f7ce720d632616d8776.tar.gz
wic: add pseudo to the populate-extfs step
Without this, files in the generated filesystem pick up the wrong ownership. (From OE-Core rev: 24a6b1324965080fef6c363edcb37768090eebea) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/mic')
-rw-r--r--scripts/lib/mic/kickstart/custom_commands/partition.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/lib/mic/kickstart/custom_commands/partition.py b/scripts/lib/mic/kickstart/custom_commands/partition.py
index 302cace234..0eb0671356 100644
--- a/scripts/lib/mic/kickstart/custom_commands/partition.py
+++ b/scripts/lib/mic/kickstart/custom_commands/partition.py
@@ -216,7 +216,14 @@ class Wic_PartData(Mic_PartData):
216 """ 216 """
217 Prepare content for an ext2/3/4 rootfs partition. 217 Prepare content for an ext2/3/4 rootfs partition.
218 """ 218 """
219 populate_script = "%s/usr/bin/populate-extfs.sh" % native_sysroot 219 populate_script = "export PSEUDO_PREFIX=%s/usr;" % native_sysroot
220 populate_script += "export PSEUDO_LOCALSTATEDIR=%s/../pseudo;" % rootfs_dir
221 populate_script += "export PSEUDO_PASSWD=%s;" % rootfs_dir
222 populate_script += "export PSEUDO_NOSYMLINKEXP=1;"
223 populate_script += "export PSEUDO_DISABLED=0;"
224 populate_script += "%s/usr/bin/pseudo %s/usr/bin/populate-extfs.sh" % \
225 (native_sysroot, native_sysroot)
226
220 image_extra_space = 10240 227 image_extra_space = 10240
221 228
222 image_rootfs = rootfs_dir 229 image_rootfs = rootfs_dir