summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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