Commit e41edba6 authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz

Merge branch 'install-report' into 'master'

Create an installation report

See merge request !50
parents 26f2fdcc d2baf0e4
Pipeline #2283 passed with stage
in 13 seconds
......@@ -220,6 +220,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
......@@ -266,6 +276,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