Commit 570ab190 authored by Guido Gunther's avatar Guido Gunther
Browse files

Make shellcheck more happy

parent 266a34bd
...@@ -200,7 +200,7 @@ function setup_apt() ...@@ -200,7 +200,7 @@ function setup_apt()
APT::Install-Recommends "0"; APT::Install-Recommends "0";
APT::Install-Suggests "0"; APT::Install-Suggests "0";
EOF EOF
chroot ${basedir} apt-get install -y gnupg chroot "${basedir}" apt-get install -y gnupg
if [ "${ci_pkgs}" -gt 0 ]; then if [ "${ci_pkgs}" -gt 0 ]; then
cat << EOF > "${basedir}/etc/apt/sources.list.d/ci.list" cat << EOF > "${basedir}/etc/apt/sources.list.d/ci.list"
...@@ -244,9 +244,9 @@ function create_report() ...@@ -244,9 +244,9 @@ function create_report()
{ {
echo "Installed packages:" echo "Installed packages:"
chroot "${basedir}" dpkg -l chroot "${basedir}" dpkg -l
echo -e "\nInstalled apt keys:" echo -e "\\nInstalled apt keys:"
chroot "${basedir}" apt-key list chroot "${basedir}" apt-key list
echo -e "\nKernels:" echo -e "\\nKernels:"
ls -l "${basedir}/boot" ls -l "${basedir}/boot"
} }
......
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