armbian-build/lib/functions/rootfs
Igor Velkov e92c53a03f Include DEST_LANG in rootfs cache hash calculation
The `DEST_LANG` variable affects rootfs cache content (locale is generated via
`locale-gen "${DEST_LANG}"` before cache is packaged), but it was not included in the
cache hash calculation.

This meant that changing `DEST_LANG` would not invalidate the existing cache,
potentially resulting in images with incorrect locale.

Include `DEST_LANG` in the `hash_hooks` calculation in `calculate_rootfs_cache_id()`.

Changes
- `lib/functions/rootfs/create-cache.sh`: Add `LANG=${DEST_LANG}` to the hash input

Result
Changing `DEST_LANG` now properly invalidates rootfs cache, ensuring the correct locale
is generated.
2026-01-08 12:24:18 +01: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 Include DEST_LANG in rootfs cache hash calculation 2026-01-08 12:24:18 +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