Fix: quote expansion of $ROOT in case it has problematic characters

All the other uses of $ROOT are already quoted, so do it for this case
as well.
This commit is contained in:
Lars Wirzenius 2019-12-06 17:09:31 +02:00
parent b304176a2b
commit 56b1e41eb0
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ steps:
install -m 644 -o root -g root rpi-generate-ssh-host-keys.service "${ROOT?}/etc/systemd/system"
mkdir -p "${ROOT?}/etc/systemd/system/multi-user.target.requires/"
ln -s /etc/systemd/system/rpi-generate-ssh-host-keys.service "${ROOT?}/etc/systemd/system/multi-user.target.requires/rpi-generate-ssh-host-keys.service"
rm -f ${ROOT?}/etc/ssh/ssh_host_*_key*
rm -f "${ROOT?}"/etc/ssh/ssh_host_*_key*
root-fs: /
# Clean up archive cache (likely not useful) and lists (likely outdated) to