installer: fail early
If e.g. the required packages for the git build cannot be installed, abort early instead of attempting to build the installer.
This commit is contained in:
parent
7cdb395dd9
commit
dcbbfed463
|
@ -269,6 +269,9 @@ case "${LB_DERIVATIVE}" in
|
|||
cat << EOF > chroot/buildit.sh
|
||||
#!/bin/sh
|
||||
# Get the version of the git repo that matches SOURCE_DATE_EPOCH
|
||||
|
||||
set -e
|
||||
|
||||
DEBIAN_INSTALLER=/debian-installer
|
||||
mkdir -p \${DEBIAN_INSTALLER}
|
||||
git clone https://salsa.debian.org/installer-team/debian-installer.git \${DEBIAN_INSTALLER} --single-branch --no-tags --quiet
|
||||
|
|
Loading…
Reference in New Issue