make.sh: Bring up the loopback device in the new namespace

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-08-06 16:17:00 +00:00
parent ae7d1ef997
commit f5160566b2
2 changed files with 33 additions and 0 deletions

View File

@@ -786,6 +786,10 @@ execute() {
)
fi
# Call a setup script in the new namespaces to perform
# further set up, but before we change root.
execute+=( "${BASEDIR}/tools/execute.sh" )
# Run in chroot?
if [ "${chroot}" = "true" ]; then
execute+=( "chroot" "${BUILD_DIR}" )