armbian-build/lib/functions/rootfs
Nikita Maslo 1e7ef9d064
fix(rootfs): unset GIT_FIXED_WORKDIR after debootstrap/mmdebstrap clone (#9132)
* fix(rootfs): pass GIT_FIXED_WORKDIR inline to fetch_from_repo

Instead of using 'export GIT_FIXED_WORKDIR' and then 'unset' after,
pass the variable inline to the fetch_from_repo call. This ensures
the variable only exists in the context of that specific command
and doesn't leak into subsequent calls.

This follows the same pattern used in uboot-git.sh and kernel-git.sh.
---------

Co-authored-by: Viacheslav Bocharov <adeep@lexina.in>
2025-12-27 08:15:36 +03:00
..
apt-install.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
apt-sources.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
create-cache.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
customize.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
distro-agnostic.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
distro-specific.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
post-tweaks.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
qemu-static.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
rootfs-create.sh fix(rootfs): unset GIT_FIXED_WORKDIR after debootstrap/mmdebstrap clone (#9132) 2025-12-27 08:15:36 +03:00
rootfs-desktop.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
systemd-utils.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
trap-rootfs.sh chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00