summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-03-15 13:05:44 +0000
committerLyndon Brown <jnqnfe@gmail.com>2020-03-17 22:59:37 +0000
commitfb0790cc4379280084cc9a4469a515e243f45b9b (patch)
tree0b0dc6e8f37301a3e946a3c80b610bb4f3793363 /scripts
parentfe0d2358b9777703effad9b29a1f54eeb65477f9 (diff)
downloadvyos-live-build-fb0790cc4379280084cc9a4469a515e243f45b9b.tar.gz
vyos-live-build-fb0790cc4379280084cc9a4469a515e243f45b9b.zip
stagefiles: s/Require_stagefile/Require_stagefiles/
this function takes one or more required stage fileS _plural_, and exits if any are missing (or at least it does now after the refactor). let's rename it to make things more clear Gbp-Dch: Short
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/binary_checksums2
-rwxr-xr-xscripts/build/binary_chroot2
-rwxr-xr-xscripts/build/binary_disk2
-rwxr-xr-xscripts/build/binary_grub-efi2
-rwxr-xr-xscripts/build/binary_grub-legacy2
-rwxr-xr-xscripts/build/binary_grub-pc2
-rwxr-xr-xscripts/build/binary_hdd2
-rwxr-xr-xscripts/build/binary_hooks2
-rwxr-xr-xscripts/build/binary_includes2
-rwxr-xr-xscripts/build/binary_iso2
-rwxr-xr-xscripts/build/binary_linux-image2
-rwxr-xr-xscripts/build/binary_loadlin2
-rwxr-xr-xscripts/build/binary_loopback_cfg2
-rwxr-xr-xscripts/build/binary_manifest2
-rwxr-xr-xscripts/build/binary_memtest2
-rwxr-xr-xscripts/build/binary_netboot2
-rwxr-xr-xscripts/build/binary_onie2
-rwxr-xr-xscripts/build/binary_package-lists2
-rwxr-xr-xscripts/build/binary_rootfs2
-rwxr-xr-xscripts/build/binary_syslinux2
-rwxr-xr-xscripts/build/binary_tar2
-rwxr-xr-xscripts/build/binary_win32-loader2
-rwxr-xr-xscripts/build/binary_zsync2
-rwxr-xr-xscripts/build/bootstrap_archives2
-rwxr-xr-xscripts/build/chroot_apt2
-rwxr-xr-xscripts/build/chroot_archives2
-rwxr-xr-xscripts/build/chroot_debianchroot2
-rwxr-xr-xscripts/build/chroot_devpts2
-rwxr-xr-xscripts/build/chroot_dpkg2
-rwxr-xr-xscripts/build/chroot_firmware2
-rwxr-xr-xscripts/build/chroot_hacks2
-rwxr-xr-xscripts/build/chroot_hooks2
-rwxr-xr-xscripts/build/chroot_hostname2
-rwxr-xr-xscripts/build/chroot_hosts2
-rwxr-xr-xscripts/build/chroot_includes2
-rwxr-xr-xscripts/build/chroot_install-packages2
-rwxr-xr-xscripts/build/chroot_interactive2
-rwxr-xr-xscripts/build/chroot_linux-image2
-rwxr-xr-xscripts/build/chroot_package-lists2
-rwxr-xr-xscripts/build/chroot_preseed2
-rwxr-xr-xscripts/build/chroot_proc2
-rwxr-xr-xscripts/build/chroot_resolv2
-rwxr-xr-xscripts/build/chroot_selinuxfs2
-rwxr-xr-xscripts/build/chroot_sysfs2
-rwxr-xr-xscripts/build/chroot_sysv-rc2
-rwxr-xr-xscripts/build/chroot_tmpfs2
-rwxr-xr-xscripts/build/installer_debian-installer2
-rwxr-xr-xscripts/build/source_checksums2
-rwxr-xr-xscripts/build/source_debian2
-rwxr-xr-xscripts/build/source_disk2
-rwxr-xr-xscripts/build/source_hdd2
-rwxr-xr-xscripts/build/source_hooks2
-rwxr-xr-xscripts/build/source_iso2
-rwxr-xr-xscripts/build/source_live2
-rwxr-xr-xscripts/build/source_tar2
55 files changed, 55 insertions, 55 deletions
diff --git a/scripts/build/binary_checksums b/scripts/build/binary_checksums
index 93602fbca..a2aef0351 100755
--- a/scripts/build/binary_checksums
+++ b/scripts/build/binary_checksums
@@ -27,7 +27,7 @@ then
fi
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_chroot b/scripts/build/binary_chroot
index b238f05a3..9c1704eec 100755
--- a/scripts/build/binary_chroot
+++ b/scripts/build/binary_chroot
@@ -24,7 +24,7 @@ Init_config_data "${@}"
Echo_message "Begin copying chroot..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_disk b/scripts/build/binary_disk
index 076dcbfdb..b53fff705 100755
--- a/scripts/build/binary_disk
+++ b/scripts/build/binary_disk
@@ -32,7 +32,7 @@ esac
Echo_message "Begin installing disk information..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_grub-efi b/scripts/build/binary_grub-efi
index 8f1f7c12a..11a80672a 100755
--- a/scripts/build/binary_grub-efi
+++ b/scripts/build/binary_grub-efi
@@ -26,7 +26,7 @@ Check_Any_Bootloader_Role "grub-efi"
Echo_message "Begin preparing Grub based EFI support..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_grub-legacy b/scripts/build/binary_grub-legacy
index 4b019bd2e..80d81e83b 100755
--- a/scripts/build/binary_grub-legacy
+++ b/scripts/build/binary_grub-legacy
@@ -26,7 +26,7 @@ Check_First_Bootloader_Role "grub-legacy"
Echo_message "Begin installing grub-legacy..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_grub-pc b/scripts/build/binary_grub-pc
index d490f9255..462fd6286 100755
--- a/scripts/build/binary_grub-pc
+++ b/scripts/build/binary_grub-pc
@@ -26,7 +26,7 @@ Check_Any_Bootloader_Role "grub-pc"
Echo_message "Begin installing grub-pc..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_hdd b/scripts/build/binary_hdd
index d5a32664d..5d0926eb3 100755
--- a/scripts/build/binary_hdd
+++ b/scripts/build/binary_hdd
@@ -29,7 +29,7 @@ fi
Echo_message "Begin building binary hdd image..."
# Requiring stage file
-Require_stagefile config bootstrap chroot_proc
+Require_stagefiles config bootstrap chroot_proc
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_hooks b/scripts/build/binary_hooks
index 847ecb348..bb232a0a2 100755
--- a/scripts/build/binary_hooks
+++ b/scripts/build/binary_hooks
@@ -24,7 +24,7 @@ Init_config_data "${@}"
Echo_message "Begin executing hooks..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_includes b/scripts/build/binary_includes
index c47ac0f5a..e8af34c63 100755
--- a/scripts/build/binary_includes
+++ b/scripts/build/binary_includes
@@ -24,7 +24,7 @@ Init_config_data "${@}"
Echo_message "Begin copying binary includes..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_iso b/scripts/build/binary_iso
index b6a1128ee..f3abe6bc8 100755
--- a/scripts/build/binary_iso
+++ b/scripts/build/binary_iso
@@ -38,7 +38,7 @@ esac
Echo_message "Begin building binary iso image..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_linux-image b/scripts/build/binary_linux-image
index b4ba87974..ad3913ca4 100755
--- a/scripts/build/binary_linux-image
+++ b/scripts/build/binary_linux-image
@@ -29,7 +29,7 @@ fi
Echo_message "Begin install linux-image..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_loadlin b/scripts/build/binary_loadlin
index c89222935..9d75a6497 100755
--- a/scripts/build/binary_loadlin
+++ b/scripts/build/binary_loadlin
@@ -29,7 +29,7 @@ fi
Echo_message "Begin copying loadlin..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_loopback_cfg b/scripts/build/binary_loopback_cfg
index 80a7f275c..13a15d6fe 100755
--- a/scripts/build/binary_loopback_cfg
+++ b/scripts/build/binary_loopback_cfg
@@ -28,7 +28,7 @@ Init_config_data "${@}"
Echo_message "Begin installing loopback.cfg..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_manifest b/scripts/build/binary_manifest
index b8b38e101..3f2d2e4b6 100755
--- a/scripts/build/binary_manifest
+++ b/scripts/build/binary_manifest
@@ -29,7 +29,7 @@ fi
Echo_message "Begin creating manifest..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_memtest b/scripts/build/binary_memtest
index bfdf1e90f..ec260c677 100755
--- a/scripts/build/binary_memtest
+++ b/scripts/build/binary_memtest
@@ -29,7 +29,7 @@ fi
Echo_message "Begin installing memtest..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_netboot b/scripts/build/binary_netboot
index edb1cfaf1..cd91162c8 100755
--- a/scripts/build/binary_netboot
+++ b/scripts/build/binary_netboot
@@ -34,7 +34,7 @@ fi
Echo_message "Begin building binary netboot image..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_onie b/scripts/build/binary_onie
index 20d4d5389..dcc32bd07 100755
--- a/scripts/build/binary_onie
+++ b/scripts/build/binary_onie
@@ -42,7 +42,7 @@ esac
Echo_message "Begin building onie binary..."
# Requiring stage file
-Require_stagefile config binary_iso
+Require_stagefiles config binary_iso
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_package-lists b/scripts/build/binary_package-lists
index c72fecabc..3db37d763 100755
--- a/scripts/build/binary_package-lists
+++ b/scripts/build/binary_package-lists
@@ -24,7 +24,7 @@ Init_config_data "${@}"
Echo_message "Begin installing local package lists..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_rootfs b/scripts/build/binary_rootfs
index f84bfcc77..b0a9e22d4 100755
--- a/scripts/build/binary_rootfs
+++ b/scripts/build/binary_rootfs
@@ -24,7 +24,7 @@ Init_config_data "${@}"
Echo_message "Begin building root filesystem image..."
# Requiring stage file
-Require_stagefile config bootstrap binary_chroot
+Require_stagefiles config bootstrap binary_chroot
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_syslinux b/scripts/build/binary_syslinux
index 1ffe039e2..0dcc2dab1 100755
--- a/scripts/build/binary_syslinux
+++ b/scripts/build/binary_syslinux
@@ -26,7 +26,7 @@ Check_Any_Bootloader_Role "syslinux"
Echo_message "Begin installing syslinux..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_tar b/scripts/build/binary_tar
index 12b8d3230..d6ae6e0f3 100755
--- a/scripts/build/binary_tar
+++ b/scripts/build/binary_tar
@@ -29,7 +29,7 @@ fi
Echo_message "Begin building binary tarball..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_win32-loader b/scripts/build/binary_win32-loader
index c1be6333f..ed90d1f0c 100755
--- a/scripts/build/binary_win32-loader
+++ b/scripts/build/binary_win32-loader
@@ -29,7 +29,7 @@ fi
Echo_message "Begin copying win32-loader..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/binary_zsync b/scripts/build/binary_zsync
index 2e5961743..feca6c83a 100755
--- a/scripts/build/binary_zsync
+++ b/scripts/build/binary_zsync
@@ -34,7 +34,7 @@ fi
Echo_message "Begin building zsync control files..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/bootstrap_archives b/scripts/build/bootstrap_archives
index 8c828a2d8..739adfb89 100755
--- a/scripts/build/bootstrap_archives
+++ b/scripts/build/bootstrap_archives
@@ -29,7 +29,7 @@ fi
Init_config_data "${@}"
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
Echo_message "Configuring file /etc/apt/sources.list"
diff --git a/scripts/build/chroot_apt b/scripts/build/chroot_apt
index d628ac480..888edbb2f 100755
--- a/scripts/build/chroot_apt
+++ b/scripts/build/chroot_apt
@@ -22,7 +22,7 @@ USAGE="${PROGRAM} {install|install-binary|remove} [--force]"
Init_config_data "${@}"
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
case "${1}" in
install|install-binary)
diff --git a/scripts/build/chroot_archives b/scripts/build/chroot_archives
index a84322117..4f605ec36 100755
--- a/scripts/build/chroot_archives
+++ b/scripts/build/chroot_archives
@@ -29,7 +29,7 @@ fi
Init_config_data "${@}"
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
case "${1}" in
install)
diff --git a/scripts/build/chroot_debianchroot b/scripts/build/chroot_debianchroot
index 5e3499285..7ab3edfa2 100755
--- a/scripts/build/chroot_debianchroot
+++ b/scripts/build/chroot_debianchroot
@@ -22,7 +22,7 @@ USAGE="${PROGRAM} {install|remove} [--force]"
Init_config_data "${@}"
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
case "${1}" in
install)
diff --git a/scripts/build/chroot_devpts b/scripts/build/chroot_devpts
index ade3fbe7e..754422dab 100755
--- a/scripts/build/chroot_devpts
+++ b/scripts/build/chroot_devpts
@@ -22,7 +22,7 @@ USAGE="${PROGRAM} {install|remove} [--force]"
Init_config_data "${@}"
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
case "${1}" in
install)
diff --git a/scripts/build/chroot_dpkg b/scripts/build/chroot_dpkg
index 2e5b7a369..d97ad636b 100755
--- a/scripts/build/chroot_dpkg
+++ b/scripts/build/chroot_dpkg
@@ -22,7 +22,7 @@ USAGE="${PROGRAM} {install|remove} [--force]"
Init_config_data "${@}"
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
case "${1}" in
install)
diff --git a/scripts/build/chroot_firmware b/scripts/build/chroot_firmware
index 478070f3a..e23026bb5 100755
--- a/scripts/build/chroot_firmware
+++ b/scripts/build/chroot_firmware
@@ -29,7 +29,7 @@ fi
Echo_message "Begin scheduling firmware installation..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/chroot_hacks b/scripts/build/chroot_hacks
index 98583558e..bd8a3e230 100755
--- a/scripts/build/chroot_hacks
+++ b/scripts/build/chroot_hacks
@@ -24,7 +24,7 @@ Init_config_data "${@}"
Echo_message "Begin executing hacks..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/chroot_hooks b/scripts/build/chroot_hooks
index 0af1db934..ff06eac3e 100755
--- a/scripts/build/chroot_hooks
+++ b/scripts/build/chroot_hooks
@@ -24,7 +24,7 @@ Init_config_data "${@}"
Echo_message "Begin executing hooks..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/chroot_hostname b/scripts/build/chroot_hostname
index 27baf51cb..02578485a 100755
--- a/scripts/build/chroot_hostname
+++ b/scripts/build/chroot_hostname
@@ -22,7 +22,7 @@ USAGE="${PROGRAM} {install|remove} [--force]"
Init_config_data "${@}"
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
case "${1}" in
install)
diff --git a/scripts/build/chroot_hosts b/scripts/build/chroot_hosts
index 003b10fca..2bf3b1d7a 100755
--- a/scripts/build/chroot_hosts
+++ b/scripts/build/chroot_hosts
@@ -22,7 +22,7 @@ USAGE="${PROGRAM} {install|remove} [--force]"
Init_config_data "${@}"
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
case "${1}" in
install)
diff --git a/scripts/build/chroot_includes b/scripts/build/chroot_includes
index c0c8e2d62..dc4bb6993 100755
--- a/scripts/build/chroot_includes
+++ b/scripts/build/chroot_includes
@@ -24,7 +24,7 @@ Init_config_data "${@}"
Echo_message "Begin copying chroot includes..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/chroot_install-packages b/scripts/build/chroot_install-packages
index 1a86b3c70..d6519ca9d 100755
--- a/scripts/build/chroot_install-packages
+++ b/scripts/build/chroot_install-packages
@@ -27,7 +27,7 @@ Init_config_data "${@}"
Echo_message "Begin installing packages (${_PASS} pass)..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Set non-default stage file name
# Setting to default name with appended action name
diff --git a/scripts/build/chroot_interactive b/scripts/build/chroot_interactive
index b27c68d31..73e280615 100755
--- a/scripts/build/chroot_interactive
+++ b/scripts/build/chroot_interactive
@@ -29,7 +29,7 @@ fi
Echo_message "Begin interactive build..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/chroot_linux-image b/scripts/build/chroot_linux-image
index 43bf3b3ac..e45362a8d 100755
--- a/scripts/build/chroot_linux-image
+++ b/scripts/build/chroot_linux-image
@@ -29,7 +29,7 @@ fi
Echo_message "Begin scheduling kernel image installation..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/chroot_package-lists b/scripts/build/chroot_package-lists
index a25f552b0..e832ca8e8 100755
--- a/scripts/build/chroot_package-lists
+++ b/scripts/build/chroot_package-lists
@@ -27,7 +27,7 @@ Init_config_data "${@}"
Echo_message "Begin queueing installation of package lists (${_PASS} pass)..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Set non-default stage file name
# Setting to default name with appended action name
diff --git a/scripts/build/chroot_preseed b/scripts/build/chroot_preseed
index a35d178b3..11144bed9 100755
--- a/scripts/build/chroot_preseed
+++ b/scripts/build/chroot_preseed
@@ -24,7 +24,7 @@ Init_config_data "${@}"
Echo_message "Begin executing local preseeds..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/chroot_proc b/scripts/build/chroot_proc
index a41003ce2..e44248a58 100755
--- a/scripts/build/chroot_proc
+++ b/scripts/build/chroot_proc
@@ -22,7 +22,7 @@ USAGE="${PROGRAM} {install|remove} [--force]"
Init_config_data "${@}"
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
case "${1}" in
install)
diff --git a/scripts/build/chroot_resolv b/scripts/build/chroot_resolv
index dcf798841..7066e53a6 100755
--- a/scripts/build/chroot_resolv
+++ b/scripts/build/chroot_resolv
@@ -22,7 +22,7 @@ USAGE="${PROGRAM} {install|remove} [--force]"
Init_config_data "${@}"
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
case "${1}" in
install)
diff --git a/scripts/build/chroot_selinuxfs b/scripts/build/chroot_selinuxfs
index aa94da516..ef6ed361c 100755
--- a/scripts/build/chroot_selinuxfs
+++ b/scripts/build/chroot_selinuxfs
@@ -22,7 +22,7 @@ USAGE="${PROGRAM} {install|remove} [--force]"
Init_config_data "${@}"
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
case "${1}" in
install)
diff --git a/scripts/build/chroot_sysfs b/scripts/build/chroot_sysfs
index 23a85bda1..cc2cf9f52 100755
--- a/scripts/build/chroot_sysfs
+++ b/scripts/build/chroot_sysfs
@@ -22,7 +22,7 @@ USAGE="${PROGRAM} {install|remove} [--force]"
Init_config_data "${@}"
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
case "${1}" in
install)
diff --git a/scripts/build/chroot_sysv-rc b/scripts/build/chroot_sysv-rc
index 01a95233d..8b9d2822c 100755
--- a/scripts/build/chroot_sysv-rc
+++ b/scripts/build/chroot_sysv-rc
@@ -22,7 +22,7 @@ USAGE="${PROGRAM} {install|remove} [--force]"
Init_config_data "${@}"
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
case "${1}" in
install)
diff --git a/scripts/build/chroot_tmpfs b/scripts/build/chroot_tmpfs
index 074ef9422..340f10791 100755
--- a/scripts/build/chroot_tmpfs
+++ b/scripts/build/chroot_tmpfs
@@ -27,7 +27,7 @@ then
fi
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
case "${1}" in
install)
diff --git a/scripts/build/installer_debian-installer b/scripts/build/installer_debian-installer
index 5e1073851..d974b95a5 100755
--- a/scripts/build/installer_debian-installer
+++ b/scripts/build/installer_debian-installer
@@ -49,7 +49,7 @@ esac
Echo_message "Begin installing debian-installer..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/source_checksums b/scripts/build/source_checksums
index 884219cb2..f4321a6b3 100755
--- a/scripts/build/source_checksums
+++ b/scripts/build/source_checksums
@@ -27,7 +27,7 @@ then
fi
# Requiring stage file
-Require_stagefile config source_debian
+Require_stagefiles config source_debian
# Checking stage file
Check_stagefile
diff --git a/scripts/build/source_debian b/scripts/build/source_debian
index 0a7cfe156..e1555d14f 100755
--- a/scripts/build/source_debian
+++ b/scripts/build/source_debian
@@ -29,7 +29,7 @@ fi
Echo_message "Begin downloading sources..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/source_disk b/scripts/build/source_disk
index 7e9edd231..5e4ffc66b 100755
--- a/scripts/build/source_disk
+++ b/scripts/build/source_disk
@@ -33,7 +33,7 @@ esac
Echo_message "Begin installing disk information..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/source_hdd b/scripts/build/source_hdd
index d19c05a41..01609092c 100755
--- a/scripts/build/source_hdd
+++ b/scripts/build/source_hdd
@@ -34,7 +34,7 @@ fi
Echo_message "Begin building source hdd image..."
# Requiring stage file
-Require_stagefile config source_debian
+Require_stagefiles config source_debian
# Checking stage file
Check_stagefile
diff --git a/scripts/build/source_hooks b/scripts/build/source_hooks
index 4b5554fa1..2aa204955 100755
--- a/scripts/build/source_hooks
+++ b/scripts/build/source_hooks
@@ -24,7 +24,7 @@ Init_config_data "${@}"
Echo_message "Begin executing hooks..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/source_iso b/scripts/build/source_iso
index 65a81b218..1c5c296d8 100755
--- a/scripts/build/source_iso
+++ b/scripts/build/source_iso
@@ -38,7 +38,7 @@ esac
Echo_message "Begin building source iso image..."
# Requiring stage file
-Require_stagefile config source_debian
+Require_stagefiles config source_debian
# Checking stage file
Check_stagefile
diff --git a/scripts/build/source_live b/scripts/build/source_live
index 7c6f85f9d..375069856 100755
--- a/scripts/build/source_live
+++ b/scripts/build/source_live
@@ -29,7 +29,7 @@ fi
Echo_message "Begin copying live-build configuration..."
# Requiring stage file
-Require_stagefile config bootstrap
+Require_stagefiles config bootstrap
# Checking stage file
Check_stagefile
diff --git a/scripts/build/source_tar b/scripts/build/source_tar
index 35446a972..5d7a83a55 100755
--- a/scripts/build/source_tar
+++ b/scripts/build/source_tar
@@ -35,7 +35,7 @@ Echo_message "Begin building source tarball..."
Echo_message "This may take a while."
# Requiring stage file
-Require_stagefile config source_debian
+Require_stagefiles config source_debian
# Checking stage file
Check_stagefile