summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-05-05 00:52:13 +0100
committerLyndon Brown <jnqnfe@gmail.com>2020-05-05 00:52:13 +0100
commitd68290058e523bed56a8235e6408816ae3c8607e (patch)
tree84d3c8760ad6f879322499be4d41d6a28af18aaf
parent7cf7f74bc0570beedbea4b085fc799653a87c86e (diff)
downloadvyos-live-build-d68290058e523bed56a8235e6408816ae3c8607e.tar.gz
vyos-live-build-d68290058e523bed56a8235e6408816ae3c8607e.zip
debootstrap: fix wrong param for Check_package call
debootstrap must obviously exist in the host. we thus must pass 'host' not 'chroot' such that a warning about needing to install it on your host system is output, rather than it being added to a list of packages to be installed, which never occurs in this script. Gbp-Dch: Ignore
-rwxr-xr-xscripts/build/bootstrap_debootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/bootstrap_debootstrap b/scripts/build/bootstrap_debootstrap
index 5373fcc53..49f0f881b 100755
--- a/scripts/build/bootstrap_debootstrap
+++ b/scripts/build/bootstrap_debootstrap
@@ -32,7 +32,7 @@ Check_crossarchitectures
Echo_message "Begin bootstrapping system..."
-Check_package chroot bin/debootstrap debootstrap
+Check_package host bin/debootstrap debootstrap
# Checking stage file
Check_stagefile "bootstrap"