Commit d2baf0e4 authored by Guido Gunther's avatar Guido Gunther

Create an installation report

This makes it simpler to verify the installation
parent 22a25f4b
......@@ -229,6 +229,16 @@ allow-hotplug eth0
iface eth0 inet dhcp
EOF
function create_report()
{
echo "Installed packages:"
chroot "${basedir}" dpkg -l
echo -e "\nInstalled apt keys:"
chroot "${basedir}" apt-key list
echo -e "\nKernels:"
ls -l "${basedir}/boot"
}
# Don't setup resolv.conf if it's a symlink
# DHCP will later handle this just fine
......@@ -276,6 +286,7 @@ case "${pureos_board}" in
;;
esac
create_report > "./tmp/${pureos_board}-report.log"
create_stamp
if [ -x files/local.sh ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment