aboutsummaryrefslogtreecommitdiff
path: root/bootstrap.d/10-bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap.d/10-bootstrap.sh')
-rw-r--r--bootstrap.d/10-bootstrap.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap.d/10-bootstrap.sh b/bootstrap.d/10-bootstrap.sh
index 7b4a04d..f55c3e3 100644
--- a/bootstrap.d/10-bootstrap.sh
+++ b/bootstrap.d/10-bootstrap.sh
@@ -13,11 +13,11 @@ else
fi
# Copy qemu emulator binary to chroot
-cp "${QEMU_BINARY}" "$R/usr/bin"
+install_exec "${QEMU_BINARY}" "${R}${QEMU_BINARY}"
# Copy debian-archive-keyring.pgp
mkdir -p "$R/usr/share/keyrings"
-cp /usr/share/keyrings/debian-archive-keyring.gpg "$R/usr/share/keyrings/debian-archive-keyring.gpg"
+install_readonly /usr/share/keyrings/debian-archive-keyring.gpg "$R/usr/share/keyrings/debian-archive-keyring.gpg"
# Complete the bootstrapping process
chroot_exec /debootstrap/debootstrap --second-stage