target: Don't symlink outside of /var
We will want to share /var with petitboot plugins, but most of the
directories in /var are actually symlinks to outside of var (to /tmp).
This change replaces the symlinks with actual directories. Since we're
running in an initramfs, we don't need to put everything in /tmp.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
diff --git a/openpower/configs/garrison_defconfig b/openpower/configs/garrison_defconfig
index 42ed4d4..1a827ab 100644
--- a/openpower/configs/garrison_defconfig
+++ b/openpower/configs/garrison_defconfig
@@ -39,6 +39,7 @@
BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
BR2_ROOTFS_OVERLAY="../openpower/overlay"
BR2_ROOTFS_DEVICE_TABLE="../openpower/device_table.txt"
+BR2_ROOTFS_POST_BUILD_SCRIPT="../openpower/scripts/fixup-target-var"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_VERSION="4.2"
BR2_KERNEL_HEADERS_4_2=y