summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wolf <gwolf@debian.org>2020-05-24 21:55:02 +0000
committerGunnar Wolf <gwolf@debian.org>2020-05-24 21:55:02 +0000
commit0cf508221ff8972d58cd61db710e88ff072cbf61 (patch)
tree42a8318b35fbe3e13ba7f09ebf834ac9d1db42cc
parent0143a70e9026af6a87f8c6dd56a314737d750c15 (diff)
parent56b1e41eb00d8605c2d2e13808be4f7dc0ebf19d (diff)
Merge branch 'liw/shquote' into 'master'
Fix: quote expansion of $ROOT in case it has problematic characters See merge request raspi-team/image-specs!3
-rw-r--r--raspi_master.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/raspi_master.yaml b/raspi_master.yaml
index e661744..cc9635e 100644
--- a/raspi_master.yaml
+++ b/raspi_master.yaml
@@ -104,7 +104,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: /
# Copy the relevant device tree files to the boot partition