mirror of
https://github.com/armbian/build.git
synced 2026-11-28 19:16:37 +00:00
cloud-init's `mounts` module sees the running zram swap that armbian-zram-config sets up and writes a "/dev/zram0 ... swap ... cloudconfig" line into /etc/fstab. On the next boot systemd turns that into a dev-zram0.swap unit that blocks ~90s waiting for /dev/zram0 (created later by armbian-zram-config) before swap.target recovers — a very slow boot every time, seen on the arm64 cloud images. Ship a cloud.cfg.d drop-in that sets the `swap` mount to null, removing cloud-init's default swap mount so it leaves zram/swap to Armbian. Verified against cc_mounts (config is sanitized before de-dup, so the default swap entry is suppressed too). Signed-off-by: Igor Pecovnik <igor@armbian.com> |
||
|---|---|---|
| .. | ||
| config | ||
| defaults | ||
| cloud-init.sh | ||