diff options
| author | Lyndon Brown <jnqnfe@gmail.com> | 2020-05-02 14:49:45 +0100 |
|---|---|---|
| committer | Lyndon Brown <jnqnfe@gmail.com> | 2020-05-02 14:49:45 +0100 |
| commit | 2d7ff4934d721f38ac5274c866e44e20d3bda2e8 (patch) | |
| tree | ceff49ad2a9dc8496207102412a0195aae867f3b /scripts/build/chroot_prep | |
| parent | b20979334cc28c345b2b72da30c3591fb5c85882 (diff) | |
| download | vyos-live-build-2d7ff4934d721f38ac5274c866e44e20d3bda2e8.tar.gz vyos-live-build-2d7ff4934d721f38ac5274c866e44e20d3bda2e8.zip | |
improve stagefiles encapsulation
- added and used Stagefiles_dir()
- added and used Stagefile_exists()
pretty self explanatory.
Gbp-Dch: Short
Diffstat (limited to 'scripts/build/chroot_prep')
| -rwxr-xr-x | scripts/build/chroot_prep | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/chroot_prep b/scripts/build/chroot_prep index f9ebdea5f..b62bbb0fa 100755 --- a/scripts/build/chroot_prep +++ b/scripts/build/chroot_prep @@ -94,7 +94,7 @@ if In_list "archives" ${HELPERS} && [ -z "${ARCHIVES_PASS}" ]; then exit 1 fi -if In_list "archives" ${HELPERS} && [ ! -e .build/bootstrap ]; then +if In_list "archives" ${HELPERS} && ! Stagefile_exists bootstrap; then Echo_warning "The 'archives' helper is selected, but the bootstrap stage has not completed." fi |
