build.include: add make_cpio helper function
scripts: trivial changes to post_build.sh