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/firestone_defconfig b/openpower/configs/firestone_defconfig
index f9f333d..3324aef 100644
--- a/openpower/configs/firestone_defconfig
+++ b/openpower/configs/firestone_defconfig
@@ -41,6 +41,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