From: Tom Zanussi Date: Wed, 16 Oct 2013 20:25:41 +0000 (-0500) Subject: wic: add pseudo to the populate-extfs step X-Git-Tag: rev_ivi_2015_02_04~10654 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f3fab32feadc469f29214c10fadc1c8dd17d1fd;p=scm%2Fbb%2Ftizen-distro.git 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 Signed-off-by: Richard Purdie --- diff --git a/scripts/lib/mic/kickstart/custom_commands/partition.py b/scripts/lib/mic/kickstart/custom_commands/partition.py index 302cace..0eb0671 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): """ Prepare content for an ext2/3/4 rootfs partition. """ - populate_script = "%s/usr/bin/populate-extfs.sh" % native_sysroot + populate_script = "export PSEUDO_PREFIX=%s/usr;" % native_sysroot + populate_script += "export PSEUDO_LOCALSTATEDIR=%s/../pseudo;" % rootfs_dir + populate_script += "export PSEUDO_PASSWD=%s;" % rootfs_dir + populate_script += "export PSEUDO_NOSYMLINKEXP=1;" + populate_script += "export PSEUDO_DISABLED=0;" + populate_script += "%s/usr/bin/pseudo %s/usr/bin/populate-extfs.sh" % \ + (native_sysroot, native_sysroot) + image_extra_space = 10240 image_rootfs = rootfs_dir