Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guido Gunther
image-builder
Commits
570ab190
Commit
570ab190
authored
Jun 11, 2019
by
Guido Gunther
Browse files
Make shellcheck more happy
parent
266a34bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
root.sh
View file @
570ab190
...
...
@@ -200,7 +200,7 @@ function setup_apt()
APT::Install-Recommends "0";
APT::Install-Suggests "0";
EOF
chroot
${
basedir
}
apt-get
install
-y
gnupg
chroot
"
${
basedir
}
"
apt-get
install
-y
gnupg
if
[
"
${
ci_pkgs
}
"
-gt
0
]
;
then
cat
<<
EOF
> "
${
basedir
}
/etc/apt/sources.list.d/ci.list"
...
...
@@ -244,9 +244,9 @@ function create_report()
{
echo
"Installed packages:"
chroot
"
${
basedir
}
"
dpkg
-l
echo
-e
"
\n
Installed apt keys:"
echo
-e
"
\
\
nInstalled apt keys:"
chroot
"
${
basedir
}
"
apt-key list
echo
-e
"
\n
Kernels:"
echo
-e
"
\
\
nKernels:"
ls
-l
"
${
basedir
}
/boot"
}
...
...
Write
Preview
Markdown
is supported
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