diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2013-10-16 15:25:41 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-12 16:59:58 +0000 |
commit | 9e27361d815faf1a9e95d72997dfadd7d63f6c03 (patch) | |
tree | bcf37d8e990d5281d3f64b8b1624bd1236d77dc3 /scripts/lib/mic | |
parent | 10cdde99a8ad97d483e39f182b9582d70edadc77 (diff) | |
download | poky-9e27361d815faf1a9e95d72997dfadd7d63f6c03.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 master rev: 24a6b1324965080fef6c363edcb37768090eebea)
(From OE-Core rev: ecdc5422bd3e3efbf46c3d12d0a95d9f736a6d27)
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.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.py | 9 |
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 |