summaryrefslogtreecommitdiff
path: root/build-os
diff options
context:
space:
mode:
authorPhilip J Freeman <elektron@halo.nu>2026-04-24 22:53:48 -0700
committerPhilip J Freeman <elektron@halo.nu>2026-04-24 22:54:59 -0700
commit3f32def2e2a8df3eb0f81597092b375a27765be4 (patch)
tree9241baf465afa1d83eee6d49a308ee71cd35b742 /build-os
parent4b945e722edf86177fd625359e0dad8b5538e867 (diff)
Diffstat (limited to 'build-os')
-rwxr-xr-xbuild-os6
1 files changed, 4 insertions, 2 deletions
diff --git a/build-os b/build-os
index 01cfaee..652ea09 100755
--- a/build-os
+++ b/build-os
@@ -28,7 +28,7 @@ mkdir -p "$root"
# bootstrap the OS
-debootstrap "$codename" "$root"
+debootstrap "$codename" "$root" "$deb_mirror_url"
for dir in /proc /sys /dev; do
mount --bind "$dir" "$root"/"$dir"
@@ -45,7 +45,9 @@ export remote
export build
export buildenv
export arch
-
+export codename
+export deb_mirror_url
+export deb_security_mirror_url
run-parts --exit-on-error -- hooks/build-os