include extra information in installpack

This commit is contained in:
Bruce Leidl 2018-03-18 19:34:30 -04:00
parent 57c299d5ea
commit 1e3ab8586b

View File

@ -56,4 +56,15 @@ cp ${HOWTO} /tmp/installpack/components/
cp ${INSTALL_SH} /tmp/installpack
chmod +x /tmp/installpack/install.sh
(
echo "Date : $(date)"
echo "Git : $(git rev-parse HEAD)"
pushd /tmp/installpack > /dev/null
echo
echo " $(sha256sum components/citadel-image-rootfs.ext2)"
echo " $(sha256sum components/appimg-rootfs.tar.xz)"
popd > /dev/null
) > /tmp/installpack/build.info
tar -C /tmp -cvf installpack.tar installpack
#rm -rf /tmp/installpack