Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guido Gunther
image-builder
Commits
d2baf0e4
Commit
d2baf0e4
authored
Dec 05, 2018
by
Guido Gunther
Browse files
Create an installation report
This makes it simpler to verify the installation
parent
22a25f4b
Pipeline
#2280
passed with stage
in 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
root.sh
View file @
d2baf0e4
...
...
@@ -229,6 +229,16 @@ allow-hotplug eth0
iface eth0 inet dhcp
EOF
function
create_report
()
{
echo
"Installed packages:"
chroot
"
${
basedir
}
"
dpkg
-l
echo
-e
"
\n
Installed apt keys:"
chroot
"
${
basedir
}
"
apt-key list
echo
-e
"
\n
Kernels:"
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment