This message was posted on behalf of Intel Corporation
Thank you for sharing that information with the community. I personally have never had any issues with post_build.sh, nevertheless, this information might be of much help for other users.
We really appreciate you help.
This was a problem in correct ownship/permissions in /home.
This seems to fix the problem:
diff --git a/meta-intel-edison/meta-intel-edison-distro/recipes-core/post-install/files/post-install.sh b/meta-intel-edison/meta-intel-edison-distro/recipes-core/post-install/files/post-install.sh
index 0d24d06..96a3ffe 100644
@@ -158,7 +158,7 @@ if [ "$ota_done" != "1" ];
# backup initial /home/root directory
- cp -R /home/* /tmp/oldhome/
+ cp -a /home/* /tmp/oldhome/
fi_assert $? "Backup home/root contents of rootfs"
# format partition home to ext4
@@ -169,7 +169,7 @@ then
# copy back contents to /home and cleanup
- cp -R /tmp/oldhome/* /home/
+ cp -a /tmp/oldhome/* /home/
rm -rf /tmp/oldhome
fi_assert $? "Restore home/root contents on new /home partition"